Closed bsmithlea closed 6 years ago
-classpath /Applications/jGnash-2.33.1/lib
Will alter the classpath and prevent loading. Try removing it as it should not be necessary.
So then should this part of the README be changed? It is the recommendation to create an AppleScript file.
try do shell script "/System/Library/Frameworks/JavaVM.framework/Versions/1.8.0/Home/bin/java -classpath /Applications/jGnash/lib -jar /Applications/jGnash/lib/jgnash-fx-x.jar" end try
Also, I am able to launch jGnash now. But only after upgrading to the latest JDK 8 (update 151). Update 60 is not recent enough.
Agreed... ancient instructions. Did removal of the class path solve the launch issue?
Actually no. The only thing that works is this Terminal command (after installing Java SE 8u151).
/Applications/jGnash/jGnashFx
Double clicking the same script does not work.
I don't have access to OSX, so I apologize for the ignorance. The shell script is doing the job, but can you recommend a friendlier way of calling the shell script?
MacOSX 10.13.1
java -version
Steps to reproduce
java -classpath /Applications/jGnash-2.33.1/lib -jar /Applications/jGnash-2.33.1/lib/jgnash-fx-2.33.1.jar
(I tried the swing version too, but same error)