Java program into website
Author |
Message |
iluvchairs112
|
Posted: Wed Jan 09, 2008 4:02 pm Post subject: Java program into website |
|
|
so I created a program in Java that I want to put onto my website. how can I get an executable version of my program? (after it has been compiled, etc.)? |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Dan

|
Posted: Wed Jan 09, 2008 4:28 pm Post subject: RE:Java program into website |
|
|
Noramly you do not compile java to a executable but into byte code (a .class file). This way the .class file can be run on any OS that has a JVM.
So giving them all the class files should be enought for them to run your program. You can also put thess in a jar arachive so they only have one file to deal with.
There are ways to wrap a java program in an exe but i do not recommend it and it goeses agsited alot of the ideas of java. |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
 |
|
|