February 11th, 2014, 04:37 PM
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?
February 11th, 2014, 04:57 PM
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?
February 12th, 2014, 07:17 AM
Can you explain that also? What problems are there executing jar files on Linux?