Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » using jsse classes from a plug-in
using jsse classes from a plug-in [message #128035] Fri, 12 September 2003 05:57 Go to next message
Eclipse UserFriend
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 #130892 is a reply to message #128035] Wed, 17 September 2003 10:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: John_Arthorne.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
>
>
Re: using jsse classes from a plug-in [message #135096 is a reply to message #130892] Wed, 24 September 2003 10:48 Go to previous message
Eclipse UserFriend
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
> >
> >
>
Previous Topic:Custom error dialog
Next Topic:Plug-In startup(?) problem
Goto Forum:
  


Current Time: Sat Jun 07 21:33:20 EDT 2025

Powered by FUDForum. Page generated in 0.24377 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top