[OFBiz] Users - Running straight from svn checkout with jdk1. 5

David E. Jones jonesde at ofbiz.org
Thu May 5 12:09:23 EDT 2005


I agree with BJ: just compile and run OFBiz with 1.4 and run NetBeans  
with 1.5. If you are trying to run OFBiz in NetBeans that's another  
issue altogether and may have it's own issues...

We eventually plan to support 1.5, but it may take a while. It's not  
as easy as one might think. While there are some neat new things in  
1.5 there are many changes which are not backward compatible with 1.4  
and it will take some work to get things working with both. Of  
course, that is only a small part of the difficulty... One of the  
biggest problems is that not only does the OFBiz code have to support  
1.5, but so do ALL of the libraries that OFBiz uses, and we don't  
have a whole lot of control over that.

-David


On May 5, 2005, at 9:35 AM, bjfree at free-man.net wrote:

> Looks like they have done a lot.
> guess I will try on 1.5 when I get some time.
> how ever as of a few weeks ago David said ofbiz  are only  
> supporting 1.4.
> I have both 1.4 and 1.5 on both same machine, I just change where the
> java_home is.
> on some programs I can specify which to use.
>
>
>
> -----Original Message-----
> From: Chris Schneider [mailto:ofbiz at optusnet.com.au]
> Sent: Thursday, May 05, 2005 3:21 PM
> To: OFBiz Users / Usage Discussion
> Subject: Re: [OFBiz] Users - Running straight from svn checkout with
> jdk1. 5
>
>
> Hmm, no errors at all, ant clean, ant, builds cleanly. I just did a  
> svn
> update.
> I used to get a error on a toString() method but that was it.
> I can still make it work with revision 4547 at the moment.
> So no one at all is using jdk1.5 ?
>
> I really don't want to use 1.4 because i now use Netbeans IDE on linux
> and it is much better
> with 1.5.
>
> thanks,
> chris.
>
> bjfree at free-man.net wrote:
>
>
>> Coffee just kicked in
>> also you need to complie, if you had compiled in 1.5 you would  
>> also get a
>> bunch of errors.
>>
>>
>> -----Original Message-----
>> From: bjfree at free-man.net [mailto:bjfree at free-man.net]
>> Sent: Thursday, May 05, 2005 2:56 PM
>> To: users at lists.ofbiz.org
>> Subject: RE: [OFBiz] Users - Running straight from svn checkout with
>> jdk1. 5
>>
>>
>> use JDSK 1.4
>>
>> -----Original Message-----
>> From: Chris Schneider [mailto:ofbiz at optusnet.com.au]
>> Sent: Thursday, May 05, 2005 2:18 PM
>> To: OFBiz Users / Usage Discussion
>> Subject: [OFBiz] Users - Running straight from svn checkout with  
>> jdk1.5
>>
>>
>> Hi,
>>
>> I havn't been able to do this because of the following error:
>>
>>      [java] 7686  (main) [       DatabaseUtil.java:703:INFO ] -  
>> column
>> aliasing          [true]
>>     [java] 7687  (main) [       DatabaseUtil.java:704:INFO ] -  
>> order by
>> not in select   [true]
>>     [java] 7688  (main) [       DatabaseUtil.java:706:INFO ] - alter
>> table add column   [true]*
>>     [java] 7688  (main) [       DatabaseUtil.java:707:INFO ] -
>> non-nullable column      [true]*
>>     [java] 7689  (main) [       DatabaseUtil.java:744:INFO ] Getting
>> Table Info From Database
>>     [java] 7798  (main) [       DatabaseUtil.java:878:INFO ] Getting
>> Column Info From Database
>>     [java] Exception in thread "main" java.lang.NoSuchMethodError:
>> sun.rmi.transport.ObjectTable.getStub(Ljava/rmi/Remote;)Ljava/rmi/ 
>> server/Re
>>
> m
>
>> oteStub;
>>     [java]     at
>> org.objectweb.carol.rmi.jrmp.server.JUnicastRemoteObject.unexportObje 
>> ct(JUn
>>
> i
>
>> castRemoteObject.java:138)
>>     [java]     at
>> org.objectweb.carol.rmi.multi.JrmpPRODelegate.unexportObject 
>> (JrmpPRODelegat
>>
> e
>
>> .java:94)
>>     [java]     at
>> org.objectweb.carol.rmi.multi.MultiPRODelegate.unexportObject 
>> (MultiPRODeleg
>>
> a
>
>> te.java:132)
>>     [java]     at
>> javax.rmi.PortableRemoteObject.unexportObject 
>> (PortableRemoteObject.java:119
>>
> )
>
>>     [java]     at
>> org.objectweb.jotm.SubCoordinator.doAfterCompletion 
>> (SubCoordinator.java:154
>>
> 8
>
>> )
>>     [java]     at
>> org.objectweb.jotm.SubCoordinator.doCommit(SubCoordinator.java:1141)
>>     [java]     at
>> org.objectweb.jotm.SubCoordinator.commit_one_phase 
>> (SubCoordinator.java:468)
>>     [java]     at
>> org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:224)
>>     [java]     at org.objectweb.jotm.Current.commit(Current.java:479)
>>     [java]     at
>> org.ofbiz.entity.transaction.TransactionUtil.commit 
>> (TransactionUtil.java:19
>>
> 3
>
>> )
>>
>>
>> I am thinking there must be someone else out there who uses the  
>> latest
>> ofbiz from svn
>> and builds with jdk1.5 on a linux system. I cannot seem to find any
>> information on how to fix this....
>> Any ideas appreciated.
>>
>> thanks
>> chris.
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.ofbiz.org
>> http://lists.ofbiz.org/mailman/listinfo/users
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.ofbiz.org
>> http://lists.ofbiz.org/mailman/listinfo/users
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.ofbiz.org
>> http://lists.ofbiz.org/mailman/listinfo/users
>>
>>
>>
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.ofbiz.org
> http://lists.ofbiz.org/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at lists.ofbiz.org
> http://lists.ofbiz.org/mailman/listinfo/users
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2363 bytes
Desc: not available
Url : http://lists.ofbiz.org/pipermail/users/attachments/20050505/c3df570c/smime.bin


More information about the Users mailing list