Page 1 of 3

Installation instructions (update for JDK1.5.0-beta1)

PostPosted: Sat Jan 10, 2004 5:25 pm
by genady
First download the plugin from http://www.genady.net/cgi-bin/dl-counter/download.pl?file=jdk15v110.
Extract the zip file into the "plugins" directory of your "eclipse" installation.

Second - make sure you have JDK 1.5.0-beta1 installed.

Third - restart eclipse!

Make sure you change the project's JDK to 1.5.0:
Image

Now - add JDK 1.5 support to your project:
Image

Configuring JDK1.5 folders
(This is the major source of all problems) You must use separate folders for JDK1.5 files. That is, you cannot have JDK1.5 overlap regular source folders, and you cannot have the project as a regular source folder.
Select the source and the output folders in the properties page:
Image
Press "OK" and close the dialog before you do anything else.

Notice that now you Java build path includes the output folder:
Image

Displaying JDK1.5 errors
For some reason you must explicity add JDK1.5 errors to the problems list (make sure the line is checked):
Image

We are ready to go!
Add a java file to the new source folder (you must change the default location):
Image

Version 1.1.0 adds a "recompile" button, which should be used to recompile all JDK 1.5.0 classes. You may need to occasionally recompile the whole project, because the plugin does not currently support dependencies between java files.

You need to run "Window->Reset Perspective" to make the new button to appear. If it does not help, start eclipse.exe with the "-noregistrycache" switch (just once), and then run "Window->Reset Perspective".

Image

Type something in, press save and .....
Image

Enjoy,
Genady

Wrong link

PostPosted: Wed Feb 18, 2004 1:13 pm
by tomK
Since the header says "Updated for beta1", you might want to update the download link too...

PostPosted: Wed Feb 18, 2004 7:54 pm
by genady
Updated.

Thanks,
Genady

doesn't work

PostPosted: Fri Feb 20, 2004 6:35 am
by yukster
It won't let me set the src & bin folders... says that I "Cannot nest jdk15test/bin15 inside jdk15test. To enable nesting exclude bin15/ from jdk15test" whatever that means...

Anyone know what the problem is?

nevermind

PostPosted: Fri Feb 20, 2004 6:40 am
by yukster
Nevermind... I'm a dillweed.

Re: nevermind

PostPosted: Sun Feb 22, 2004 6:50 am
by Guest
yukster wrote:Nevermind... I'm a dillweed.


hey, i'm a dillweed too. what's the deal with the nesting. i can't figure it out.

PostPosted: Sun Feb 22, 2004 8:40 am
by genady
If I would allow nesting, both Eclipse JDT and the JDK1.5 plugin would compile the same file.

PostPosted: Thu Mar 18, 2004 12:19 am
by Guest
When I try to set JDK 1.5 folders to "test/src15" and "test/bin15", I get this error:

A dlg pops up and says this folder doesnt exist, create?
I click YES

and it happens again (and again...) when I try to click OK on the main dlg window.

I tried to make a test/src15 folder inside of workspace, but that doesnt work.

Any ideas?

linux

PostPosted: Thu Mar 18, 2004 4:15 pm
by gruenewa
Hi all,

I am using eclipse 3M6 with linux/gtk and java 1.5. I have
unzipped the genady-plugin in the plugin folder. But i don't
get the buttons to add java1.5 support. Does anyone know
help?

Thanks!

PostPosted: Thu Mar 18, 2004 9:35 pm
by genady
Please follow the instructions carefully.
In particular, you have to "reset the perspective" in order to
get the compilation button.

PostPosted: Sun Mar 21, 2004 1:17 pm
by gutti
genady wrote:If I would allow nesting, both Eclipse JDT and the JDK1.5 plugin would compile the same file.


So what do you do to setup you src/bin folders? I get the nesting error no matter what folders I choose for 1.5 source/output.

I really yearn for the proper 1.5 support, so I'd appreciate the help :)
I use version 1.1.0 of the plugin and Eclipse 2.1.3 (build 200403101828 if it interests anyone).

PostPosted: Sun Mar 21, 2004 9:14 pm
by genady
Maybe you have your project defined as a source folder.
Then all folders will be nested.

Genady

PostPosted: Mon Mar 22, 2004 4:06 pm
by Gutti
Yup, that was it. Thanks for your assisting an Eclipse newbie (converted from NetBeans a few days ago).

PostPosted: Mon Mar 22, 2004 8:34 pm
by genady
You're welcome :)

do I need eclipse version 3 to run this plugin?

PostPosted: Mon Mar 22, 2004 11:01 pm
by guillaume
I can't seem to get the plug-in to load in eclipse version 2.13. I have put the whole folder net.genady.jdk15_1.1.0 into my plugins directory but that doesn't seem to have any effect. Do I need a version 3 of eclipse for this plugin?