V
vlenin66
I work on linux.
I have in /usr/local/netbeans-6.0/platform7/modules
the file org-jdesktop-layout.jar
When I try:
$ javac -classpath /usr/local/netbeans-6.0/platform7/modules/org-
jdesktop-layout.jar j*/*.java
it fails:
1. ERROR in javaapplication2/NewJFrame.java (at line 8)
import org.jdesktop.layout.*;
^^^^^^^^^^^^
The import org.jdesktop cannot be resolved
(javaapplication2/NewJFrame.java is a netbeans frame, and I can
compile it
from inside netbeans perfectly, but I can not compile it using javac
from command
line. That is the goal).
I also tried to copy /usr/local/netbeans-6.0/platform7/modules/org-
jdesktop-layout.jar
into /usr/lib/jvm/java-1.5.0-sun-1.5.0.10/jre/lib and /usr/lib/jvm/
java-1.5.0-sun-1.5.0.10/jre/lib/ext,
that dod not help.
What can I do to get it resolved?
Thanks!
I have in /usr/local/netbeans-6.0/platform7/modules
the file org-jdesktop-layout.jar
When I try:
$ javac -classpath /usr/local/netbeans-6.0/platform7/modules/org-
jdesktop-layout.jar j*/*.java
it fails:
1. ERROR in javaapplication2/NewJFrame.java (at line 8)
import org.jdesktop.layout.*;
^^^^^^^^^^^^
The import org.jdesktop cannot be resolved
(javaapplication2/NewJFrame.java is a netbeans frame, and I can
compile it
from inside netbeans perfectly, but I can not compile it using javac
from command
line. That is the goal).
I also tried to copy /usr/local/netbeans-6.0/platform7/modules/org-
jdesktop-layout.jar
into /usr/lib/jvm/java-1.5.0-sun-1.5.0.10/jre/lib and /usr/lib/jvm/
java-1.5.0-sun-1.5.0.10/jre/lib/ext,
that dod not help.
What can I do to get it resolved?
Thanks!