| | |
How to create an exe for a Java application
![]() |
•
•
Join Date: Aug 2005
Posts: 216
Reputation:
Solved Threads: 8
There is no direct way to make a .exe for running a java file.
The way i prefer to make a clickable icon or link for starting a java application is through a .bat file.
here is an example:
That should be close enough for you to figure it out from there.
Regards,
Nate
The way i prefer to make a clickable icon or link for starting a java application is through a .bat file.
here is an example:
Java Syntax (Toggle Plain Text)
set cp = c:/java/jre/lib/rt.jar; set cp = cp;<other class path info...> java -cp cp <then your class name>
That should be close enough for you to figure it out from there.
Regards,
Nate
They're in fact really easy to make...
Just read the instructions which are clear, all you need is a single line of text in your manifest file, how hard can that be?
If you're too dumb or lazy to create that, there's no hope for you in the industry and we're better off without you.
Just read the instructions which are clear, all you need is a single line of text in your manifest file, how hard can that be?
If you're too dumb or lazy to create that, there's no hope for you in the industry and we're better off without you.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
yup, and so can ANT and other build tools. But of course you need to learn how to use them and if someone is too lazy or stupid to read the documentation for the jar command I don't expect them to read the documentation for ANT or an IDE either.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
•
•
Join Date: Jun 2004
Posts: 609
Reputation:
Solved Threads: 7
Hi everyone,
See the below link on creating executable jar archives
http://www.wizardsolutionsusa.com/fo...read.php?t=100
Richard West
See the below link on creating executable jar archives
http://www.wizardsolutionsusa.com/fo...read.php?t=100
Richard West
Microsoft uses "One World, One Web, One Program" as a slogan.
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond
Tell me what type of software do you like and what would you pay for it
http://www.daniweb.com/techtalkforums/thread19660.html
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond
Tell me what type of software do you like and what would you pay for it
http://www.daniweb.com/techtalkforums/thread19660.html
![]() |
Similar Threads
- How to run external .exe programs from java (Java)
- how to create a exe file in visual C++ (C++)
- How to hide an java application (Java)
- Create an Access Database using Java (Java)
- Can any one help me with java application (Java)
- Java Executable? (Java)
- Adapting a Java Application to JSP/Servlets (Java)
Other Threads in the Java Forum
- Previous Thread: Action Event help
- Next Thread: how to copy a file from one machine to another using beans?
| Thread Tools | Search this Thread |
911 addball addressbook android api append applet application apps array arrays automation binary bluetooth businessintelligence button card character class client code collision component crashcourse css csv database eclipse ee error fractal free game gis givemetehcodez graphics gui html ide image integer integration j2me japplet java javaarraylist javadoc javafx javaprojects jni jpanel julia jvm linux list loan machine map method methods migrate mobile netbeans newbie objects oriented output panel phone physics problem program programming project projects radio recursion replaydirector reporting researchinmotion scanner se server service set sms software sort sql string swing test textfield threads transfer tree trolltech ubuntu utility windows






