javac ./Javimapper.java
java ./Javimapper
Exception in thread "main" java.lang.NoClassDefFoundError: ./Javimapper
I eventually fixed the problem by referring to the following website:
http://www.cs.princeton.edu/introcs/11hello/linux.html
Upon reading the webpage above, I simply typed in the following and I was able to compile and run the program just fine:
java -classpath ./ Javimapper
No comments:
Post a Comment