LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-01-2003, 03:27 AM   #1
phatish
Member
 
Registered: Jul 2003
Posts: 31

Rep: Reputation: 15
Question java with mozilla and open office


hi...i'm using slackware and i want to install java in it...i tried to untar it to /usr/local but thats about all i did...seems like open office can't detect the java. and mozilla can't upgrade as well...thanks for all your help
 
Old 09-01-2003, 04:09 AM   #2
aizkorri
Member
 
Registered: Feb 2002
Location: Basque Country
Distribution: Fedora 14, Ubuntu 14.04
Posts: 434
Blog Entries: 1

Rep: Reputation: 55
so, what kind of package have you got, sdk?
then you have untarred it in /usr/local...
Well, then it should be installed doing:
./configure
make
make install (as superuser)
 
Old 09-01-2003, 05:20 AM   #3
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
If all you've done is unpack it in /usr/local there'll be depending on whether it's the jre or sdk

j2sdk_whatever_theversion.bin

chmod u+x j2sdk_whatever_theversion.bin

./j2sdk_whatever_theversion.bin

And that'll create the the directory for it and install it in /usr/local as
you guessed it

j2sdk_whatever_theversion (or slightly different name if it's just the runtime environment you got)

Open Office should detect it if you put in
/etc/profile

Code:
JAVA_HOME=path_to_the_java_directory_you just installed

EXPORT JAVA_HOME
logout and back in again

Last edited by Looking_Lost; 09-01-2003 at 05:21 AM.
 
Old 09-01-2003, 06:45 AM   #4
phatish
Member
 
Registered: Jul 2003
Posts: 31

Original Poster
Rep: Reputation: 15
there's no configure file in it...so..how do i go about doing it?...i downloaded another one with .bin ... don't know how to install those kind of files..any help..
 
Old 09-01-2003, 06:56 AM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Just do what Looking_Lost said to do:
type chmod u+x j2sdk_whatever_theversion.bin and hit enter
then type ./j2sdk_whatever_theversion.bin and follow the onscreen instructions.
(and then do all the other stuff Looking_Lost said)

And it should all work fine.

If it doesn't, post what you did and any error messages that appear and we'll help with troubleshooting.
 
  


Reply



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
Java JDK 1.5.0.01 and Open Office 1.1.4 hazelnusse Linux - Software 0 01-19-2005 04:26 AM
Mozilla and Open Office Wholeeo Fedora 4 03-26-2004 11:39 AM
Star office / Open Office on Sony Picturebook kkempter Linux - Laptop and Netbook 4 12-11-2003 01:34 PM
Installation of Java runtime 1.4.1_05 for Open Office 1.1 tungsten Linux - Software 5 10-05-2003 11:37 PM
Installing Open Office and J2RE... where is Java? bxb32001 Linux - Software 6 07-03-2002 09:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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