Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » Problems with runtime workbench and jdt core
Problems with runtime workbench and jdt core [message #57015] Wed, 20 August 2003 04:28 Go to next message
Vijay Ganesan is currently offline Vijay GanesanFriend
Messages: 40
Registered: July 2009
Member
I am building a plugin that uses the JDT Core APIs. I can build fine ( i
have ECLIPSE_HOME/plugins/org.eclipse.jdt.core_2.1.1/jdtcore.jar in the
classpath).
However when I launch the runtime workbench I get the following error:

java.lang.NoClassDefFoundError: org/eclipse/jdt/core/JavaCore

How do I find out what classpath is used by the runtime workbench? I tried
choosing "Choose plugins and fragments to launch from list" and made sure
the org.eclipse.jdtcore was checked. But I still have this problem.

The second issue is - when I make a code change, I am forced to shutdown the
runtime workbench and re-launch it to detect the new code changes. I thought
I saw a demo by one of the Eclipse team leads recently where he did not have
to restart the workbench after some code changes. Is this achieved through
some setting in the run configuration?

thanks

Vijay
Re: Problems with runtime workbench and jdt core [message #57044 is a reply to message #57015] Wed, 20 August 2003 10:17 Go to previous messageGo to next message
Jerome Lanneluc is currently offline Jerome LannelucFriend
Messages: 572
Registered: July 2009
Senior Member
Did you add the required plugins to the classpath? If you did please enter a
bug report agains PDE.

Jerome

"Vijay Ganesan" <vijay@mindspring.com> wrote in message
news:bhutck$od2$1@eclipse.org...
>
> I am building a plugin that uses the JDT Core APIs. I can build fine ( i
> have ECLIPSE_HOME/plugins/org.eclipse.jdt.core_2.1.1/jdtcore.jar in the
> classpath).
> However when I launch the runtime workbench I get the following error:
>
> java.lang.NoClassDefFoundError: org/eclipse/jdt/core/JavaCore
>
> How do I find out what classpath is used by the runtime workbench? I tried
> choosing "Choose plugins and fragments to launch from list" and made sure
> the org.eclipse.jdtcore was checked. But I still have this problem.
>
> The second issue is - when I make a code change, I am forced to shutdown
the
> runtime workbench and re-launch it to detect the new code changes. I
thought
> I saw a demo by one of the Eclipse team leads recently where he did not
have
> to restart the workbench after some code changes. Is this achieved through
> some setting in the run configuration?
>
> thanks
>
> Vijay
>
>
Re: Problems with runtime workbench and jdt core [message #57096 is a reply to message #57044] Wed, 20 August 2003 15:16 Go to previous messageGo to next message
Vijay Ganesan is currently offline Vijay GanesanFriend
Messages: 40
Registered: July 2009
Member
I added an entry to the .classpath file as follows (manually edited the
file):

<classpathentry kind="var"
path="ECLIPSE_HOME/plugins/org.eclipse.jdt.core_2.1.1/jdtcore.jar "
sourcepath=" ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.jdt.core_2.1.1/r unti
mesrc.zip"/>

After adding the entry, I restarted the workbench and my code that used JDT
Core built fine. But the run-time workbench gave me the class not found
error i am reporting.
Does the runtime workbench use the entries in the .classpath file? It looks
like it does not and I am trying to figure out what classpath it uses. I
will write a bug report if I don't get some other response in the next few
days.
thanks

Vijay


"Jerome Lanneluc" <jerome_lanneluc@fr.ibm.com> wrote in message
news:bhvhsb$9qr$1@eclipse.org...
> Did you add the required plugins to the classpath? If you did please enter
a
> bug report agains PDE.
>
> Jerome
>
> "Vijay Ganesan" <vijay@mindspring.com> wrote in message
> news:bhutck$od2$1@eclipse.org...
> >
> > I am building a plugin that uses the JDT Core APIs. I can build fine ( i
> > have ECLIPSE_HOME/plugins/org.eclipse.jdt.core_2.1.1/jdtcore.jar in the
> > classpath).
> > However when I launch the runtime workbench I get the following error:
> >
> > java.lang.NoClassDefFoundError: org/eclipse/jdt/core/JavaCore
> >
> > How do I find out what classpath is used by the runtime workbench? I
tried
> > choosing "Choose plugins and fragments to launch from list" and made
sure
> > the org.eclipse.jdtcore was checked. But I still have this problem.
> >
> > The second issue is - when I make a code change, I am forced to shutdown
> the
> > runtime workbench and re-launch it to detect the new code changes. I
> thought
> > I saw a demo by one of the Eclipse team leads recently where he did not
> have
> > to restart the workbench after some code changes. Is this achieved
through
> > some setting in the run configuration?
> >
> > thanks
> >
> > Vijay
> >
> >
>
>
Re: Problems with runtime workbench and jdt core [message #57123 is a reply to message #57015] Wed, 20 August 2003 15:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NOSPAM.us.ibm.com

Don't forget to add jdt to the required plugins in the plugin.xml file.
If you do that, then PDE should take care of getting it into the classpath.
Re: Problems with runtime workbench and jdt core [message #57179 is a reply to message #57096] Thu, 21 August 2003 09:37 Go to previous messageGo to next message
Jerome Lanneluc is currently offline Jerome LannelucFriend
Messages: 572
Registered: July 2009
Senior Member
I'm not sure how you created your plugin, but you should definitively not
have to edit the .classpath file. Please first read the PDE Guide from the
Help menu to learn how to add a required plugin to the plugin.xml file and
to update the classpath accordingly.

Jerome

"Vijay Ganesan" <vijay@mindspring.com> wrote in message
news:bi03ba$s62$1@eclipse.org...
>
> I added an entry to the .classpath file as follows (manually edited the
> file):
>
> <classpathentry kind="var"
> path="ECLIPSE_HOME/plugins/org.eclipse.jdt.core_2.1.1/jdtcore.jar "
>
sourcepath=" ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.jdt.core_2.1.1/r unti
> mesrc.zip"/>
>
> After adding the entry, I restarted the workbench and my code that used
JDT
> Core built fine. But the run-time workbench gave me the class not found
> error i am reporting.
> Does the runtime workbench use the entries in the .classpath file? It
looks
> like it does not and I am trying to figure out what classpath it uses. I
> will write a bug report if I don't get some other response in the next few
> days.
> thanks
>
> Vijay
>
>
> "Jerome Lanneluc" <jerome_lanneluc@fr.ibm.com> wrote in message
> news:bhvhsb$9qr$1@eclipse.org...
> > Did you add the required plugins to the classpath? If you did please
enter
> a
> > bug report agains PDE.
> >
> > Jerome
> >
> > "Vijay Ganesan" <vijay@mindspring.com> wrote in message
> > news:bhutck$od2$1@eclipse.org...
> > >
> > > I am building a plugin that uses the JDT Core APIs. I can build fine
( i
> > > have ECLIPSE_HOME/plugins/org.eclipse.jdt.core_2.1.1/jdtcore.jar in
the
> > > classpath).
> > > However when I launch the runtime workbench I get the following error:
> > >
> > > java.lang.NoClassDefFoundError: org/eclipse/jdt/core/JavaCore
> > >
> > > How do I find out what classpath is used by the runtime workbench? I
> tried
> > > choosing "Choose plugins and fragments to launch from list" and made
> sure
> > > the org.eclipse.jdtcore was checked. But I still have this problem.
> > >
> > > The second issue is - when I make a code change, I am forced to
shutdown
> > the
> > > runtime workbench and re-launch it to detect the new code changes. I
> > thought
> > > I saw a demo by one of the Eclipse team leads recently where he did
not
> > have
> > > to restart the workbench after some code changes. Is this achieved
> through
> > > some setting in the run configuration?
> > >
> > > thanks
> > >
> > > Vijay
> > >
> > >
> >
> >
>
>
>
>
Problems with runtime workbench and jdt [message #57203 is a reply to message #57179] Thu, 21 August 2003 11:27 Go to previous message
Eclipse UserFriend
Originally posted by: prameela.kumar.int-evry.fr

hi ,
I am trying to do add JavaCapabilityConfigurationPage to a wizard.
as following. But without success.

COde:

public void addPages()
{
IProject project = null;
JavaCapabilityConfigurationPage confPage = new
JavaCapabilityConfigurationPage();
confPage.init(JavaCore.create(project),null,null,false);
addPage(confPage);

}

Problem :
1) while trying to launch the wizard it is throwing "NoClassDefFoundErr"
2) Another Unrelated problem is I am unable luanch my plugin as
runtime workbench.

Thanx a lot
Prameela

Jerome Lanneluc wrote:
> I'm not sure how you created your plugin, but you should definitively not
> have to edit the .classpath file. Please first read the PDE Guide from the
> Help menu to learn how to add a required plugin to the plugin.xml file and
> to update the classpath accordingly.
>
> Jerome
>
> "Vijay Ganesan" <vijay@mindspring.com> wrote in message
> news:bi03ba$s62$1@eclipse.org...
>
>>I added an entry to the .classpath file as follows (manually edited the
>>file):
>>
>> <classpathentry kind="var"
>> path="ECLIPSE_HOME/plugins/org.eclipse.jdt.core_2.1.1/jdtcore.jar "
>>
>
> sourcepath=" ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.jdt.core_2.1.1/r unti
>
>>mesrc.zip"/>
>>
>>After adding the entry, I restarted the workbench and my code that used
>
> JDT
>
>>Core built fine. But the run-time workbench gave me the class not found
>>error i am reporting.
>>Does the runtime workbench use the entries in the .classpath file? It
>
> looks
>
>>like it does not and I am trying to figure out what classpath it uses. I
>>will write a bug report if I don't get some other response in the next few
>>days.
>>thanks
>>
>>Vijay
>>
>>
>>"Jerome Lanneluc" <jerome_lanneluc@fr.ibm.com> wrote in message
>>news:bhvhsb$9qr$1@eclipse.org...
>>
>>>Did you add the required plugins to the classpath? If you did please
>
> enter
>
>>a
>>
>>>bug report agains PDE.
>>>
>>>Jerome
>>>
>>>"Vijay Ganesan" <vijay@mindspring.com> wrote in message
>>>news:bhutck$od2$1@eclipse.org...
>>>
>>>>I am building a plugin that uses the JDT Core APIs. I can build fine
>
> ( i
>
>>>>have ECLIPSE_HOME/plugins/org.eclipse.jdt.core_2.1.1/jdtcore.jar in
>
> the
>
>>>>classpath).
>>>>However when I launch the runtime workbench I get the following error:
>>>>
>>>>java.lang.NoClassDefFoundError: org/eclipse/jdt/core/JavaCore
>>>>
>>>>How do I find out what classpath is used by the runtime workbench? I
>>
>>tried
>>
>>>>choosing "Choose plugins and fragments to launch from list" and made
>>
>>sure
>>
>>>>the org.eclipse.jdtcore was checked. But I still have this problem.
>>>>
>>>>The second issue is - when I make a code change, I am forced to
>
> shutdown
>
>>>the
>>>
>>>>runtime workbench and re-launch it to detect the new code changes. I
>>>
>>>thought
>>>
>>>>I saw a demo by one of the Eclipse team leads recently where he did
>
> not
>
>>>have
>>>
>>>>to restart the workbench after some code changes. Is this achieved
>>
>>through
>>
>>>>some setting in the run configuration?
>>>>
>>>>thanks
>>>>
>>>>Vijay
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>
Re: Problems with runtime workbench and jdt core [message #594915 is a reply to message #57015] Wed, 20 August 2003 10:17 Go to previous message
Jerome Lanneluc is currently offline Jerome LannelucFriend
Messages: 572
Registered: July 2009
Senior Member
Did you add the required plugins to the classpath? If you did please enter a
bug report agains PDE.

Jerome

"Vijay Ganesan" <vijay@mindspring.com> wrote in message
news:bhutck$od2$1@eclipse.org...
>
> I am building a plugin that uses the JDT Core APIs. I can build fine ( i
> have ECLIPSE_HOME/plugins/org.eclipse.jdt.core_2.1.1/jdtcore.jar in the
> classpath).
> However when I launch the runtime workbench I get the following error:
>
> java.lang.NoClassDefFoundError: org/eclipse/jdt/core/JavaCore
>
> How do I find out what classpath is used by the runtime workbench? I tried
> choosing "Choose plugins and fragments to launch from list" and made sure
> the org.eclipse.jdtcore was checked. But I still have this problem.
>
> The second issue is - when I make a code change, I am forced to shutdown
the
> runtime workbench and re-launch it to detect the new code changes. I
thought
> I saw a demo by one of the Eclipse team leads recently where he did not
have
> to restart the workbench after some code changes. Is this achieved through
> some setting in the run configuration?
>
> thanks
>
> Vijay
>
>
Re: Problems with runtime workbench and jdt core [message #594938 is a reply to message #57044] Wed, 20 August 2003 15:16 Go to previous message
Vijay Ganesan is currently offline Vijay GanesanFriend
Messages: 40
Registered: July 2009
Member
I added an entry to the .classpath file as follows (manually edited the
file):

<classpathentry kind="var"
path="ECLIPSE_HOME/plugins/org.eclipse.jdt.core_2.1.1/jdtcore.jar "
sourcepath=" ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.jdt.core_2.1.1/r unti
mesrc.zip"/>

After adding the entry, I restarted the workbench and my code that used JDT
Core built fine. But the run-time workbench gave me the class not found
error i am reporting.
Does the runtime workbench use the entries in the .classpath file? It looks
like it does not and I am trying to figure out what classpath it uses. I
will write a bug report if I don't get some other response in the next few
days.
thanks

Vijay


"Jerome Lanneluc" <jerome_lanneluc@fr.ibm.com> wrote in message
news:bhvhsb$9qr$1@eclipse.org...
> Did you add the required plugins to the classpath? If you did please enter
a
> bug report agains PDE.
>
> Jerome
>
> "Vijay Ganesan" <vijay@mindspring.com> wrote in message
> news:bhutck$od2$1@eclipse.org...
> >
> > I am building a plugin that uses the JDT Core APIs. I can build fine ( i
> > have ECLIPSE_HOME/plugins/org.eclipse.jdt.core_2.1.1/jdtcore.jar in the
> > classpath).
> > However when I launch the runtime workbench I get the following error:
> >
> > java.lang.NoClassDefFoundError: org/eclipse/jdt/core/JavaCore
> >
> > How do I find out what classpath is used by the runtime workbench? I
tried
> > choosing "Choose plugins and fragments to launch from list" and made
sure
> > the org.eclipse.jdtcore was checked. But I still have this problem.
> >
> > The second issue is - when I make a code change, I am forced to shutdown
> the
> > runtime workbench and re-launch it to detect the new code changes. I
> thought
> > I saw a demo by one of the Eclipse team leads recently where he did not
> have
> > to restart the workbench after some code changes. Is this achieved
through
> > some setting in the run configuration?
> >
> > thanks
> >
> > Vijay
> >
> >
>
>
Re: Problems with runtime workbench and jdt core [message #594953 is a reply to message #57015] Wed, 20 August 2003 15:30 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NOSPAM.us.ibm.com

Don't forget to add jdt to the required plugins in the plugin.xml file.
If you do that, then PDE should take care of getting it into the classpath.
Re: Problems with runtime workbench and jdt core [message #594967 is a reply to message #57096] Thu, 21 August 2003 09:37 Go to previous message
Jerome Lanneluc is currently offline Jerome LannelucFriend
Messages: 572
Registered: July 2009
Senior Member
I'm not sure how you created your plugin, but you should definitively not
have to edit the .classpath file. Please first read the PDE Guide from the
Help menu to learn how to add a required plugin to the plugin.xml file and
to update the classpath accordingly.

Jerome

"Vijay Ganesan" <vijay@mindspring.com> wrote in message
news:bi03ba$s62$1@eclipse.org...
>
> I added an entry to the .classpath file as follows (manually edited the
> file):
>
> <classpathentry kind="var"
> path="ECLIPSE_HOME/plugins/org.eclipse.jdt.core_2.1.1/jdtcore.jar "
>
sourcepath=" ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.jdt.core_2.1.1/r unti
> mesrc.zip"/>
>
> After adding the entry, I restarted the workbench and my code that used
JDT
> Core built fine. But the run-time workbench gave me the class not found
> error i am reporting.
> Does the runtime workbench use the entries in the .classpath file? It
looks
> like it does not and I am trying to figure out what classpath it uses. I
> will write a bug report if I don't get some other response in the next few
> days.
> thanks
>
> Vijay
>
>
> "Jerome Lanneluc" <jerome_lanneluc@fr.ibm.com> wrote in message
> news:bhvhsb$9qr$1@eclipse.org...
> > Did you add the required plugins to the classpath? If you did please
enter
> a
> > bug report agains PDE.
> >
> > Jerome
> >
> > "Vijay Ganesan" <vijay@mindspring.com> wrote in message
> > news:bhutck$od2$1@eclipse.org...
> > >
> > > I am building a plugin that uses the JDT Core APIs. I can build fine
( i
> > > have ECLIPSE_HOME/plugins/org.eclipse.jdt.core_2.1.1/jdtcore.jar in
the
> > > classpath).
> > > However when I launch the runtime workbench I get the following error:
> > >
> > > java.lang.NoClassDefFoundError: org/eclipse/jdt/core/JavaCore
> > >
> > > How do I find out what classpath is used by the runtime workbench? I
> tried
> > > choosing "Choose plugins and fragments to launch from list" and made
> sure
> > > the org.eclipse.jdtcore was checked. But I still have this problem.
> > >
> > > The second issue is - when I make a code change, I am forced to
shutdown
> > the
> > > runtime workbench and re-launch it to detect the new code changes. I
> > thought
> > > I saw a demo by one of the Eclipse team leads recently where he did
not
> > have
> > > to restart the workbench after some code changes. Is this achieved
> through
> > > some setting in the run configuration?
> > >
> > > thanks
> > >
> > > Vijay
> > >
> > >
> >
> >
>
>
>
>
Problems with runtime workbench and jdt [message #594976 is a reply to message #57179] Thu, 21 August 2003 11:27 Go to previous message
Eclipse UserFriend
Originally posted by: prameela.kumar.int-evry.fr

hi ,
I am trying to do add JavaCapabilityConfigurationPage to a wizard.
as following. But without success.

COde:

public void addPages()
{
IProject project = null;
JavaCapabilityConfigurationPage confPage = new
JavaCapabilityConfigurationPage();
confPage.init(JavaCore.create(project),null,null,false);
addPage(confPage);

}

Problem :
1) while trying to launch the wizard it is throwing "NoClassDefFoundErr"
2) Another Unrelated problem is I am unable luanch my plugin as
runtime workbench.

Thanx a lot
Prameela

Jerome Lanneluc wrote:
> I'm not sure how you created your plugin, but you should definitively not
> have to edit the .classpath file. Please first read the PDE Guide from the
> Help menu to learn how to add a required plugin to the plugin.xml file and
> to update the classpath accordingly.
>
> Jerome
>
> "Vijay Ganesan" <vijay@mindspring.com> wrote in message
> news:bi03ba$s62$1@eclipse.org...
>
>>I added an entry to the .classpath file as follows (manually edited the
>>file):
>>
>> <classpathentry kind="var"
>> path="ECLIPSE_HOME/plugins/org.eclipse.jdt.core_2.1.1/jdtcore.jar "
>>
>
> sourcepath=" ORG_ECLIPSE_PLATFORM_SOURCE_SRC/org.eclipse.jdt.core_2.1.1/r unti
>
>>mesrc.zip"/>
>>
>>After adding the entry, I restarted the workbench and my code that used
>
> JDT
>
>>Core built fine. But the run-time workbench gave me the class not found
>>error i am reporting.
>>Does the runtime workbench use the entries in the .classpath file? It
>
> looks
>
>>like it does not and I am trying to figure out what classpath it uses. I
>>will write a bug report if I don't get some other response in the next few
>>days.
>>thanks
>>
>>Vijay
>>
>>
>>"Jerome Lanneluc" <jerome_lanneluc@fr.ibm.com> wrote in message
>>news:bhvhsb$9qr$1@eclipse.org...
>>
>>>Did you add the required plugins to the classpath? If you did please
>
> enter
>
>>a
>>
>>>bug report agains PDE.
>>>
>>>Jerome
>>>
>>>"Vijay Ganesan" <vijay@mindspring.com> wrote in message
>>>news:bhutck$od2$1@eclipse.org...
>>>
>>>>I am building a plugin that uses the JDT Core APIs. I can build fine
>
> ( i
>
>>>>have ECLIPSE_HOME/plugins/org.eclipse.jdt.core_2.1.1/jdtcore.jar in
>
> the
>
>>>>classpath).
>>>>However when I launch the runtime workbench I get the following error:
>>>>
>>>>java.lang.NoClassDefFoundError: org/eclipse/jdt/core/JavaCore
>>>>
>>>>How do I find out what classpath is used by the runtime workbench? I
>>
>>tried
>>
>>>>choosing "Choose plugins and fragments to launch from list" and made
>>
>>sure
>>
>>>>the org.eclipse.jdtcore was checked. But I still have this problem.
>>>>
>>>>The second issue is - when I make a code change, I am forced to
>
> shutdown
>
>>>the
>>>
>>>>runtime workbench and re-launch it to detect the new code changes. I
>>>
>>>thought
>>>
>>>>I saw a demo by one of the Eclipse team leads recently where he did
>
> not
>
>>>have
>>>
>>>>to restart the workbench after some code changes. Is this achieved
>>
>>through
>>
>>>>some setting in the run configuration?
>>>>
>>>>thanks
>>>>
>>>>Vijay
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>
Previous Topic:ANNOUNCE: eclipse visualization tool
Next Topic:ANNOUNCE: eclipse visualization tool
Goto Forum:
  


Current Time: Thu Apr 25 11:50:53 GMT 2024

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

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

Back to the top