![]() I'm going crazy! Why if I run the script in the console it works well while if I run the same script with double click the java application run but don't work the p = Runtime.getRuntime(). ![]() Java -jar /home/usertest/java/testpad.jar I have tried also to put in Exec=/home/usertest/java/script.sh where in the script there is: #!/bin/bash Download links for the latest version are below. It allows you to have multiple, cleanly separated instances of Minecraft (each with their own mods, resource packs, saves, etc) and helps you manage them and their associated options with a simple and powerful interface. This is the code of my launcher: #!/usr/bin/env xdg-openĮxec=java -jar /home/usertest/java/testpad.jar MultiMC is an alternative launcher for Minecraft. The strange thing is that the script shell, if it launched alone, works well but when it is launched from the launcher icon not. I have created the launcher both as "Application" both as "Application Console" I have putted in the "command line" the entire path (java -jar /home/user/java/program.jar) finally I have tried to create the launcher connected not at the jar application directly but a script shell that contains the command for run the program (java -jar /home/user/java/program.jar) but never. Now, when I run the jar application from its position all is well but when I run the launcher icon on the desktop, the jar application run but not the console application. ![]() The problem is that my jar application run a console application. The jar application is locate in a subdirectory of home user (/home/user/java). I must create a launcher on the Desktop for a jar application. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |