Results 1 to 6 of 6
Thread: Making application run by itself
- 06-13-2009, 04:57 PM #1
Member
- Join Date
- Dec 2007
- Posts
- 21
- Rep Power
- 0
Making application run by itself
Hello all I am try to make the game I program run by itself without needing my Java compiler.
Here is some information that may be useful to know
Its a Class with 7 other classes going into it
I used AudioChip so I need to make sure I have my wav file (and its still not a Applet)
I imported Images so I am going to need them
I use Bluej as my compiler which i know can make a jar file but they never work.
- 06-13-2009, 05:56 PM #2
First of all, BlueJ is an IDE, not a compiler.
Secondly, you never run a Java program with a compiler - you compile with a compiler.
Thirdly, every Java program requires a JVM to be installed in order to run.
With all this in mind, you can make an executable jar using the jar command. Lesson: Packaging Programs in JAR Files (The Java™ Tutorials > Deployment)Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
How To Ask Questions The Smart Way
- 06-13-2009, 06:41 PM #3
Member
- Join Date
- Dec 2007
- Posts
- 21
- Rep Power
- 0
Well I have look at that page you just link me before but I don't understand on how to make a jar file even with the guide help like what program do I need to make one.
- 06-13-2009, 06:59 PM #4
The command line program "jar" that comes with the java development kit (JDK). If you're using BlueJ then it should already be installed somewhere.
Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
How To Ask Questions The Smart Way
-
Perhaps if you look into this further, why you can't get BlueJ to help make Jar files, you'll be able to solve this matter. Making Jars is one reason I like Eclipse.I use Bluej as my compiler which i know can make a jar file but they never work.
- 06-13-2009, 07:05 PM #6
Member
- Join Date
- Dec 2007
- Posts
- 21
- Rep Power
- 0
Similar Threads
-
Making Documentation
By Adam Cruge in forum New To JavaReplies: 6Last Post: 04-11-2009, 07:02 PM -
Help making table
By jls7168 in forum New To JavaReplies: 2Last Post: 01-26-2009, 03:53 PM -
Making Java Application Executable
By jadaleus in forum Advanced JavaReplies: 4Last Post: 10-23-2008, 12:59 PM -
Making triangle
By banie in forum New To JavaReplies: 4Last Post: 02-02-2008, 11:23 AM -
Help with making this algorithm better
By RLRExtra in forum New To JavaReplies: 6Last Post: 01-17-2008, 04:11 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks