C Cassie Member Licensed User Longtime User Sep 26, 2017 #1 Hi Guys, Anyone has an idea how to run a jar application on mac. Any help would be appreciated. Thanks in advance.
Hi Guys, Anyone has an idea how to run a jar application on mac. Any help would be appreciated. Thanks in advance.
R rboeck Well-Known Member Licensed User Longtime User Sep 26, 2017 #2 Start the terminal, type "java -jar yourjar.jar". Example and more detailed:https://www.b4x.com/android/forum/threads/remote-debugging-with-b4j-bridge.38804/#content Upvote 0
Start the terminal, type "java -jar yourjar.jar". Example and more detailed:https://www.b4x.com/android/forum/threads/remote-debugging-with-b4j-bridge.38804/#content
C Cassie Member Licensed User Longtime User Sep 26, 2017 #3 I'll try this one.. thanks rboeck.. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Sep 26, 2017 #4 If Java is installed then you can double click on the jar. You might need to right click on it and choose open as it is not signed. You can also build a DMG package. Upvote 0
If Java is installed then you can double click on the jar. You might need to right click on it and choose open as it is not signed. You can also build a DMG package.
jmon Well-Known Member Licensed User Longtime User Sep 26, 2017 #5 rboeck said: Start the terminal, type "java -jar yourjar.jar". Example and more detailed:https://www.b4x.com/android/forum/threads/remote-debugging-with-b4j-bridge.38804/#content Click to expand... Note: you need to install JDK to be able to use command line arguments. Upvote 0
rboeck said: Start the terminal, type "java -jar yourjar.jar". Example and more detailed:https://www.b4x.com/android/forum/threads/remote-debugging-with-b4j-bridge.38804/#content Click to expand... Note: you need to install JDK to be able to use command line arguments.
OliverA Expert Licensed User Longtime User Sep 26, 2017 #6 jmon said: install JDK Click to expand... If the intend is to just run the application (not developing applications on the Mac), then the JRE should do (here or here). Upvote 0
jmon said: install JDK Click to expand... If the intend is to just run the application (not developing applications on the Mac), then the JRE should do (here or here).
andrewopl New Member Mar 16, 2023 #7 Run the JAR file on the command line or terminal window if a double-clicking fails. There is also a good way described here: https://mac.eltima.com/how-to-open-jar-file-mac.html Upvote 0
Run the JAR file on the command line or terminal window if a double-clicking fails. There is also a good way described here: https://mac.eltima.com/how-to-open-jar-file-mac.html