How to Make Portable/ Jdk Independent Java Program

Intro: How to Make Portable/ Jdk Independent Java Program

Hellow Everyone, I wanted to make portable java program which I could run on any machine(without jdk or jre). So after conducting few experiments I maded a package which can runBasic java classes on any windows machine in the absense of jdk/jre.

Step 1:

download the archive given below

click here

Step 2:

Extract the archive any where.

Step 3:

Copy your java classes to bin folder.

Note- The first letter of your class name must be capital

Step 4:

Now we need to edit run.bat. Just right click it and select edit. Now enter name of your class in it and save it.

Step 5:

Your program has been created. Just double click run.bat to execute your program

Share

    Recommendations

    • Audio Contest 2018

      Audio Contest 2018
    • Fix It! Contest

      Fix It! Contest
    • Metalworking Contest

      Metalworking Contest

    Discussions