Have your sun jdk anywhere . Lets say u have it at : /usr/java/jdk1.6_23/ 'alternatives' command is your buddy here. Issue follow to know your current java installations:
*alternatives --display java * * * above will show all the paths which are linked to when you type 'java' Now, lets say you do see your sun jdk entry at number 2. then issue following: *alternatives --config java * * * Press 2 and that's it, now java is pointing to your sun jdk. If you don't see it under that list, then do following: *update-alternatives --install "/usr/bin/java" "java" "/usr/java/jdk1.6_23/bin" 1* above command will link java to ur directory(or installation) and set it to 1. On Thu, May 17, 2012 at 4:34 PM, Deepak Agarwal <[email protected]>wrote: > w8. don't rebuild. > I tell you solution for that too. > > On Thu, May 17, 2012 at 4:26 PM, Sanjeev Gupta <[email protected]>wrote: > >> Thx for the tip Deepak. >> Uninstalling openJDK from Ubuntu is painful, so rebuilding Ubuntu from >> scratch to install oracle Java 1.6 >> >> ----- >> 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-tp4631840p4631878.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: [email protected] > Mobile: +91 9910322604 > > -- > Thanks, > Deepak Agarwal, > > Paxcel Technologies Pvt Ltd. > Hartron Complex, Sector 18, Gurgaon, India. > E-Mail: [email protected] > Mobile: +91 9910322604 > > <%2B91%209910322604> >
