Reputation: 75
I am unable to link java classes when using the rascal shell interpreter. This the error message that I receive:
unexpected error: Cannot link method org.my.MyClass because: class not found
Using Eclipse's rascal shell works. Tried with both stable (0.8.0.201510190912) and unstable (0.8.0.201606061752) versions
Upvotes: 1
Views: 138
Reputation: 6696
I assume you are running the release jar using java -jar rascal-<version>.jar
, then the only safe way I know how is to pack your Rascal sources and the necessary class files into the jar with the rest of Rascal. You might also try and extend the java classpath with the -cp
option to java
.
Upvotes: 1