Start a jar with a jar by doubleclick
Hey Guys,
First, sorry for my bad english, i hope you understand what i mean.
Ok, now my problem.
I use e Linux and i like to start an application by double klicking on a jar file. This jar file, does start en other jar file in the same path.
Why i'd like to do this. I the second jar, nead some OS specific options, so i'd like to recognise the os with de first jar. After that, id like to starte de Second with Runtime.getRuntime().exec("java -Djava.library.path=bla -jar second.jar");
When i start the first jar in e console, it works fine, but if i double klick it doesn't work. I find out, that, the double klicked jar starts in the home path, but i ned the path, where the double klicked jar is laying because the second is in the same path.
Thanks for your help
Gepi

