Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to create setup file

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 15-01-2010
Member
 
Join Date: Dec 2009
Posts: 192
How to create setup file
  

Hello everyone,
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.

Reply With Quote
  #2  
Old 15-01-2010
Member
 
Join Date: May 2008
Posts: 2,290
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.
Reply With Quote
  #3  
Old 15-01-2010
Member
 
Join Date: Apr 2008
Posts: 1,947
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.
Reply With Quote
  #4  
Old 15-01-2010
Member
 
Join Date: May 2008
Posts: 2,382
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
Reply With Quote
  #5  
Old 15-01-2010
Member
 
Join Date: Jan 2008
Posts: 1,515
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.
Reply With Quote
  #6  
Old 15-01-2010
Member
 
Join Date: Apr 2008
Posts: 1,947
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 05:54 AM.