#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2014
    Posts
    1
    Rep Power
    0

    Unhappy Converting .exe to .jar


    So, having a bit of an issue with this and I honestly don't even know where to go.

    I have two jars, and I need those two to be ran by opening one jar, but I can't use executable jars because I'm having to run it on Linux, and it can't use any other form of starting it other then a jar file. Sucks right? Anyways I converted a .bat file to a .exe, and I read online you can convert it to a .jar, but I couldn't figure out how, any suggestions?
  2. #2
  3. Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    May 2004
    Location
    Superior, CO, USA
    Posts
    2,418
    Rep Power
    1712
    I'm not sure I understand what you're doing - jar -> bat -> exe -> jar? Why did you need to convert a batch file to an executable file? Presumably the batch file ran the Java command and passed the jar files as part of the arguments to the java command. In Linux you can do the same concept by creating a shell file.

    Can you elaborate a bit more on what you're trying to do?
  4. #3
  5. Contributing User
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Aug 2010
    Location
    Eastern Florida
    Posts
    3,696
    Rep Power
    347
    I can't use executable jars because I'm having to run it on Linux,
    Can you explain that also? What problems are there executing jar files on Linux?

IMN logo majestic logo threadwatch logo seochat tools logo