using jsse classes from a plug-in [message #128035] |
Fri, 12 September 2003 05:57  |
Eclipse User |
|
|
|
Originally posted by: sddg.yahoo.com
I run Eclipse.exe with default java 1.4.2
but my plug-in fails to load javax.net and other jsse classes although the
jsse.jar file is in the system classpath.
Interesting enough, when I run eclipse from the PDE run-time launch
everything is fine.
Setting the following exe options doesn't help:
eclipse.exe -vm d:\javavm\jdk_1_4_2\jre\bin\java -vmargs -classpath
d:\javavm\jdk_1_4_2\jre\lib\jsse.jar
|
|
|
|
Re: using jsse classes from a plug-in [message #135096 is a reply to message #130892] |
Wed, 24 September 2003 10:48  |
Eclipse User |
|
|
|
Originally posted by: sddg.yahoo.com
"The boot classpath
typically just contains the JRE's JARs, such as rt.jar"
Well, this is not true - in java 1.4.x the boot classpath contains rt.jar,
jsse.jar and some other SUN libraries
"John Arthorne" <John_Arthorne@oti.com_> wrote in message
news:3F686D2A.1080307@oti.com_...
> What exactly do you mean by the system classpath? Java has a "boot
> classpath", and an "application classpath". The boot classpath
> typically just contains the JRE's JARs, such as rt.jar. It can usually
> be extended using a VM argument (see your VM's -X documentation for more
> details). The application classpath contains the contents of the "-cp"
> or "-classpath" argument. This classpath is completely ignored in
> Eclipse. So, if the JAR you need is not on the bootclasspath, you need
> to add it using the -X argument, or wrap the JAR in a plugin and add it
> to your plugin requires.
> --
>
> Sui Ma wrote:
> > I run Eclipse.exe with default java 1.4.2
> >
> > but my plug-in fails to load javax.net and other jsse classes although
the
> > jsse.jar file is in the system classpath.
> >
> >
> >
> > Interesting enough, when I run eclipse from the PDE run-time launch
> > everything is fine.
> >
> >
> >
> > Setting the following exe options doesn't help:
> > eclipse.exe -vm d:\javavm\jdk_1_4_2\jre\bin\java -vmargs -classpath
> > d:\javavm\jdk_1_4_2\jre\lib\jsse.jar
> >
> >
>
|
|
|
Powered by
FUDForum. Page generated in 0.24377 seconds