Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
MEPIS This forum is for the discussion of MEPIS Linux.


  Search this Thread
Old 03-31-2009, 08:20 AM   #1
LQ Guru
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
How to Install 32-bit Java in 64-bit Mepis8

I want to test some 32-bit .so files that are designed to be called from a Java program. That only works if Java itself is 32-bit. I want to do the tests on my 64-bit Mepis8 system. (Note, this is a large stand alone GUI program written in Java. It is not Java script invoked by a browser or anything like that.)

I assume there is no way to do this correctly with Synaptic, especially without disturbing my existing installed 64-bit Java.

Should I try to get and install 32-bit Java binaries direct from Sun, or should I download a 32-bit Java .deb file from a Mepis or Debian repository and manually unpack it?

In Mepis7, I installed some 32bit packages by manually unpacking .deb files, dragging each file to directories of slightly different names than their normal targets (typically changing "lib" to "lib32"), and redoing all the symbolic links (which don't seem to survive the manual unpack process correctly).

That process is pretty easy for a small self-contained package, but it gets pretty painful when the package has dependencies and the dependencies have dependencies, etc. and it all must be done manually.

Do you know any better way for 32-bit .deb files in general?

Do you know any specifics about the .deb file(s) for 32-bit Java and/or installing directly from Sun?

If anyone cares, the Java program is
which is used for PC programming of certain models of IR remote control that weren't intended by the manufacturer to be programmed that way by end users, but which we know how to program.
The .so files are various C programs that handle the serial, parallel or USB communication with various cable designs for various models of remote.
I'm also testing 64-bit versions of the .so files, but that's a separate problem.
Old 04-01-2009, 01:11 AM   #2
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
You need to install 32bit libraries.
There needs to be a folder called emul and 32 bit libs installed in that.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can a 32-bit java app access 2^64 on a 64-bit linux OS? daab Linux - Newbie 4 01-06-2009 04:12 PM
Ubuntu 64-bit, Opera 64-bit, Java not working Debian_Poland Linux - Desktop 6 08-12-2008 01:15 PM
IcedTea Java on 64-bit (Sidux 64-bit) Jongi Debian 0 01-21-2008 04:21 PM
LXer: Howto install Flash, Java, Real Player 32 bit plugins under 64 bit Firefox LXer Syndicated Linux News 0 03-16-2007 11:31 PM
32 bit or 64 bit install - is 32 bit easier for a newbie? dms05 Linux - Newbie 3 05-19-2006 03:05 PM > Forums > Linux Forums > Linux - Distributions > MEPIS

All times are GMT -5. The time now is 06:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration