How to Make Portable/ Jdk Independent Java Program


Introduction: 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



    • Oil Contest

      Oil Contest
    • Make it Move Contest

      Make it Move Contest
    • Casting Contest

      Casting Contest

    We have a be nice policy.
    Please be positive and constructive.




    Interesting, thanks for sharing your work with us!