Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Java , JDK 1.1.5 & Kaffe :)
@ 1998-05-25 17:26 Gavin
  1998-05-25 18:12 ` Uncle George
  0 siblings, 1 reply; 3+ messages in thread
From: Gavin @ 1998-05-25 17:26 UTC (permalink / raw)
  To: axp-list

Hi

I am Running my AS400 with RH50 and all errata patches.

I have installed Uncle Georges JDK 1.1.5 in /usr/local/jdk1.1.5/
and i have got kaffe 0.92 installed (got the RPM from RH Contrib)

I would like to run Volanos Chat Server .. its a Java program. It is
installed in /usr/vcserver

when in /usr/vcserver trying "jre COM.volano.Main" i get class not found
COM.volano.Main
using "java COM.volano.Main" i get the same ...

I have JDK_HOME=/usr/local/jdk1.1.5 set.

When i try "Kaffe COM.volano.Main"
i get the error :
"Failed to locate native library in path:
    /usr/lib
Aborting."

I dont know what lib it is missing .. i tried 'ldd kaffe' (in /usr/bin)
and got

libkaffevm.so => /usr/lib/libkaffevm.so (0x000001555555a000)
        libc.so.6.1 => /lib/libc.so.6.1 (0x00000155556c2000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0000000000000000)
        libm.so.6.1 => /lib/libm.so.6.1 (0x00000155558aa000)
        libdl.so.2.1 => /lib/libdl.so.2.1 (0x00000155559da000)

so i dont think anythings missing ..

for kaffe i have set CLASSPATH=.:/usr/local/jdk1.1.5/lib/classes.zip

i am running out of ideas .. any one got a sugesstion ?

Regardes

Gavin Woodhatch



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Java , JDK 1.1.5 & Kaffe :)
  1998-05-25 17:26 Java , JDK 1.1.5 & Kaffe :) Gavin
@ 1998-05-25 18:12 ` Uncle George
  1998-05-25 19:48   ` Gavin
  0 siblings, 1 reply; 3+ messages in thread
From: Uncle George @ 1998-05-25 18:12 UTC (permalink / raw)
  To: gavin; +Cc: axp-list

i suppose one should ask where is the class?

when i dont understand where the class is, or should be i try
strace 'ing the java execition. eventually java will try to locate ur class,
and u can see whats its trying to open in terms of classes and all sorts of
other stuff

BTW when u say java it really executes a shell script, which will eventually
exec bin/alpha/green_threads/java
BTW2 Every time i see as400, i smell ibm blue.
gat

Gavin wrote:

> Hi
>
> I am Running my AS400 with RH50 and all errata patches.
>
> I have installed Uncle Georges JDK 1.1.5 in /usr/local/jdk1.1.5/
> and i have got kaffe 0.92 installed (got the RPM from RH Contrib)
>
> I would like to run Volanos Chat Server .. its a Java program. It is
> installed in /usr/vcserver
>
> when in /usr/vcserver trying "jre COM.volano.Main" i get class not found
> COM.volano.Main
> using "java COM.volano.Main" i get the same ...
>
> I have JDK_HOME=/usr/local/jdk1.1.5 set.
>
> When i try "Kaffe COM.volano.Main"
> i get the error :
> "Failed to locate native library in path:
>     /usr/lib
> Aborting."
>
> I dont know what lib it is missing .. i tried 'ldd kaffe' (in /usr/bin)
> and got
>
> libkaffevm.so => /usr/lib/libkaffevm.so (0x000001555555a000)
>         libc.so.6.1 => /lib/libc.so.6.1 (0x00000155556c2000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0000000000000000)
>         libm.so.6.1 => /lib/libm.so.6.1 (0x00000155558aa000)
>         libdl.so.2.1 => /lib/libdl.so.2.1 (0x00000155559da000)
>
> so i dont think anythings missing ..
>
> for kaffe i have set CLASSPATH=.:/usr/local/jdk1.1.5/lib/classes.zip
>
> i am running out of ideas .. any one got a sugesstion ?
>
> Regardes
>
> Gavin Woodhatch
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Java , JDK 1.1.5 & Kaffe :)
  1998-05-25 18:12 ` Uncle George
@ 1998-05-25 19:48   ` Gavin
  0 siblings, 0 replies; 3+ messages in thread
From: Gavin @ 1998-05-25 19:48 UTC (permalink / raw)
  To: Uncle George, axp-list

hi gat :)

ok i did a jre COM.volano.chat.server.Main .. and that worked ..
with strace saw what file it was looking for ..
sorry about the AS400 .. :-) its an Alpha Staion 400 :))
PS. i have tried something else ..  (newer version)

and i get

 libXm.so.1: cannot open shared object file: No such file or directory
(libawt.so)
Sorry, could not extract this archive
java.lang.UnsatisfiedLinkError: no awt in shared library path
        at java.lang.Runtime.loadLibrary(Runtime.java)
        at java.lang.System.loadLibrary(System.java)
        at
        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:402)
        at java.awt.Font.initializeFont(Font.java:114)
        at java.awt.Font.<init>(Font.java:129)
        at installshield.jshield.runtime.InfoContainer.load(InfoContainer.java:)

        at installshield.jshield.runtime.InfoContainer.equals(InfoContainer.jav)

        at vchat200.initiateGUI(install.java:281)
        at vchat200.<init>(install.java:232)
        at vchat200.main(install.java:438)

what am i missing .. ?

Regards Gavin

Uncle George wrote:

> i suppose one should ask where is the class?
>
> when i dont understand where the class is, or should be i try
> strace 'ing the java execition. eventually java will try to locate ur class,
> and u can see whats its trying to open in terms of classes and all sorts of
> other stuff
>
> BTW when u say java it really executes a shell script, which will eventually
> exec bin/alpha/green_threads/java
> BTW2 Every time i see as400, i smell ibm blue.
> gat
>
> Gavin wrote:
>
> > Hi
> >
> > I am Running my AS400 with RH50 and all errata patches.
> >
> > I have installed Uncle Georges JDK 1.1.5 in /usr/local/jdk1.1.5/
> > and i have got kaffe 0.92 installed (got the RPM from RH Contrib)
> >
> > I would like to run Volanos Chat Server .. its a Java program. It is
> > installed in /usr/vcserver
> >
> > when in /usr/vcserver trying "jre COM.volano.Main" i get class not found
> > COM.volano.Main
> > using "java COM.volano.Main" i get the same ...
> >
> > I have JDK_HOME=/usr/local/jdk1.1.5 set.
> >
> > When i try "Kaffe COM.volano.Main"
> > i get the error :
> > "Failed to locate native library in path:
> >     /usr/lib
> > Aborting."
> >
> > I dont know what lib it is missing .. i tried 'ldd kaffe' (in /usr/bin)
> > and got
> >
> > libkaffevm.so => /usr/lib/libkaffevm.so (0x000001555555a000)
> >         libc.so.6.1 => /lib/libc.so.6.1 (0x00000155556c2000)
> >         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0000000000000000)
> >         libm.so.6.1 => /lib/libm.so.6.1 (0x00000155558aa000)
> >         libdl.so.2.1 => /lib/libdl.so.2.1 (0x00000155559da000)
> >
> > so i dont think anythings missing ..
> >
> > for kaffe i have set CLASSPATH=.:/usr/local/jdk1.1.5/lib/classes.zip
> >
> > i am running out of ideas .. any one got a sugesstion ?
> >
> > Regardes
> >
> > Gavin Woodhatch
> >
> > --
> > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-05-25 19:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-25 17:26 Java , JDK 1.1.5 & Kaffe :) Gavin
1998-05-25 18:12 ` Uncle George
1998-05-25 19:48   ` Gavin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox