Skip to main content



      Home
Home » Eclipse Projects » GEF » Run-time Eclipse error
Run-time Eclipse error [message #115019] Fri, 30 January 2004 13:11 Go to next message
Eclipse UserFriend
Originally posted by: sandip.us.ibm.com

I am trying to use external jars which are not part of the Eclipse workspace
to integrate with my GEF project. To do this I added these jars using the
Window->Preference->Java->ClassPath Variables. Then I opened the
GEF Project's Preferences->Java Build Path and added the jar files
using the "Add Variable" button. The compilation errors were all fixed.
But when I run the project I get ClassNotFoundException error on
the classes that were part of the external jar. Also, when I select the
Project->Update Classpath I get compilation errors on these same
classes and the variables that I added to build the project were wiped
clean. Any idea how to include these jars at runtime. I also tried editing
the .classpath file in the runtime directory without much success.

- Sandip
Re: Run-time Eclipse error [message #115031 is a reply to message #115019] Fri, 30 January 2004 13:32 Go to previous message
Eclipse UserFriend
One way is to import the jar files directly into your project, and then add
them to the Java Build Path.

BTW, this question is better-suited for the eclipse.platform newsgroup.

"Sandip Lahiri" <sandip@us.ibm.com> wrote in message
news:bve6n4$6l6$1@eclipse.org...
> I am trying to use external jars which are not part of the Eclipse
workspace
> to integrate with my GEF project. To do this I added these jars using the
> Window->Preference->Java->ClassPath Variables. Then I opened the
> GEF Project's Preferences->Java Build Path and added the jar files
> using the "Add Variable" button. The compilation errors were all fixed.
> But when I run the project I get ClassNotFoundException error on
> the classes that were part of the external jar. Also, when I select the
> Project->Update Classpath I get compilation errors on these same
> classes and the variables that I added to build the project were wiped
> clean. Any idea how to include these jars at runtime. I also tried editing
> the .classpath file in the runtime directory without much success.
>
> - Sandip
>
>
Previous Topic:Export to png or jpeg
Next Topic:CheckboxPropertyDescriptor
Goto Forum:
  


Current Time: Thu Jul 17 20:05:21 EDT 2025

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

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

Back to the top