Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » j3d in RCP-App?
j3d in RCP-App? [message #459224] Wed, 29 November 2006 06:24 Go to next message
Eclipse UserFriend
Originally posted by: cocktail.cs.tu-berlin.de

Hi experts,

I'm trying to write an RCP-Application which has to visualize
3D-Functions. I wrote a test as a normal Java-App (SWT + Java3d) to test
if my view is working. Now I try to port this part into my RCP-App.

Now I have the Problem, that the whole code compiles quite well, but if
I start that App I get an NoClassDefFound-Error "javax.media.Node"

Can somebody tell me what is wrong? I suspect that i miss something
important.

Thanks in advance,
Karsten
Re: j3d in RCP-App? [message #459258 is a reply to message #459224] Wed, 29 November 2006 09:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cocktail.cs.tu-berlin.de

Hi again,

First: I managed it to get it run: I have to pack the j3d-jars into a
plugin (new plugin project from jar).

BUT: this plugin ist platform dependend. How can i manage it to get this
plugin platform independend? I need versions for linux (gtk), windows
and MacOS (i386).

greetings again,
Karsten

Karsten Meier schrieb:
> Hi experts,
>
> I'm trying to write an RCP-Application which has to visualize
> 3D-Functions. I wrote a test as a normal Java-App (SWT + Java3d) to test
> if my view is working. Now I try to port this part into my RCP-App.
>
> Now I have the Problem, that the whole code compiles quite well, but if
> I start that App I get an NoClassDefFound-Error "javax.media.Node"
>
> Can somebody tell me what is wrong? I suspect that i miss something
> important.
>
> Thanks in advance,
> Karsten
Re: j3d in RCP-App? [message #459262 is a reply to message #459258] Wed, 29 November 2006 12:03 Go to previous messageGo to next message
Eclipse UserFriend
Hi Karsten,

Are you able to identify the jars which are platform dependent?

If you can, you could repeat the process that you have already used (new
plugin from jar).

First, create a new plugin from jar that only contains the platform
specific jars.

Second, combine the non-platform-specific jars into one plugin from jar.
This plugin should declare a dependency on a platform-specific jar.

Charlie


Karsten Meier wrote:
> Hi again,
>
> First: I managed it to get it run: I have to pack the j3d-jars into a
> plugin (new plugin project from jar).
>
> BUT: this plugin ist platform dependend. How can i manage it to get this
> plugin platform independend? I need versions for linux (gtk), windows
> and MacOS (i386).
>
> greetings again,
> Karsten
>
> Karsten Meier schrieb:
>
>> Hi experts,
>>
>> I'm trying to write an RCP-Application which has to visualize
>> 3D-Functions. I wrote a test as a normal Java-App (SWT + Java3d) to
>> test if my view is working. Now I try to port this part into my RCP-App.
>>
>> Now I have the Problem, that the whole code compiles quite well, but
>> if I start that App I get an NoClassDefFound-Error "javax.media.Node"
>>
>> Can somebody tell me what is wrong? I suspect that i miss something
>> important.
>>
>> Thanks in advance,
>> Karsten
Re: j3d in RCP-App? [message #459432 is a reply to message #459262] Fri, 01 December 2006 06:33 Go to previous message
Eclipse UserFriend
Originally posted by: cocktail.cs.tu-berlin.de

Hi Charlie,

thanks for the fast answer, but .... :-)

Charle Kelly schrieb:
> Hi Karsten,
>
> Are you able to identify the jars which are platform dependent?
>
> If you can, you could repeat the process that you have already used (new
> plugin from jar).
>
> First, create a new plugin from jar that only contains the platform
> specific jars.
>
> Second, combine the non-platform-specific jars into one plugin from jar.
> This plugin should declare a dependency on a platform-specific jar.

As far as i know are all of the three jars I'm talking about are
platform dependent.
I'm not sure if your answer is exactly what i meant:

The SWT-Plugins are partly platform dependend. With the "RCP-Delta Pack"
eclipse is able to build several RCP-Apps for each platform i want - it
is selecting the appropriate platform dependend jars
Now I want something similar: On a Mac I want to build releases for Mac,
Win and Linux. So I need a way to tell eclipse which j3d-plugin it
should take.

If i look at the configuration-editor of my .product there is a list of
all needed jar. The platform dependend jars are marked with an
magenta-plugin icon. How does eclipse manages this?

Thanks so far,
Karsten
Previous Topic:how can i make the view minimized when i startup the WorkbenchWindows?
Next Topic:No View in Eclipse 3.2
Goto Forum:
  


Current Time: Wed Mar 19 01:37:06 EDT 2025

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

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

Back to the top