Java errors on mac installation preventing PLPTool from running

17 views
Skip to first unread message

Sohum Sohoni

unread,
Oct 11, 2017, 2:46:27 PM10/11/17
to progressive-learning-platform
I just installed PLPTool on my MacBook running macOS High Sierra. On my first try running PLPTool from the terminal, I got an error "To use the "java" command-line you need to install a JDK". I had just installed java on my laptop, and upon investigation, I came to a page about this error: https://java.com/en/download/faq/yosemite_java.xml 
The recommended solution for this is to install Java 6 from the page: https://support.apple.com/kb/DL1572?locale=en_US
After installing the java version supplied by Apple, I got the following error when I tried to launch PLPTool from the terminal command line:

en4144653:sw sohumsohoni$ java PLPTool

Exception in thread "main" java.lang.NoClassDefFoundError: PLPTool

Caused by: java.lang.ClassNotFoundException: PLPTool

at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

at java.lang.ClassLoader.loadClass(ClassLoader.java:247)


Has anyone had similar issues? Any solution to this will be appreciated.

Sohum

Sohum Sohoni

unread,
Oct 13, 2017, 12:56:52 PM10/13/17
to progressive-learning-platform
Hah! Nevermind. I forgot to type in -jar in my command. As listed in the manual, the command for running PLPTool is java -jar PLPToolStatic.jar
Sohum
Reply all
Reply to author
Forward
0 new messages