Beja Expert Licensed User Longtime User May 23, 2025 #1 What does it mean if a jar file can only be executed from inside the IDE after compilation, not from the Objects' folder? When I tried to open and execute it from outside the IDE environment nothing happens. ?
What does it mean if a jar file can only be executed from inside the IDE after compilation, not from the Objects' folder? When I tried to open and execute it from outside the IDE environment nothing happens. ?
cklester Well-Known Member Licensed User May 23, 2025 #2 If your jar file does not execute, it probably means Windows doesn't know to use Java to run it. You might have to make that association. You can also optionally "Build Standalone Package," which then creates an exe file. Upvote 0
If your jar file does not execute, it probably means Windows doesn't know to use Java to run it. You might have to make that association. You can also optionally "Build Standalone Package," which then creates an exe file.
Johan Schoeman Expert Licensed User Longtime User May 24, 2025 #3 Beja said: What does it mean if a jar file can only be executed from inside the IDE after compilation, not from the Objects' folder? When I tried to open and execute it from outside the IDE environment nothing happens. ? Click to expand... What Java are you using Go to the folder and then to the DOS prompt (cmd). Type javac -jar filename.jar and press Enter Upvote 0
Beja said: What does it mean if a jar file can only be executed from inside the IDE after compilation, not from the Objects' folder? When I tried to open and execute it from outside the IDE environment nothing happens. ? Click to expand... What Java are you using Go to the folder and then to the DOS prompt (cmd). Type javac -jar filename.jar and press Enter
P PaulMeuris Well-Known Member Licensed User May 24, 2025 #4 In this thread you had java version 8 installed. It works differently with newer java versions. https://www.b4x.com/android/forum/t...annot-run-from-objects-folder.122910/#content Upvote 0
In this thread you had java version 8 installed. It works differently with newer java versions. https://www.b4x.com/android/forum/t...annot-run-from-objects-folder.122910/#content