LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-03-2005, 01:35 PM   #1
ivoencarnacao
LQ Newbie
 
Registered: Feb 2005
Distribution: Ubuntu Linux
Posts: 15

Rep: Reputation: 0
Installing J2SE 1.5.0


Is it supposed to be any problems installing the latest version of the Java SDK from Sun on Slack 10.2?

What sould be the better way for installing it? Since there aren't any .tgz packages available.



Thanks for you help,
Ivo Encarnacao.
 
Old 10-03-2005, 01:43 PM   #2
Lars79
Member
 
Registered: Jan 2004
Distribution: Slackware
Posts: 96

Rep: Reputation: 15
Hello,

I have no experience with Slackware 10.2, but the JDK installation shouldn't be a problem. If you haven't already done so, download the latest version of the JDK from Sun. It will be called something like jdk-<version>-linux-i586.bin.

First, make sure the file is executable:
Code:
chmod +x jdk-<version>-linux-i586.bin
Because the file creates an installation folder at the place where it is run, copy it to the appropriate location:
Code:
cp jdk-<version>-linux-i586.bin /usr/lib/
Run the file as root:
Code:
./jdk-<version>-linux-i586.bin
The JDK files are installed in a directory called jdk<version> in /usr/lib. That's it.

Something I do is to create a symlink which points to the actual JDK. Whenever I upgrade I only have to create a new symlink and everything is fine:
Code:
ln -s jdk<version> java
You can now use the symlink for all the applications that need Java (Browser plugins, OpenOffice, etc.).

Lars
 
Old 10-03-2005, 02:34 PM   #3
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 51
I just bumped a thread that might be of interest to you..

http://www.linuxquestions.org/questi...hreadid=364852

Your subject mentions j2se but you talk about j2sdk in the thread. The build script from the above link is jdk specific. Especially with regards to /etc/profile.d

If you wanted a new j2se package, you could use Pat's build script in FTP and just change the variables.

I noticed in a changelog from a little while back that Slackware dropped JDK.. Is this true? I looked for it briefly but couldn't find a JDK package. I suppose it could be in extra somewhere.

Last edited by jong357; 10-03-2005 at 02:42 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
J2SE: Configuration Dark Severance Red Hat 2 05-09-2005 10:33 AM
Slackware 10.1 and J2SE 1.4.x License question nosaku Slackware 6 12-15-2004 09:23 AM
How to set J2SE SDK environment variables on Fedora 2 jjunge Programming 2 07-28-2004 02:27 PM
How to install J2SE on Core 1? DeepSPiN Fedora 0 02-16-2004 05:10 AM
problems installing J2SE on REDHAT 9.0 sP1v Linux - Newbie 5 05-15-2003 07:03 PM


All times are GMT -5. The time now is 06:12 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
Open Source Consulting | Domain Registration