Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

is it possible to run a .jar file without having JVM/JRE installed?

807601Feb 14 2008 — edited Feb 20 2008
is it possible to run a .jar file without having to install the JVM/JRE to the machine? i created an executable .jar file that has classes that extends JFrame, and its stored in my USB flash drive, and i created a autorun.inf that executes this .jar file, but it only works when JVM/JRE is installed i the PC. What i hope to accomplish is to copy relevant Java files,(only those files i need to run windows or JFrames), into my USB and run my executable .jar file using the said Java files. is that even possible? thanks for the help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 19 2008
Added on Feb 14 2008
6 comments
2,639 views