OpenJDK support

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

OpenJDK support

Mike Z
I just tried to run OfBiz on Ubuntu 10.10, which comes with OpenJDK.  Like
others, it didn't successfully compile OfBiz, and I reverted to using
Oracle/Sun's JDK, which worked fine.  My question is, has anyone
successfully deployed OfBiz on OpenJDK, and what did you have to do to make
it work?  Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: OpenJDK support

Ashish Vijaywargiya
Hello Mike,

Here is the reference that can be of your interest:
http://ofbiz.markmail.org/search/?q=OpenJDK

--
Ashish

On Sat, Apr 9, 2011 at 11:26 PM, Mike <[hidden email]> wrote:

> I just tried to run OfBiz on Ubuntu 10.10, which comes with OpenJDK.  Like
> others, it didn't successfully compile OfBiz, and I reverted to using
> Oracle/Sun's JDK, which worked fine.  My question is, has anyone
> successfully deployed OfBiz on OpenJDK, and what did you have to do to make
> it work?  Thanks.
>
Reply | Threaded
Open this post in threaded view
|

Re: OpenJDK support

Shi Jinghai-2
In reply to this post by Mike Z
It's in https://issues.apache.org/jira/browse/OFBIZ-3993

Please check whether it works for you.

On Sat, 2011-04-09 at 10:56 -0700, Mike wrote:
> I just tried to run OfBiz on Ubuntu 10.10, which comes with OpenJDK.  Like
> others, it didn't successfully compile OfBiz, and I reverted to using
> Oracle/Sun's JDK, which worked fine.  My question is, has anyone
> successfully deployed OfBiz on OpenJDK, and what did you have to do to make
> it work?  Thanks.


Reply | Threaded
Open this post in threaded view
|

Re: OpenJDK support

Mike Z
In reply to this post by Ashish Vijaywargiya
Thanks for that link.  Here is what I'm getting, using a pretty new
distribution.

java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.1) (6b22-1.10.1-0ubuntu1)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)

classes:
  [javac16] Compiling 13 source files to
/opt/ofbiz.trunk/framework/security/build/classes
  [javac16] /opt/ofbiz.trunk/framework/security/src/org/ofbiz/security/OFBizSecurity.java:52:
invalid inferred types for V; inferred type does not conform to
declared bound(s)
  [javac16] inferred: java.util.Map<java.lang.String,java.lang.Object>
  [javac16] bound(s): java.util.Map<java.lang.String,java.lang.String>
  [javac16]     protected static final Map<String, Map<String,
String>> simpleRoleEntity = UtilMisc.toMap(
  [javac16]
                                  ^
  [javac16] 1 error

Works with the sun JDK.  I guess it would be nice if it worked with
the distributed JDK.


On Sun, Apr 10, 2011 at 10:59 AM, Ashish Vijaywargiya
<[hidden email]> wrote:

> Hello Mike,
>
> Here is the reference that can be of your interest:
> http://ofbiz.markmail.org/search/?q=OpenJDK
>
> --
> Ashish
>
> On Sat, Apr 9, 2011 at 11:26 PM, Mike <[hidden email]> wrote:
>
>> I just tried to run OfBiz on Ubuntu 10.10, which comes with OpenJDK.  Like
>> others, it didn't successfully compile OfBiz, and I reverted to using
>> Oracle/Sun's JDK, which worked fine.  My question is, has anyone
>> successfully deployed OfBiz on OpenJDK, and what did you have to do to make
>> it work?  Thanks.
>>
>