Results 1 to 9 of 9
Thread: A newbie Java question
- 02-17-2012, 07:26 AM #1
Member
- Join Date
- Feb 2012
- Posts
- 11
- Rep Power
- 0
A newbie Java question
I can make a basic java game and run it using java.exe, I can make the class files into a .jar file and run it, but I can't figure out how to run it the way I want. If you've played minecraft you know that it's launched from an exe, and all the data is read from .jar files, this is basically what I want to do. I want a simple exe window that can display whatever it is that the class files do, and anyone can run it without JDK. I've tried googling several different things but couldn't find anything really helpful, or any information on how minecraft does it. I thought that maybe the exe is written in another language, if this is the case, that's fine because I'm fairly competent with C++ and C#, but I still need to be pointed in the right direction.
Thanks.Last edited by Swick; 02-17-2012 at 07:37 AM.
- 02-17-2012, 11:11 AM #2
Senior Member
- Join Date
- Aug 2011
- Posts
- 248
- Rep Power
- 2
Re: A newbie Java question
So you are trying to run a jar file through an exe(written in any kind of language) am I right?
- 02-17-2012, 12:57 PM #3
Member
- Join Date
- Feb 2012
- Posts
- 11
- Rep Power
- 0
- 02-17-2012, 12:58 PM #4
Re: A newbie Java question
The user should not need the JDK to execute a java program. He would need the JRE.
- 02-17-2012, 01:26 PM #5
Member
- Join Date
- Feb 2012
- Posts
- 11
- Rep Power
- 0
- 02-17-2012, 01:30 PM #6
Re: A newbie Java question
The java.exe program will do that..exe to run and display the .jar file
- 02-17-2012, 01:44 PM #7
Member
- Join Date
- Feb 2012
- Posts
- 11
- Rep Power
- 0
Re: A newbie Java question
That's not what I mean, I want my own exe.
This is how minecraft works: (I'm only using minecraft as an example because it's exactly the set up that I want)
It has the main exe file.
It has a folder containing the .jar files that the game uses.
When you open the exe, the game is displayed in the exe window.
I'm very new to java so I don't really know what to search for.
- 02-17-2012, 03:31 PM #8
Re: A newbie Java question
How do you know that?When you open the exe, the game is displayed in the exe window.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 02-19-2012, 07:58 AM #9
Member
- Join Date
- Feb 2012
- Posts
- 11
- Rep Power
- 0
Similar Threads
-
newbie question: Error: Could not find or load main class Java Result: 1
By ideaman in forum New To JavaReplies: 7Last Post: 01-01-2012, 12:29 PM -
A newbie Java question
By jeftphph in forum New To JavaReplies: 17Last Post: 07-14-2011, 09:56 AM -
Java newbie question on linkedlist index search
By Mjall in forum New To JavaReplies: 5Last Post: 03-25-2011, 10:54 PM -
Probably a newbie question.... :P
By gblax123 in forum New To JavaReplies: 9Last Post: 02-23-2011, 10:21 PM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks