• Pages

  • Archives

  • Categories

  • Meta

November 30th, 2008

32 bit java apps on 64 bit linux

Having problems running some java apps on ubuntu?
Will they may be more suited for 32 bit maybe?
Get a terminal and type sudo -s (and enter password)
Type :> apt-get install ia32-sun-java6-bin
Now find your java app you are trying to run and run it like this

/usr/lib/jvm/ia32-java-6-sun-1.6.0.10/bin/java andtheappnamehere

And your app runs 32 bit java!!!

If you dont want to type that line every time just make a link like this

sudo ln -s /usr/lib/jvm/ia32-java-6-sun-1.6.0.10/bin/java /usr/bin/java32

Now you just type java32 yourappname