Forgot your password?
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.
CEHJAccepted Solution on 2007-04-25 at 10:21:07ID: 18975502
Advantages are that you have richer class libraries and generally better engineered compilers/runtimes with each version increment.
Main disadvantage is that the later the compliance, the fewer people will be able to run your binaries
Join now to access this answer plus 4 million more
Get Access Now
Article by evilrix
When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generate a log or trace file for debugging purposes. The relationship of the types may have significance.
This relationship can be determined with a little bit of meta-template trickery along with a special function prototype that takes an ellipsis ... as its formal parameter list.
A little background for those who don't know, the ... ellipsis in C and C…
Article by Matthew Kelly
I am a very big proponent of technology compliance standards and strive to meet such criteria in all of my work. That includes my site, which is 100% XHTML 1.0 compliant as determined by the World Wide Web Consortium.
If you make your website compliant, you can add the compliance link to every page of your site! The code snippet below allows for users to click the link to really know you are compliant.
The best compliance to go for is XHTML. This is because XHTML is a stricter and cleaner version of HTML. XHTML n…
Video by Sarah delos Santos
Video by Rodney Barnhardt
Answer by javaexperto
Question: I am trying to get some legacy code working. I am using Netbeans ide which has the JDK 1.6.
The legacy code uses the following:
Netbeans is reporting that these classes can't be found. I submitted a previous Expert Exchange qu…
Answer: Well, it seems that these classes are available in the 1.2, 1.3.1 and 1.4.1 versions of the jdk. Also you can download the JNDI libraries. Here the link:http://java.sun.com/products/jndi/downloads/index.html
Answer by for_yan
Question: I am trying to set up an existing project in eclipse. After creating the project, when I open any of the source files, it gives me errors like
the type java.lang.String cannot be resolved. It is indirectly referenced from required .class files
Can someone please let me know what settngs do I need to make to have it compiled with Java. Java is already set is the P…
Look at this suggested solution:
Answer by CEHJ
Question: Everytime I make a small change in a jsp/java.. RAD/Eclipse .. recompiles everything before publishing on websphere.
Is there any way to avoid that .. as most of the time my changes in a file do not affect other files .. no dependencies.
Answer: Turn auto to off. You'll have to remember to compile explicitly
Question: Hi guys: This is the configuration of my computer. Can any one please tell me how to i install jdk on it
i try to install it from that link but it gives error
Answer: Path is proabbly in the System
I don't think you need to delete anything - you need to edit PATH
(it may be called Path)
— trusted by —
Join Experts Exchange
About Experts Exchange