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.
download the archive given below
Extract the archive any where.
Copy your java classes to bin folder.
Note- The first letter of your class name must be capital
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.
Your program has been created. Just double click run.bat to execute your program