basicv2 icon indicating copy to clipboard operation
basicv2 copied to clipboard

Running mospeed.sh outside its own directory causes Java exception

Open bastetfurry opened this issue 3 months ago • 1 comments

Running the shell script mospeed.sh outside of its own directory causes an exception:

➜  c64 ~/Programme/basicv2-master/dist/mospeed.sh
Fehler: Hauptklasse com.sixtyfour.cbmnative.shell.MoSpeedCL konnte nicht gefunden oder geladen werden
Ursache: java.lang.ClassNotFoundException: com.sixtyfour.cbmnative.shell.MoSpeedCL

Setting the directory in the shell script solves this, but that isn't a very nice OOTB experience, you might want to investigate that.

My current mospeed.sh:

java -Xmx768m -cp ~/Programme/basicv2-master/dist/basicv2.jar:~/Programme/basicv2-master/dist/basicv2.jar com.sixtyfour.cbmnative.shell.MoSpeedCL $@

bastetfurry avatar Oct 21 '25 17:10 bastetfurry