Installation instructions (update for JDK1.5.0-beta1)

This forum is for discussing the JDK 1.5 plugin for Eclipse

Installation instructions (update for JDK1.5.0-beta1)

Postby genady » Sat Jan 10, 2004 5:25 pm

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
Last edited by genady on Wed Feb 18, 2004 7:53 pm, edited 1 time in total.
genady
Site Admin
 
Posts: 396
Joined: Sat Aug 16, 2003 5:15 pm

Wrong link

Postby tomK » Wed Feb 18, 2004 1:13 pm

Since the header says "Updated for beta1", you might want to update the download link too...
tomK
 

Postby genady » Wed Feb 18, 2004 7:54 pm

Updated.

Thanks,
Genady
genady
Site Admin
 
Posts: 396
Joined: Sat Aug 16, 2003 5:15 pm

doesn't work

Postby yukster » Fri Feb 20, 2004 6:35 am

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?
yukster
 

nevermind

Postby yukster » Fri Feb 20, 2004 6:40 am

Nevermind... I'm a dillweed.
yukster
 

Re: nevermind

Postby Guest » Sun Feb 22, 2004 6:50 am

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.
Guest
 

Postby genady » Sun Feb 22, 2004 8:40 am

If I would allow nesting, both Eclipse JDT and the JDK1.5 plugin would compile the same file.
genady
Site Admin
 
Posts: 396
Joined: Sat Aug 16, 2003 5:15 pm

Postby Guest » Thu Mar 18, 2004 12:19 am

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?
Guest
 

linux

Postby gruenewa » Thu Mar 18, 2004 4:15 pm

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!
gruenewa
 

Postby genady » Thu Mar 18, 2004 9:35 pm

Please follow the instructions carefully.
In particular, you have to "reset the perspective" in order to
get the compilation button.
genady
Site Admin
 
Posts: 396
Joined: Sat Aug 16, 2003 5:15 pm

Postby gutti » Sun Mar 21, 2004 1:17 pm

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).
gutti
 

Postby genady » Sun Mar 21, 2004 9:14 pm

Maybe you have your project defined as a source folder.
Then all folders will be nested.

Genady
genady
Site Admin
 
Posts: 396
Joined: Sat Aug 16, 2003 5:15 pm

Postby Gutti » Mon Mar 22, 2004 4:06 pm

Yup, that was it. Thanks for your assisting an Eclipse newbie (converted from NetBeans a few days ago).
Gutti
 

Postby genady » Mon Mar 22, 2004 8:34 pm

You're welcome :)
genady
Site Admin
 
Posts: 396
Joined: Sat Aug 16, 2003 5:15 pm

do I need eclipse version 3 to run this plugin?

Postby guillaume » Mon Mar 22, 2004 11:01 pm

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?
guillaume
 

Next

Return to JDK 1.5 Plugin

Who is online

Users browsing this forum: No registered users and 0 guests

cron