Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

javx.jnlp doesnt exist ... again

843802Oct 10 2006 — edited Oct 11 2006
I'm having problems importing the javax.jnlp files. I read previous solutions in this forum and haven't fixed it. Working on XP.

Compiling the .java file the error message is always:
package javax.jnlp does not exist.
import javax.jnlp.*;
^
I've tried a couple of references to the jar file. There are several javaws.jar files in the Java directories and they seem to have the relevant commands I need from using 'jar tf'. I've tried extracting the files from the jar to the local directory and several other solutions and I'm running out of ideas. Right now the classpath is set with:
C:\Program Files\java\jdk1.5.0_05\bin
C:\Program Files\Java\jdk1.5.0_05\jre\lib\javaws.jar

This should be the correct reference. Is there a simple rookie mistake here? Typo?
I've solved all the other problems in my first java app here and this one has stopped me.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 8 2006
Added on Oct 10 2006
1 comment
596 views