Hello,
A little question about eclipse configuration.
When a new java project is created, the java jvm lib is included in the
classpath via the classpath variable JRE_LIB. But only rt.jar is included.
If I need, say jce.jar, I have to add it as an external library. If I latter
change the jvm, I have to remember to change this external lib too.
Is there a way to include all jre jars when choosing a jvm?
Sincerely,
Xavier Tarrago
Robert Klemme - 21 Nov 2003 10:32 GMT
> Hello,
>
[quoted text clipped - 6 lines]
>
> Is there a way to include all jre jars when choosing a jvm?
Window -> Preferences -> Java -> Installed JRE's -> Choose JRE -> Edit
then add all needed libs to "JRE system libraries".
robert
Ullrich Pollaehne - 21 Nov 2003 11:58 GMT
> Hello,
>
[quoted text clipped - 9 lines]
> Sincerely,
> Xavier Tarrago
Right click on project,
Properties->Java Build Path->Libraries->Add Library...->JRE System
Library->Next...->{select the vm you want}->Finish
Now every library from the JRE lib and lib\ext path is included.
You can also define this as default for new projects.
Ullrich.