Skip to content
Advertisement

Tag: classpath

How to set CLASSPATH in Linux to let java find jar file?

Under Linux I am trying to run a jar file as follows: while having CLASSPATH set to any of the following (the file is located at /home/user/plantuml.jar): In either case, no matter how I define CLASSPATH, the java command gives an error Unable to access jarfile plantuml.jar. What am I doing wrong here? Answer You have to supply the complete

Advertisement