English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am pretty new to Java and have a program with 4 different classes and want to turn it into an executable so i can use the program without the compiler. I am currently using BlueJ and a IDE.

2007-12-10 01:05:30 · 5 answers · asked by mrada6 2 in Computers & Internet Programming & Design

5 answers

To convert a class file to an exe I use a program called Java Launcher.

http://www.download.com/Java-Launcher/3000-2417_4-10497554.html?tag=lst-1

2007-12-10 02:01:11 · answer #1 · answered by Anonymous · 0 0

Java Executable File

2016-10-15 12:10:27 · answer #2 · answered by ? 4 · 0 0

Java uses executable JAR files. In your IDE, you should have an option to build, compile, deploy, etc. This should create an JAR file that is executable and put it someone in your file system. Most IDE's have a release, bin, deploy folder to store the compiled JARs. The JAR files contain all your compiled classes, resources, and any other things that are included in your project. If you want the windows ".EXE" extension for your files, then C++ has some wrapper libraries for creating .EXE files from JAR files.

2007-12-10 01:16:09 · answer #3 · answered by mox1315 3 · 1 0

You have only the runtime version of Java (the JRE)--you need to also download the Java Development Kit (JDK), which has the javac and jar applications, as well as the language libraries you need. Or perhaps you already do have the JDK installed, but it's not on your path (if you're using Windows or Linux).

2016-03-14 06:43:15 · answer #4 · answered by Anonymous · 0 0

You cannot create an exe file but you can create a jar file.
You need to have the right info in the manifest file to make it work.

2007-12-10 01:16:08 · answer #5 · answered by AnalProgrammer 7 · 1 0

fedest.com, questions and answers