Results 1 to 6 of 6

Thread: How to create setup file

  1. #1
    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.

  2. #2
    Join Date
    May 2008
    Posts
    2,297

    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. #3
    Join Date
    Apr 2008
    Posts
    1,948

    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. #4
    Join Date
    May 2008
    Posts
    2,389

    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.

  5. #5
    Join Date
    Jan 2008
    Posts
    1,521

    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. #6
    Join Date
    Apr 2008
    Posts
    1,948

    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.

Similar Threads

  1. Replies: 2
    Last Post: 27-08-2011, 10:30 PM
  2. How to use a setup log file to troubleshoot Office Setup?
    By Sabastiaan in forum Windows Software
    Replies: 5
    Last Post: 24-03-2010, 05:03 AM
  3. Replies: 1
    Last Post: 17-07-2009, 07:09 PM
  4. Replies: 3
    Last Post: 01-07-2009, 03:20 PM
  5. Replies: 4
    Last Post: 23-04-2009, 09:59 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,723,591.30054 seconds with 17 queries