Link to home
Start Free TrialLog in
Avatar of aciang
aciang

asked on

Eclipse JDK compliance compiler level

Hi experts,

I am using eclipse 3.2.2
What are the advantages and disadvantages if I set the JDK compliance compiler to 5.0 or 6.0?
The default value is 1.4

Thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aciang
aciang

ASKER

Thanks Chej and Objects,

I am building a web application, and of course I want my site can be viewed by most user.
I need to know the advantage and disadvantages if I build my web application using higher Compiler 5.0 or 6.0?

is there any relation with the browser version?
maybe like.. some resources from JDK compiler 6.0 only can be run at ie7/higher or firefox2/higher?
I doubt if there is any relation with the browser compliance, since it is on the server side not client. Please correct me if I am wrong.

I use Tomcat5.5 and soon will upgrade it to Tomcat6.
Is there any relation with this?

Thanks in advance.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aciang

ASKER

It means.. If I use the latest tomcat version and latest java version on my webserver, I can use the latest compiler? is it right?
How can I know that tomcat5.5 or tomcat6 is work with JDK compilier 5.0 or 6.0?
thats correct.
tomcat supports latest java
Avatar of aciang

ASKER

Thank you for your time in replying my issue. :)
?
Avatar of aciang

ASKER

ups.. I am very sorry Cehj,
you should have the assisting answer for the issue. thank you.

I should picked the accepted solution and picked which are the assisted answer.
I tried but I cannot go back again.  (will not make the same mistake again..:p)

All above answers helped me a lot.

Thanks.
:-)
Avatar of aciang

ASKER

ups.. wrong again. :p
cannot choose 2 accepted answer.

I am very sorry for this.. really appreciate all your helps.

Thank you.
Now the accepted answer isn't really applicable to your situation, oh well as long as CEHJ has got his points :)
The accepted answer is an answer to the question posed - that's how the site works
not true sorry :)