LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 08-24-2004, 11:15 PM   #1
Timeturtle
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 42

Rep: Reputation: 15
Java fails on amd64


I just installed gentoo on my amd64 and I wanted to use azureus, so I downloaded the java jre from sun.java.com and when i tried to install it, it tells me the file is corrupt. I can only assume because it is 32 bit? I tried to emerge java jre and it is masked and will not let me download it, and I have no idea how to unmask it, but my guess is that it will error the same as the downloaded client. I tried to emerge blackdown java, and it emerges fine, but java still doesnt work on the system. its like it was never installed. I downloaded the rc1 of blackdown jre for amd64 but both the jre and sdk of that gives me a checksum error and wound install. Im kind of out of ideas and it is getting frustrating. any help would be appreciated.

Thanks a lot.
 
Old 08-25-2004, 01:50 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 56
Sun's Java packages are compiled for Linux 32bit ELF so they are not very helpful to you if you run a 64bit system. The java-config program helps you set up which VM to use. I recently posted about it and while the names of the VM's will be different you should be able to gather some info there.


Håkan
 
Old 08-25-2004, 01:40 PM   #3
Timeturtle
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 42

Original Poster
Rep: Reputation: 15
Your reply about java-config did work to get java running on my computer, but when I run azureus, I am presented with this error:

Code:
turtle@gentoo64 azureus $ ./azureus
Starting Azureus...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.4.2-rc1]
Configuring environment...
Loading Azureus:
java -cp .:Azureus2.jar:swt-mozilla.jar:swt-pi.jar:swt.jar -Djava.library.path=/home/turtle/programs/azureus org.gudy.azureus2.ui.swt.Main ''
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/turtle/programs/azureus/libswt-pi-gtk-3062.so: /home/turtle/programs/azureus/libswt-pi-gtk-3062.so: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)
        at java.lang.Runtime.loadLibrary0(Runtime.java:788)
        at java.lang.System.loadLibrary(System.java:834)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
        at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
        at org.eclipse.swt.widgets.Display.<clinit>(Display.java:118)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:58)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:45)
        at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:70)
        at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:64)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:104)
Azureus TERMINATED.
perhaps im not installing something, or I needed to point it to a different directory? Obviously if it isnt finding java system files, it isnt installed correctly. Any help with this would be really helpful.

I am running the blackdown-jre-1.4.2_rc1 vm if you need to know.

thanks for the reply.

Also, when I tried to install the system vm, It gave me this output:

Code:
root@gentoo64 blackdown-jre # java-config -S blackdown-jre-1.4.2_rc1 
javac not found at /opt/blackdown-jre-1.4.2_rc1/bin/javac or /opt/blackdown-jre-1.4.2_rc1/jre/bin/
javac javadoc not found at /opt/blackdown-jre-1.4.2_rc1/bin/javadoc or /opt/blackdown-jre-1.4.
2_rc1/jre/bin/javadoc jar not found at /opt/blackdown-jre-1.4.2_rc1/bin/jar or /opt/blackdown-jre-1.4.
2_rc1/jre/bin/jar rmic not found at /opt/blackdown-jre-1.4.2_rc1/bin/rmic or /opt/blackdown-jre-1.4.
2_rc1/jre/bin/rmic THIS SYSTEM VM IS NOT SUFFICIENT, REQUIRED BINARIES WERE NOT
 FOUND System Virtual Machine set You may want to update your enviroment by running:         "/
usr/sbin/env-update && source /etc/profile"
It claims to have installed it, so I just continued anyway. I got no error when installing the user vm.

Last edited by Timeturtle; 08-25-2004 at 01:53 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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Plugin on AMD64 jeffk42 Linux - Newbie 5 04-21-2005 01:07 PM
java 1.3.1 on amd64??? javierj Linux - Newbie 1 04-13-2005 10:32 PM
Java plugin for Firefox on AMD64 Builder Linux - Software 14 04-13-2005 08:57 AM
where's java for amd64 barrys Mandriva 1 11-22-2004 09:22 AM
installing Java in 64-bit FC2 w/ AMD64 PolishSausageof Linux - Software 3 10-12-2004 10:06 PM


All times are GMT -5. The time now is 01:02 PM.

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
Open Source Consulting | Domain Registration