Hi Sanjeev, There is a patch that might fix your specific problem at https://issues.apache.org/jira/browse/OFBIZ-4638. It was done for the trunk version, but you may be able to apply it to earlier versions.
As Deepak says, earlier releases of OFBiz do not compile with OpenJDK, although several people have made improvements. Cheers Paul Foxworthy Deepak Agarwal-2 wrote > > It's problem with java version. Try with sun java 1.6 (This is what we > have > been using. More specifically I am happy with 1.6_23) > > On Wed, May 16, 2012 at 11:54 PM, Sanjeev Gupta <subscribe@>wrote: > >> I tried installing Ofbiz 11.04 of Ubuntu 12.04 with OpenJDK 6 and got the >> following error .. >> >> 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&lt;String, > > String>> simpleRoleEntity = UtilMisc.toMap( >> [javac16] >> ^ >> [javac16] 1 error >> >> >> Any thoughts on where I could be going wrong ?? >> >> ----- >> Rgds >> Sanjeev >> www.sanjeevg.com >> @sanjeevgcom >> -- >> View this message in context: >> http://ofbiz.135035.n4.nabble.com/Unable-to-install-Ofbiz-11-04-on-Ubuntu-12-04-tp4631840.html >> Sent from the OFBiz - User mailing list archive at Nabble.com. >> >> -- >> Thanks, >> Deepak Agarwal, >> >> Paxcel Technologies Pvt Ltd. >> Hartron Complex, Sector 18, Gurgaon, India. >> E-Mail: deepak.agarwal@ >> Mobile: +91 9910322604 >> >> > ----- -- Coherent Software Australia Pty Ltd http://www.cohsoft.com.au/ Bonsai ERP, the all-inclusive ERP system http://www.bonsaierp.com.au/ -- View this message in context: http://ofbiz.135035.n4.nabble.com/Unable-to-install-Ofbiz-11-04-on-Ubuntu-12-04-tp4631840p4631855.html Sent from the OFBiz - User mailing list archive at Nabble.com.
