JDK 1.5 works under 1138

Excellent, EAP 1138 compiles/runs apps with JDK1.5beta. Most excellent ;)

Now, if only those syntax extensions worked...

0
Avatar
Permanently deleted user

It work fine, i can compile my generics and generate generics javadoc, at
least :)

"Mark Derricutt" <mark@talios.com> wrote in message
news:pan.2004.02.04.10.34.06.951583@talios.com...

Excellent, EAP 1138 compiles/runs apps with JDK1.5beta. Most excellent

;)
>

Now, if only those syntax extensions worked...

>


0
Avatar
Permanently deleted user

This is the second time i saw JDK1.5
yes i know it in early development phase, but
where do you get the SDK, i searched the whole
SUN site and don't found anything related to this
(I mean SDK download)
Can you help me out?


0
Avatar
Permanently deleted user

Ercan Oezkan wrote:

This is the second time i saw JDK1.5
yes i know it in early development phase, but
where do you get the SDK, i searched the whole
SUN site and don't found anything related to this
(I mean SDK download)
Can you help me out?

http://www.javalobby.org/members/j2se15.jsp

0
Avatar
Permanently deleted user

To save everyone going through the same confusion I had:

You have to add "-source 1.5" to the Compiler option "Additional Javac command line parameters".

to get generics to compile.

0
Avatar
Permanently deleted user

http://java.sun.com/developer/earlyAccess/j2sdk150_alpha/

there is a download link(button) which takes you to the a early access login page and once you login .. you can download

hope that helps

cheers,
parthi.

0
Avatar
Permanently deleted user

Thanks for helping me out,
another question where to find the Documentation,
is there some available?


0
Avatar
Permanently deleted user

Actually, you probably want to use the beta that came out today instead:

http://java.sun.com/j2se/1.5.0/index.jsp

-mike

0
Avatar
Permanently deleted user

Chris Sherratt wrote:

To save everyone going through the same confusion I had:

You have to add "-source 1.5" to the Compiler option "Additional Javac
command line parameters".

to get generics to compile.



I tried this and it didn't seem to work for me. My problem is
that I get a message to the effect that collect.jar is not found.

Presumably the reason it works for you is that you are really
depending on collect.jar from an earlier installation.

--
Ted Dunning

0
Avatar
Permanently deleted user

You don't want to set "Use Generics Enabled Compiler." You probably don't want to use IDEA's generics support with the JDK 1.5, since they use incompatible variance syntaxes. IDEA supports the old List<+Number> syntax, while the official syntax for 1.5, and in the beta, is the List<? extends Number> syntax. Mixing these causes IDEA to mark errors where there aren't really any.

0
Avatar
Permanently deleted user

cheers for the link

parthi.

0
Avatar
Permanently deleted user

Keith Lea wrote:

You don't want to set "Use Generics Enabled Compiler." You probably don't
want to use IDEA's generics support with the JDK 1.5, since they use
incompatible variance syntaxes. IDEA supports the old List<+Number>
syntax


I am afraid IDEA does not support even that.

Friendly,
Dmitry
--
Dmitry Lomov
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

I thought IDEA supported adding-generics-2.0, which used the +- syntax, didn't it?

0

请先登录再写评论。