LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-05-2012, 05:39 PM   #1
g_rocket
LQ Newbie
 
Registered: Sep 2012
Posts: 3

Rep: Reputation: Disabled
cant get 32 bit java extension to work on 64 bit java on OpenSUSE


I'm writing a java application which uses the CDDA plugin for tritonus (tritonus.org), which is only available in 32 bit. whenever it tries to access the plugin, it throws a java.lang.UnsatisfiedLinkError, because it cant find the plugin. to solve this, i think i need to either:
install 32 bit java alongside 64 bit java, and find some way to specify which to use whenever i use a java program, none of which i know how to do, or
find some way to run the java program in 64 bit, but run the extension in 32 bit, which i'm not sure is possible but would be the desirable situation, or
compile the plugin for 64 bit, which i dont know how to do or if it is possible, but the source code is available
 
Old 09-06-2012, 12:43 AM   #2
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
you cannot link 32bit libs with 64bit executables
 
1 members found this post helpful.
Old 09-06-2012, 07:26 AM   #3
g_rocket
LQ Newbie
 
Registered: Sep 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks so much.
 
Old 09-06-2012, 09:01 AM   #4
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,377

Rep: Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108
You must recompile the extension using a compatible set of compiler-options, or, better yet, obtain a known-good 64 bit binary package (because then someone else has done the hard stuff for you ... ).

32-bit code makes certain assumptions about the use and content (and width ...) of CPU registers and so-forth, which will not be the case with 64-bit versions. Therefore you are mixing apples and oranges, and of course, winding up with smashed fruit.
 
1 members found this post helpful.
Old 09-06-2012, 11:16 AM   #5
John VV
Guru
 
Registered: Aug 2005
Posts: 12,912

Rep: Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715
a few things
opensuse 12.1 ships using the 32 bit openJDK java ON THE 64 BIT OS
os
links the web browser to the 32 bit plugins using "alternatives "

os

unless YOU installed a different java you have the 32 bit installed

Quote:
and find some way to specify which to use whenever i use a java program
this is already built in
it is called " alternatives "
 
1 members found this post helpful.
Old 09-07-2012, 07:09 AM   #6
g_rocket
LQ Newbie
 
Registered: Sep 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
I think i found a version of the extension compiled for x86_64, but it says it's compiled for fedora. Will it still work on opensuse?
http://rpm.pbone.net/index.php3/stat...86_64.rpm.html
 
Old 09-07-2012, 03:39 PM   #7
John VV
Guru
 
Registered: Aug 2005
Posts: 12,912

Rep: Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715
suse uses the open build system
https://build.opensuse.org/

look there first

also use yast if you have common third party repos installed
OBS , pacman, ....
and the suse wiki
http://en.opensuse.org/Main_Page
and documentation
http://doc.opensuse.org/


fedora rpms are incompatible for any os other that the one version of fedora it was build for
that one is for the soon to be "end of life" fedora 16

Last edited by John VV; 09-07-2012 at 03:41 PM.
 
  


Reply


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
[SOLVED] Java plugin does not work with 64 bit debian Lenny, 32 bit Mozilla 3.6.8, java 1.6_20 Drew Eckhardt Debian 1 02-15-2011 12:24 PM
Sun Java Question for OpenSuse 32 or 64 Bit walla299 Linux - Software 2 04-25-2010 07:45 PM
[OpenSUSE 11.0 - 64 bit] Java error noir911 Linux - Software 0 10-29-2008 11:40 PM
Ubuntu 64-bit, Opera 64-bit, Java not working Debian_Poland Linux - Desktop 6 08-12-2008 01:15 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


All times are GMT -5. The time now is 11:19 AM.

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