Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Running .jar Files without JDK installed(JDK is not installed, but existing as directory.)
icon5.gif  Running .jar Files without JDK installed [message #1709198] Thu, 24 September 2015 19:58 Go to next message
Unknown User is currently offline Unknown UserFriend
Messages: 5
Registered: September 2015
Junior Member
Hey everyone,

I want to make Jar Applications, but I dont want to install Java.

Now I thought: Can't i make a runnable jar File, put the JDK Directory to it, and make e.g. a Batch File wich starts it?

In CMD the command java -jar file.jar works only if Java is installed, but can't I manually say were java is?

And I dont want to make the Path Variable to java Confused
Re: Running .jar Files without JDK installed [message #1709266 is a reply to message #1709198] Fri, 25 September 2015 13:07 Go to previous message
Erick Hagstrom is currently offline Erick HagstromFriend
Messages: 107
Registered: April 2014
Location: USA
Senior Member
This forum is for Eclipse Java Development Tools. General Java questions are off topic. You might want to try Stack Overflow.
Previous Topic:Error With Android Old Key
Next Topic:Cloning All Menus from Parent
Goto Forum:
  


Current Time: Wed Apr 24 17:11:46 GMT 2024

Powered by FUDForum. Page generated in 0.03229 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top