openSUSE Forums > New User How To/FAQ (read only) > Unreviewed How To and FAQ » installing 64bit Java on openSUSE 11.1

Go Back   openSUSE Forums > New User How To/FAQ (read only) > Unreviewed How To and FAQ
Forums FAQ Members List Search Today's Posts Mark Forums Read


Unreviewed How To and FAQ POST HERE: Tips and solutions for SUSE Linux from the community. (Please do not post questions)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-Feb-2009, 09:30
kamilsok's Avatar
Puzzled Penguin
 
Join Date: Nov 2008
Location: Gdynia, Poland
Posts: 46
kamilsok hasn't been rated much yet
Send a message via Skype™ to kamilsok
Cool installing 64bit Java on openSUSE 11.1

This JDK (JRE) version is still in development, but for me it works and is very stable. If You have any problems, go to this forum.

1. Download the latest JDK (JRE) for 64bit systems from this site. This is the 3rd build of JDK (JRE) SE 6u12 (DO NOT download the binary .rpm file, it’ll break Your system; download the binary self-extracting file; You can find the install instructions here).

2. Now open terminal, and (as root) go to the destination, were You store the downloaded files:

su root
cd <download folder>


3. When You’re there, You have to set the executable permissions:

chmod +x

4. Now copy the binary to the destination folder of Your choice (I’ll use mine as example):

cp jdk-6u12-ea-bin-b03-linux-amd64-22_dec_2008.bin /usr/java

You may want to create a new folder. In that case type:

mkdir /usr/java


5. Now go to the directory:

cd /usr/java

and execute the binary:

./jdk-6u12-ea-bin-b03-linux-amd64-22_dec_2008.bin

The installation will start. You’ll be prompt to accept the license agreement.

6. The last thing to do is to set up a link to You’re browser (I have only tried this plugin on Firefox 3.04, but it should work for Opera as well):

ln -s /usr/java/jdk1.6.0_12/jre/lib/amd64/libnpjp2.so /usr/lib64/browser-plugins/libnpjp2.so

The browser-plugins folder is a general plug-in directory for all web browsers, although it isn’t general for all distros (Ubuntu for example doesn’t have it).

And that’s it. If You have any questions, feel free to ask.
__________________
kamilsok.wordpress.com
pldspot.wordpress.com

HP Compaq 6710b, IC2D T7100 1.8GHz, 3GB RAM DDR2 667MHz , HDD SATA 120 GB, openSUSE 11.1 64bit
Reply With Quote
  #2 (permalink)  
Old 01-Feb-2009, 11:36
Puzzled Penguin
 
Join Date: Nov 2008
Posts: 11
mirtosat hasn't been rated much yet
Thumbs up Re: installing 64bit Java on openSUSE 11.1

Super article! Worked for me.
I was struggling to find the correct download. Thanks for the link and walk-through.
Reply With Quote
  #3 (permalink)  
Old 18-Feb-2009, 03:23
kamilsok's Avatar
Puzzled Penguin
 
Join Date: Nov 2008
Location: Gdynia, Poland
Posts: 46
kamilsok hasn't been rated much yet
Send a message via Skype™ to kamilsok
Default Re: installing 64bit Java on openSUSE 11.1

Now that the 6u12 is out of development and in to public release, You can use this HOWTO to install it (just change the file name after download, everything stays the same)
__________________
kamilsok.wordpress.com
pldspot.wordpress.com

HP Compaq 6710b, IC2D T7100 1.8GHz, 3GB RAM DDR2 667MHz , HDD SATA 120 GB, openSUSE 11.1 64bit
Reply With Quote
  #4 (permalink)  
Old 24-Mar-2009, 16:22
Puzzled Penguin
 
Join Date: Feb 2009
Posts: 16
oshunluvr hasn't been rated much yet
Send a message via Skype™ to oshunluvr
Default Re: installing 64bit Java on openSUSE 11.1

This didn't work for java-plugin with opera. Launch opera from the CLI with "--debugplugin". Attempt to load java, if it doesn't work you should see the error "opera: libjvm.so: cannot open shared object file: No such file or directory".

If this is the case, try these commands at the CLI:

cd /usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre/lib/amd64
su -c 'ln -s server/libjvm.so'
Reply With Quote
  #5 (permalink)  
Old 28-Apr-2009, 12:58
Puzzled Penguin
 
Join Date: Sep 2008
Posts: 18
cthubik hasn't been rated much yet
Default Re: installing 64bit Java on openSUSE 11.1

Thanks a lot, after much searching your solution works. Maybe in the future opera's launch script could be fixed to accommodate this without having to create a symlink?

Quote:
Originally Posted by oshunluvr View Post
This didn't work for java-plugin with opera. Launch opera from the CLI with "--debugplugin". Attempt to load java, if it doesn't work you should see the error "opera: libjvm.so: cannot open shared object file: No such file or directory".

If this is the case, try these commands at the CLI:

cd /usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre/lib/amd64
su -c 'ln -s server/libjvm.so'
Reply With Quote
  #6 (permalink)  
Old 29-Apr-2009, 11:42
doctorjohn2's Avatar
Explorer Penguin
 
Join Date: Jun 2008
Location: Mangalore, Karnataka, India
Posts: 170
doctorjohn2 hasn't been rated much yet
Default Re: installing 64bit Java on openSUSE 11.1

I use Iced Tea
OpenJDK - openSUSE

Also read this
Java/How To use Java with Firefox on 64-bit openSuSE 10.3 - openSUSE
__________________
nucleuskore
"The Future Is Open"
http://www.neville.in
http://www.linuxrocks.in
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2