| | |
Creating a .EXE file
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
•
•
Originally Posted by jwenting
The native exe option is just an exewrapper to facilitate easier starting of the application.
It still needs an installed JVM on the target machine.
Effectively it's little more than a glorified batchfile
This is the normal way for Java.
If its a GUI app .. and its like running and disappearing ... then you should check your constructor code ... there must be some mistake there.
nanosani,
thanx for ur help. i dont think there's an error in my constructor code, but in case there is, what kind of error would it be? Also, what's that option in JBuilder you mentioned earlier?
Last, is there anyother way 2 make it executable w/out an exe file? I know you said JWS, but i dont really understand it so can u plz maybe help me out???
Thanx.
thanx for ur help. i dont think there's an error in my constructor code, but in case there is, what kind of error would it be? Also, what's that option in JBuilder you mentioned earlier?
Last, is there anyother way 2 make it executable w/out an exe file? I know you said JWS, but i dont really understand it so can u plz maybe help me out???
Thanx.
I have used JBuilder 7 ... so I'm afraid I'll not be able to tell you the exact paths .... but I remember that the first option in the native exe builder was the dos based program creation and then second one was the windows based one ... and then others for mac linux etc ... you'll have to check the second one ...
There are other tools for building exe of java programs ... you can search google for the tools..
You can also make a small C program that executes your java files ...
There are other tools for building exe of java programs ... you can search google for the tools..
You can also make a small C program that executes your java files ...
when i run it using the CP, it loads the frame, but it's blank (at least the canvas part). In CP, it says there's a NullPointerException. That doesnt make sense because when I run it in JBuilder it compiles perfectly - with no exceptions.
Do you know what could be causing this?
The code is all online: here's the website:
www.planetalia.com/cursos/index.jsp
Thanks again.
Do you know what could be causing this?
The code is all online: here's the website:
www.planetalia.com/cursos/index.jsp
Thanks again.
Unfortunately I no longer do programming ... but I do remember that I saw the c++ code in the famous ebook "330 java tips" (now a more advanced version is available named "1000 java tips" but its not free)... you can hunt it down on google. The author's website is http://www.javafaq.nu ..
![]() |
Similar Threads
- Creating .EXE File (ASP.NET)
- Creating an exe file (C++)
- creating a .exe file of a web application (JSP)
Other Threads in the Java Forum
- Previous Thread: A note of thanks to Daniweb
- Next Thread: Alternative to PrintWriter
| Thread Tools | Search this Thread |
-xlint android api applet application array arrays automation bi binary blackberry block bluetooth chat class classes client code compile compiler component database developmenthelp draw eclipse error event exception fractal freeze game gameprogramming givemetehcodez graphics gui html ide image input integer j2me j2seprojects java javac javaprojects jetbrains jni jpanel jtable julia learningresources lego linux list login loop loops mac map method methods mobile netbeans newbie notdisplaying number online oracle page print problem program programming project qt recursion scanner screen server set singleton size sms sort sql string swing system template textfields threads time title tree tutorial-sample update variablebinding windows working xor







