|
| ||||||||||
| Tags: class file, jar file, java, programming language, setup file, setupfile in netbeans, source code |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| How to create setup file
I would like to know how to create software, I already made my code written in Java and run it successfully (I use Netbeans as software) .I want to know is how to create a setup file.. Thank you in advance for your help. |
|
#2
| ||||
| ||||
| Re: How to create setup file
Hello, I did not understand, what exactly you want. Want to know how to create your software, then you already have the sources and the executable. So you already have operational software (executable). If you want to edit, since you are using Netbeans, you can do it. There is documentation on the sun java official site, about how to execute a file. |
|
#3
| ||||
| ||||
| Re: How to create setup file
Hello, I understand, I think you want to run your program without using Netbeans as an executable (the. exe windows for example). When you compile your Java code in Netbeans, there are class files that have been created which contains the pseudo code used by the Java virtual machine for your operating system. The program is executable on windows by the java command (see help for use) if the JVM is installed. A batch file will then launch the program of a clique. If not, there are windows utilities to create an EXE from a java program but then you lose in portability. |
|
#4
| ||||
| ||||
| Re: How to create setup file
Hello I think you should easily find tutorials over there on the Net. Anyway to create your batch file, create a new text file named example.bat you can edit with notepad. There is enter the right java commands in it, I think this is the easiest way to to a java file executable, though it will not on any other operating system other that windows, I think for linux you have to create a shell program for the similar results.
__________________ The FIFA Manager 2009 PC Game |
|
#5
| ||||
| ||||
| Re: How to create setup file
Hello, When you make a program in JAVA, you make. JAR files. In any case you made. Bat file, as you feel comfortable, both will give the same out put. FYI the batch (. Bat) is with a simple Notepad. And they used to automate some tasks. But if you want that your java application should run on multiple platforms then you should go for jar file. |
|
#6
| ||||
| ||||
| Re: How to create setup file
Hello, Just for info, the bat file is just to automate the launching of the java file. Instead of typing java myprog, putting this command in a batch file that simplifies the launch (especially if there are options to save as or-jar-classpath ...) You can even try to create a jar file, yes, one benefit is that you can run it on multiple operating systems. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "How to create setup file" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to create your own setup file with Microsoft Windows XP | Rajni | Operating Systems | 2 | 27-08-2011 10:30 PM |
| How to use a setup log file to troubleshoot Office Setup? | Sabastiaan | Windows Software | 5 | 24-03-2010 05:03 AM |
| How to setup File Replication Service and Distributed File System in Windows 2003 | Computer_Freak | Tips & Tweaks | 1 | 17-07-2009 07:09 PM |
| Error reading setup initialization file for Maple Story Setup | Saaz | Windows Software | 3 | 01-07-2009 03:20 PM |
| Setup Error: Failed to load resources from resource file Please check your setup | dalsandhu | Operating Systems | 4 | 23-04-2009 09:59 AM |