|
|
|
|
![]() ![]() |
Aug 20 2006, 07:12 PM
Post
#11
|
|
|
Way Out Of Control - You need a life :) Group: Members Posts: 1,366 Joined: 14-September 04 From: Nottingham England Member No.: 570 |
To Answer the origonal question: "How To convert java source code into an executable (.exe)" The Answer is simple, Compile it ! ( just like any c/c++ source code ) i dont think SUN have a native java compiler ( javac convers the source to bytecode, to be later run by an interprever ( java )) However, native java compilers do exist. For Example GCJ ( part of GCC, the GNU Compiler Collection ) Nativly compiling a java application has its advanatges, for example, you dont need to have JRE installed, but you lose the abbility to "compile once, run on any operating system" good luck. |
|
|
|
Feb 26 2008, 11:37 AM
Post
#12
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 0 Joined: 1-November 07 Member No.: 25,869 |
how to connect an .EXE file through java environment
How To Create Exe File In Java? Hello friends, I want to connect an EXE file of cisco software PACKET TRACER using java program, if anyone of you have an idea then please share with me. Thanks -question by vidhu jauhri |
|
|
|
Mar 15 2008, 09:23 PM
Post
#13
|
|
|
Premium Member Group: [HOSTED] Posts: 286 Joined: 17-June 07 From: Tasmania Member No.: 22,699 |
The way i use is a program called JSmooth
dont know the website but you can just goooogle it It takes all the class files and packages them in an exe file, and when executed searches for the JVM, so you still need to have the JVM on the users computer, but it also has an option to include the JVM ( that would be a big file ) anyways check it out, might suit your needs as long as ur programs arent too big.... note: i think there is a big in there, you might have to put all ur class files in jar files and have it read them from the jar file for it to work correctly, you might even have to set up the manifest in the jar file to make it be able to execute as a jar if you want it to execute as an exe, not sure though you should test around with it I dont even know what he means by that Lol |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 11th October 2008 - 04:13 AM |