var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: command line compilatioin error
Dear Forums members:
I instralled jdk and xmljar file on my C drive. I put xml file and a batch file
called wellformed in the same directory. I dragged and dropped two file into command line, then the following
error message showed up:
Exception in thread "main" java.lang.NoClassDefFoundError: dom/Counter."
I don't know what I did wrong, please give me some advise so I can compile my xml file. I appreciate your help
javac -sourcepath "fullPathToMyJavaFolder" -classpath "myjarfile.jar" myJavaSource.java
The error that you received is because compiler can't find some of your classes. With option -classpath you indicates explicitly the path to the classes. -sourcepath indicates where .java files are located.