Results 1 to 7 of 7

Thread: 32 bit Java on a 64 bit oneiric

  1. #1
    Join Date
    Jun 2008
    Location
    Tennessee
    Beans
    3,421

    32 bit Java on a 64 bit oneiric

    I run 64 bit Oneiric, but I have some important applications that require 32-bit java.

    In the past, I'd install ia32-sun-java6-bin, and that took care of it.

    Now, of course, licensing has changed and only openjdk is in the repos. Also, with the switch to multiarch support, I'm not sure how I can have both 64bit and 32bit openjdk installed.

    I tried installing the i386 version of openjdk alongside the amd64 package, but they conflict with each other and a whole bunch of important packages.

    How can I do this?

  2. #2
    Join Date
    Oct 2009
    Location
    New Hamsha
    Beans
    1,275
    Distro
    Kubuntu 13.04 Raring Ringtail

    Re: 32 bit Java on a 64 bit oneiric

    Actually, Sun Java is available from the repos.
    EDI: Nvm it isn't! Follow guide here maybe: http://askubuntu.com/questions/52154...n-ubuntu-11-10
    Last edited by searchfgold6789; October 20th, 2011 at 10:39 PM.
    AMD A4-3400 w/ Radeon HD 6410D, 8 GB Corsair Vengeance DDR3 1333Mhz, Kubuntu 14.04, SliTaz 4.0, Windows 8.1, Ubuntu 14.04 VM
    " ... Love your neighbor as you love yourself."

  3. #3
    Join Date
    Jun 2008
    Location
    Tennessee
    Beans
    3,421

    Re: 32 bit Java on a 64 bit oneiric

    Quote Originally Posted by searchfgold6789 View Post
    Actually, Sun Java is available from the repos.
    Not in my repos. And yes, I have partner repos enabled.

  4. #4
    Join Date
    Oct 2009
    Location
    New Hamsha
    Beans
    1,275
    Distro
    Kubuntu 13.04 Raring Ringtail

    Re: 32 bit Java on a 64 bit oneiric

    You could still manually download and install it from their website. Also you could add the Natty restricted repository.
    Code:
    sudo add-apt-repository "deb http://archive.canonical.com/ natty partner" 
    sudo apt-get update 
    sudo apt-get install sun-java6-plugin
    Last edited by searchfgold6789; October 20th, 2011 at 10:51 PM.
    AMD A4-3400 w/ Radeon HD 6410D, 8 GB Corsair Vengeance DDR3 1333Mhz, Kubuntu 14.04, SliTaz 4.0, Windows 8.1, Ubuntu 14.04 VM
    " ... Love your neighbor as you love yourself."

  5. #5
    Join Date
    Jun 2008
    Location
    Tennessee
    Beans
    3,421

    Re: 32 bit Java on a 64 bit oneiric

    Well, yes; currently I still have the natty packages installed. But the purpose of this thread is that I want to know what I'm supposed to do for the future. I'm not clear on the point of this new multi-arch setup if I can't install i386 versions of packages alongside the 64bit.

  6. #6
    Join Date
    Jul 2006
    Beans
    106
    Distro
    Kubuntu

    Unhappy Re: 32 bit Java on a 64 bit oneiric

    I'm also having issues. I really need to do this to cross-compile 32bit packages on 64bit. I need it for the libjvm.so file- so it's not just being picky.

    Code:
    sudo apt-get install --no-install-recommends openjdk-6-jre-headless:i386
    Results in

    Code:
    $ sudo apt-get install --no-install-recommends openjdk-6-jre-headless:i386
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
     openjdk-6-jre-headless:i386 : Depends: openjdk-6-jre-lib:i386 (>= 6b23~pre11-0ubuntu1.11.10) but it is not installable
                                   Depends: ca-certificates-java:i386 but it is not installable
                                   Depends: java-common:i386 (>= 0.28) but it is not installable
    E: Unable to correct problems, you have held broken packages.

  7. #7
    Join Date
    Feb 2011
    Beans
    488
    Distro
    Ubuntu

    Re: 32 bit Java on a 64 bit oneiric

    Is this of any help?

    https://launchpad.net/~ferramroberto/+archive/java

    https://launchpad.net/~ferramroberto/+archive/java/+packages


    How to add PPA:
    Code:
    sudo add-apt-repository ppa:ferramroberto/java
    sudo apt-get update
    sudo apt-get install sun-java6-jdk sun-java6-plugin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •