TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

JDK-1.1.7/Motif fix--use a SledgeHammer :)



Hey Thanks for the caveat!!

I decided to not use the RPM since I need it now and the RPM currently
sucks.

I got me a tarball from a blackdown mirror, namely:
	jdk_1_1_7-v1a-glibc-x86_tar.gz
and saved it to my /opt/download directory (like the dir matters ...)
then I went to the /usr/lib directory and did me a 
	tar -xzvf /opt/download/jdk_1_1_7-v1a-glibc-x86_tar.gz
This made a  jdk117_v1a directory.
I then did a 
	ln -s  jdk117_v1a/  jdk-1.1.7
Then I put a line in my /etc/profile

	### append to /etc/profile
	source /usr/local/bin/java.env
	###

and....

The file java.env goes like this:

###  This file sets the environment variables for Java(tm)
###

CLASSPATH="/usr/lib/jdk-1.1.7/lib/classes.zip:$CLASSPATH"
JDK_HOME="/usr/lib/jdk-1.1.7"
JAVA_HOME="/usr/lib/jdk-1.1.7"
PATH="$PATH:/usr/lib/jdk-1.1.7/bin"

export CLASSPATH JDK_HOME JAVA_HOME PATH

### End java.env

I rebooted to make the envronment variables all happy and stuff and it works
dandy.  The java.env script and the symlink serve as a substitute for the
env variables used in the RPM jdk install.

Thanks for the help.

Mark


> -----Original Message-----
> From:	Michael Hicks [SMTP:hick0088@tc.umn.edu]
> Sent:	Monday, December 07, 1998 12:50 PM
> To:	tclug-list@listserv.real-time.com
> Subject:	Re: [TCLUG:2607] Installing JDK 1.1.7......libXm problem
> 
> > I am trying to install the jdk-1_1_7_1a-2glibc_i386.rpm package.
> > 
> > I get a message
> > 
> > failed dependencies:
> >         libXm.so.2 is needed by jdk-1.1.7.1a-2glibc
> > 
> > when trying to install.  What's libXm.so ? And where do I get it?
> 
> The infamous Motif 2.0 libraries..  You should look for a package that
> has "static" in it (I think..)   Either that, or whoever made the RPM
> should do it again, statically linking the Motif libs..  (unless you
> want to shell out the cash for it...)
> 
> I'm just wondering when Java will start using GTK or something...
	[Schlough, Mark]  
	I hope soon.  I wonder if it will be able to hook up ok with Swing.

> -- 
> .------ ----- ---- ---- --- --- -- -- - -  -   -    -
> |               Mike Hicks | Linux User Since: 1.2.13
> : http://umn.edu/~hick0088 | mailto:hick0088@tc.umn.edu
> `              icq:6883760 | Current Kernel: 2.1.129
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
> For additional commands, e-mail: tclug-list-help@listserv.real-time.com
> Try our website: http://tclug.real-time.com