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.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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

Be the First to Share

    Recommendations

    • LED Strip Speed Challenge

      LED Strip Speed Challenge
    • Sculpting Challenge

      Sculpting Challenge
    • Clocks Contest

      Clocks Contest

    Discussions