Installation instructions (update for JDK1.5.0-beta1)

This forum is for discussing the JDK 1.5 plugin for Eclipse

Postby genady » Tue Mar 23, 2004 9:27 pm

I think you *should* use Eclipse 3.0, but you can use the plugin with Eclipse 2.1.x as well. However, you will need a separate download.
There is an annoucement on this forum with the download link.

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

Postby Barthjj » Wed Mar 24, 2004 9:21 pm

Where is the separate download? I have the same issue.
Barthjj
 

http://www.genady.net/forum/viewtopic.php?t=62

Postby genady » Wed Mar 24, 2004 9:58 pm

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

Postby Guest » Wed Apr 07, 2004 11:04 am

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

Genady


Sorry but I have still the same problem. I can define my source folder (a package inside my project folder) but when I try to select a subfolder of my source folder or another package folder it says that I cannot nest the folder I specify inside the project folder...
Guest
 

Postby genady » Wed Apr 07, 2004 12:16 pm

That's true - JDK15 source folder MUST NOT be placed under the regular java source folder (or eclipse will try to compile it with 1.4 compiler).

This is also the reason why you cannot have the project as your java source folder.

See the screenshots above. If you do exactly as shown there, you shouldn't experience any problems

Genady

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

Genady


Sorry but I have still the same problem. I can define my source folder (a package inside my project folder) but when I try to select a subfolder of my source folder or another package folder it says that I cannot nest the folder I specify inside the project folder...
genady
Site Admin
 
Posts: 396
Joined: Sat Aug 16, 2003 5:15 pm

JDK1.5: JDK 1.5 folders are not set up correctly

Postby carmello » Mon Jun 14, 2004 6:12 pm

When I set the source and output folder for the Java 1.5 Compiler properties
I keep seeing the message: Either source or output folders are empty.
source file folder /Tigertest/src
Output file folder /Tigertest/classes

the src dir contains 1 java source file and the classes dir contains the class file of the source file which is compiled by eclipse.

I have Eclipse 3.0 M9 and JDK 1.5 beta 3 build 55.

Can anybody help please !?!?

Thanks
carmello
 

Postby genady » Mon Jun 14, 2004 6:21 pm

If you can press "OK" and the plugin accepts your selection, it is ok.

I believe there is a bug in eclipse that prevents checking the information as you type.

Please read this and other posts regarding the separation of 1.5 folders from the regular java source folders.

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

Still Having problems

Postby edmondh » Tue Aug 10, 2004 11:27 am

Hi

I am still having problem with the plugin, please help

I have followed instruction.
My src folder is /test/src
My 1.5 src is /test/src15
My 1.5 output is /test/bin15

I compile a very simple source file in src15, that contains the code
Integer i = 10 ;
this compile fine for 1.5.... I get the following in output window

JDK15 builder: Successfully compiled 1 class in 0.2 seconds

However I cannot fine a class file and I cannot run my app.

I get "The selection does not contain a main type" message



Has anybody else had such problem, can u please help

Rgds
Ed
edmondh
 
Posts: 1
Joined: Tue Aug 10, 2004 11:18 am

Postby genady » Sat Aug 14, 2004 11:49 am

Please see the post about running and debugging 1.5 applications.

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

cannot configure folders

Postby Willie » Thu Aug 19, 2004 1:30 pm

When I try to configure the JDK 1.5 folders, I receive an error that either the source or the output folders are empty. I tried using a folder for the source as well as a source folder for the source. Of coures, there is nothing in the bin folder since I can't compile yet. What am I'm doing wrong?
Willie
 
Posts: 2
Joined: Wed Aug 18, 2004 7:38 pm

Re: cannot configure folders

Postby genady » Thu Aug 19, 2004 5:49 pm

Did you try configuring the folders exactly as shown in the screenshots ?

Genady

Willie wrote:When I try to configure the JDK 1.5 folders, I receive an error that either the source or the output folders are empty. I tried using a folder for the source as well as a source folder for the source. Of coures, there is nothing in the bin folder since I can't compile yet. What am I'm doing wrong?
genady
Site Admin
 
Posts: 396
Joined: Sat Aug 16, 2003 5:15 pm

Java 1.5 plugin

Postby RS » Mon Sep 13, 2004 10:25 am

This is interesting. I downloaded the plugin - 1.1.3 and tried to get it working on a XP box with Eclipse 3.0 - full release build 200406251208. When I try to do anything, from creating a new project, I get a compiler error in the Problems pane stating "JDK1.5: JDK 1.5 folders are not set up correctly" This is a clean install with no projects in place.
I had similar problems to others when following the screenshots. However I noticed some inconsistencies with your screen shots.

1) The project you select in screen 2 is called JDK15 but on screen 1 you have tests\bin as your default output file - this has to be on the project path e.g. JDK15\tests\bin.

2) On screen 3 you type tests\src15 as you source file and tests\bin15 as your output file and then close the dialog and then check to see if the bin folder is included as the class folder in the libraries pane (screen 4). - If I go back to the Compiler Properties Pane (screen 3) the entries are blank??? and there is no entry on the Libraries pane - should these folders be created somewhere first?

I have got the Beta 2 version of Java 1.5 and have installed it and it runs fine on its own. I think maybe the problems are starting from the fact the error "JDK1.5: JDK 1.5 folders are not set up correctly" appears when I create a project (File - New - Java Project).

You say that you cannot have the Project as a regular source folder????
I assumed you just created a Project as normal and then followed your instructions.

Is it possible to put a new set of screen grabs up with more steps so others can follow your lead.
Obviously if i've dome something glaringly wrong - I apologise in advance.
RS
 
Posts: 1
Joined: Mon Sep 13, 2004 9:55 am

Postby genady » Tue Sep 14, 2004 7:54 pm

Hi,

The 1.5 folders are relative to the project. I acutally took the screenshots
from a working installation.

When you create a project, you must select to use separate folders for source and output files. This is a good practice in general, but it is necessary with 1.5.

P.S. Did you try the latest 3.1 eclipse builds?

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

Postby Googelybear » Sun Nov 14, 2004 10:53 am

just another newbie question: Where can I find the "filter" dialog box (for
Displaying JDK1.5 errors ) ? I'm using eclipse Version: 3.0.1 and jdk 1.5 final version.
Googelybear
 
Posts: 1
Joined: Sun Nov 14, 2004 10:51 am

Postby genady » Sun Nov 14, 2004 7:50 pm

It is on the "problems" view title bar (the icon with many arrows)
genady
Site Admin
 
Posts: 396
Joined: Sat Aug 16, 2003 5:15 pm

PreviousNext

Return to JDK 1.5 Plugin

Who is online

Users browsing this forum: No registered users and 1 guest

cron