LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   java with mozilla and open office (https://www.linuxquestions.org/questions/linux-newbie-8/java-with-mozilla-and-open-office-87875/)

phatish 09-01-2003 03:27 AM

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

aizkorri 09-01-2003 04:09 AM

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)

Looking_Lost 09-01-2003 05:20 AM

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

phatish 09-01-2003 06:45 AM

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..

XavierP 09-01-2003 06:56 AM

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.


All times are GMT -5. The time now is 10:04 PM.