× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Brian Leathem skrev den 07-11-2007 23:33:
Is anyone doing Java 6 development in WDSC?

We are currently doing our development in JDK 5, and are thinking of moving to JDK 6. I have found where in WDSC that I change my workspace/project JDK preferences, but a warning comes up saying to make sure I have installed whatever JDK I am selecting.
In order to develop against any JDK in Eclipse (which is what WDSC is built on) you must have the appropriate JDK or JRE installed on your machine. I suggest you download the latest JDK for Windows from Sun and install it.

Then you need to tell WDSC about it by adding a new Java runtime and locating the root of the installation. This is probably under C:\Program Files\Java\ and named according to the version. You should now have an extra entry on the list saying something along Java 6. The trick is then to set the default JRE for the project with a checkmark.

THEN you can change your compiler to Java 6 and set this globally.

Now it should work and generate java byte code which will utilize Java 6 on the target machine.

bundled. From the IBM developperworks web site, I can only find a preview release of JDK 6. And yet, we have JDK 6 installed on our iSeries! Does this mean I have to install Sun's JDK to develop in WDSC? Is that wise?
You are not building on the AS/400, so you must have Java 6 installed on your local PC where WSDC runs. This will not influence the other Java versions you have on your machine. Under Windows the JVM is chosen from the location of the Java binary. Under OS/400 the JVM is chosen from the value of the "java.version" system property at invocation time.

Java compatability is truly excellent - I generally have no problems whatso ever to move between vendors and versions of JVM's.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.