I made a Java application which runs another Java code using the java -cp "xxx.jar;xxx.jar" net.minecraft.client.main.Maincommand. The ; (or :depending on the OS) between the two JAR of the classpath is provided by the System.getProperty("path.separator") function.
On Windows it works fine, but not on Mac OS. Java says it cannot find or load main class net.minecraft.client.main.Main. I checked, the JARS of the classpath are correctly spelled and existing on the hard drive at the proper path.
Here is the whole command (/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java is the path to the Java executable) :
Could you help me ? I am NOT requiring help on how to play Minecraft, it is not the official launcher (it is one I've made, which obviously doesn't work on Mac OS), so don't tell me to ask help at Minecraft Forums :P
Thanks !
System.getProperty("path.separator")