Introduction: How to Make Portable/ Jdk Independent Java Program

Picture of 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:

Picture of

Extract the archive any where.

Step 3:

Picture of

Copy your java classes to bin folder.

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

Step 4:

Picture of

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


seamster (author)2014-12-20

Interesting, thanks for sharing your work with us!

About This Instructable




More by md.zaid.58760:How to make Portable/ Jdk Independent java program
Add instructable to: