FYI - I have been running on JDK 1.5 for one month on Windows and for
several days on CentOS 4.3. I have tested extensively and have not seen any problems. Regards, Vinay Agarwal |
Would it be possible for you to provide description changes to the
configurations / libraries to be made to ofbiz to run it under jdk 1.5 regards Rupinder Vinay Agarwal wrote: > FYI - I have been running on JDK 1.5 for one month on Windows and for > several days on CentOS 4.3. I have tested extensively and have not seen any > problems. > > > > Regards, > > Vinay Agarwal > > > > > |
No changes are required in OFBiz. Simply use JDK 1.5 instead of 1.4.
Regards, Vinay Agarwal -----Original Message----- From: Rupinder Singh Mazara [mailto:[hidden email]] Sent: Wednesday, August 02, 2006 10:58 AM To: [hidden email] Subject: Re: Running on JDK 1.5 for One Month Would it be possible for you to provide description changes to the configurations / libraries to be made to ofbiz to run it under jdk 1.5 regards Rupinder Vinay Agarwal wrote: > FYI - I have been running on JDK 1.5 for one month on Windows and for > several days on CentOS 4.3. I have tested extensively and have not > seen any problems. > > > > Regards, > > Vinay Agarwal > > > > > |
In reply to this post by Vinay Agarwal
The same with my OFBiz (trunk version) - running on Windows XP with Java
1.5. No changes to configuration files were made for running with 1.5. There were just some warnings while building (enum ;)), but everything else was fine. |
Fabian Gorsler wrote:
> The same with my OFBiz (trunk version) - running on Windows XP with Java > 1.5. No changes to configuration files were made for running with 1.5. I forgot to mention that there were even no problems running OFBiz and Java 1.5 with Debian Sid (Sun's Java) and Solaris 10/Sparc (Guess which Java...;)). Pure Java rocks. :) |
In reply to this post by Fabian Gorsler
The protected enum warning I believe has been fixed.
At this time there doesn't seem to be a compelling reason to switch to Java 5 unless you require it for another aplication. I wouldn't expect the community to address improvements in code to take advantage of some of the changes made in Java 5 especially with Java 6 being in beta 2 and scheduled to be released from beta (and likely open sourced) in autumn. --- Fabian Gorsler <[hidden email]> wrote: > The same with my OFBiz (trunk version) - running on > Windows XP with Java > 1.5. No changes to configuration files were made for > running with 1.5. > > There were just some warnings while building (enum > ;)), but everything > else was fine. > |
Hi Chris,
Chris Howe wrote: > The protected enum warning I believe has been fixed. > At this time there doesn't seem to be a compelling > reason to switch to Java 5 unless you require it for > another aplication. This week I ran the build unattended, last week the warnings were still there. This week I didn't check the changes, too. It just ran out-of-the-box (like all prior versions did since we've started using OFBiz). You're right with the 1.5 thing. But 1.5 was installed and because of that I used to use 1.5. We wanted to be sure that OFBiz will run with 1.5 before the official support for 1.4.2 from Sun will be stopped. Java 6 is going to reach us soon and with the release the support will end AFAIK. Best regards, Fabian. |
Administrator
|
In reply to this post by cjhowe
From: "Chris Howe" <[hidden email]>
> The protected enum warning I believe has been fixed. > At this time there doesn't seem to be a compelling > reason to switch to Java 5 unless you require it for > another aplication. I wouldn't expect the community > to address improvements in code to take advantage of > some of the changes made in Java 5 especially with > Java 6 being in beta 2 and scheduled to be released > from beta (and likely open sourced) in autumn. Coming from a C++ background, I have used C# for 9 months this winter. I did like their foreach (even if you can't modify the var in the loop as with an iterator). I quickly saw that 1.5 offer something equivalent (new enhanced for loop). I know it's only syntaxic sugar but sometimes I w'd be happy to use it ;o) Jacques > --- Fabian Gorsler <[hidden email]> wrote: > > > The same with my OFBiz (trunk version) - running on > > Windows XP with Java > > 1.5. No changes to configuration files were made for > > running with 1.5. > > > > There were just some warnings while building (enum > > ;)), but everything > > else was fine. > > |
Hello all,
I'm using 1.5 for a long time with OFBiz too. If I remember right the one thing to make this new Java options (foreach, generics, etc.) work is to change 'source' attribute in all 'javac' tags in all build.xml files. Otherwise, javac will "read" the code as it's 1.4, but if it's 1.5, it fails. Oleg.
|
Administrator
|
From: "Oleg Kozyrev Jr." <[hidden email]>
> > Hello all, > > I'm using 1.5 for a long time with OFBiz too. If I remember right the one > thing to make this new Java options (foreach, generics, etc.) work is to > change 'source' attribute in all 'javac' tags in all build.xml files. > Otherwise, javac will "read" the code as it's 1.4, but if it's 1.5, it > fails. > > Oleg. Thanks for that point Oleg. Jacques > jacques.le.roux wrote: > > > > From: "Chris Howe" <[hidden email]> > > > >> The protected enum warning I believe has been fixed. > >> At this time there doesn't seem to be a compelling > >> reason to switch to Java 5 unless you require it for > >> another aplication. I wouldn't expect the community > >> to address improvements in code to take advantage of > >> some of the changes made in Java 5 especially with > >> Java 6 being in beta 2 and scheduled to be released > >> from beta (and likely open sourced) in autumn. > > > > Coming from a C++ background, I have used C# for 9 months this winter. I > > did like their foreach (even if you can't modify the var in > > the loop as with an iterator). I quickly saw that 1.5 offer something > > equivalent (new enhanced for loop). I know it's only syntaxic > > sugar but sometimes I w'd be happy to use it ;o) > > > > Jacques > > > >> --- Fabian Gorsler <[hidden email]> wrote: > >> > >> > The same with my OFBiz (trunk version) - running on > >> > Windows XP with Java > >> > 1.5. No changes to configuration files were made for > >> > running with 1.5. > >> > > >> > There were just some warnings while building (enum > >> > ;)), but everything > >> > else was fine. > >> > > > > > > > > > -- > View this message in context: http://www.nabble.com/Running-on-JDK-1.5-for-One-Month-tf2040797.html#a5645376 > Sent from the OFBiz - User forum at Nabble.com. |
Free forum by Nabble | Edit this page |