clulab / reach

Reach Biomedical Information Extraction
Other
97 stars 39 forks source link

cannot run javac #729

Closed sateeshperi closed 3 years ago

sateeshperi commented 3 years ago

[error] (processors / Compile / compileIncremental) java.io.IOException: Cannot run program "javac" (in directory "/xdisk/sateesh/reach"): error=2, No such file or directory

enoriega commented 3 years ago

I think there is a problem in the configuration of your environment. I assume you're trying to run on the HPC. Have you tried running module load java/1.8 in your script before calling sbt?

sateeshperi commented 3 years ago

hi @enoriega this is the jdk available on the node


openjdk version "1.8.0_262"
OpenJDK Runtime Environment (build 1.8.0_262-b10)
OpenJDK 64-Bit Server VM (build 25.262-b10, mixed mode)```
enoriega commented 3 years ago

Thinking about it, you shouldn't need to compile reach in the HPC. Please try building a "fatjar" in your work station by running: sbt assembly

Then upload it to the HPC and run

$ java -jar reach-1.6.3-SNAPSHOT-FAT.jar