Skip to content

Running mospeed.sh outside its own directory causes Java exception #68

@bastetfurry

Description

@bastetfurry

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 $@

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions