Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2005

Tip: Looking for answers? Try searching our database.

Is it wise to use jdk 1.5?

Thread view: 
tm+ - 12 May 2005 10:52 GMT
Hi all,

Is developing an application in JDK 1.5 a good idea, while the
library's i'm using probably weren't made in jdk 1.5 but in 1.4?

Thanks
Aerodyne - 12 May 2005 11:54 GMT
Hi there,

It depends (on what Java 1.4 methods, keywords(enum) ...etc.) .... JDK
1.5 should be compatible with most previous 1.4's, but the best way to
find out is if there is any depreciated methods in the 1.4 lib.

You could ask your self these Q's:
- Will the 1.4 lib be updated any time soon?
- Are there any Java 1.5 features you'd want to use?
- Does it compile with out any errors/warnings?
- If it's a commercial lib ... seek answers from there support team.

HTH
Chris Uppal - 12 May 2005 13:06 GMT
> Is developing an application in JDK 1.5 a good idea, while the
> library's i'm using probably weren't made in jdk 1.5 but in 1.4?

There shouldn't be any problems developing and running on 1.5 and using
third-party packages that were compiled with 1.4.  This is for the same reason
as running a program that was written and compiled under 1.4 on a 1.5 platform
is not a problem.

You may have to live with the odd cast, or similar, if the third-party stuff
exposes interfaces which refer to classes (such as java.util.List) that have
since been made generic.

   -- chris
Scott Ellsworth - 12 May 2005 21:35 GMT
> Is developing an application in JDK 1.5 a good idea, while the
> library's i'm using probably weren't made in jdk 1.5 but in 1.4?

I tend to be rather conservative.  Most of my clients are only now
trying 1.5 projects - one still has build problems that prevent a 1.5
build unless he uses the -source 1.4 directive.

There are test projects running against 1.5 at most of my clients, for
the 'next release' of their apps, but I do not expect to see 1.5
deployed for real for a while.  (Perhaps six months until it is on all
of the desktops, and perhaps six months after that until it is ok to
code against it.)

Amusingly, it appears that we have the last version of Java deployed,
all of the apps tested against it, and code that requires it just about
the time that the new version ships.

Scott
Ian A. Mason - 12 May 2005 23:57 GMT
Well if you use Linux, 1.5 is a real drag. There is
an outstanding bug

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5039416

where a MousePressed, followed by a non-trivial drag, followed
by a MouseReleased generates a MouseClicked event. Makes
sophisticated GUI programs next to useless.
Dimitri Maziuk - 13 May 2005 00:50 GMT
tm+ sez:
> Hi all,
>
> Is developing an application in JDK 1.5 a good idea, while the
> library's i'm using probably weren't made in jdk 1.5 but in 1.4?

If you're using a Mac, 1.5 has only been available to the great
unwashed for a week or two. Nobody really knows what they b0rked
this time.

Dima
Signature

The speed at which a mistyped command executes is directly proportional
to the amount of damage done.                                       -- Joe Zeff

steve - 14 May 2005 04:27 GMT
> tm+ sez:
>> Hi all,
[quoted text clipped - 7 lines]
>
> Dima

no it's not

it was available before 10.4 was released.
It just does not come as standard.

but that said, stick to 1.4
Dimitri Maziuk - 17 May 2005 05:47 GMT
steve sez:

>> tm+ sez:
>>> Hi all,
[quoted text clipped - 12 lines]
> it was available before 10.4 was released.
> It just does not come as standard.

I said "to the great unwashed".

> but that said, stick to 1.4

Yep. Turns out, if you upgrade to 1.5 half of the applets out
there will stop working for you. Including management interfaces
of your network switches and other useful things like that.

Dima
Signature

All whitespace is equivalent except in certain cituations          
                                                 -- ANSI C standard committee



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.