Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Trouble running JDK-1.1.6
@ 1999-01-23 21:24 Designer 7
  0 siblings, 0 replies; 17+ messages in thread
From: Designer 7 @ 1999-01-23 21:24 UTC (permalink / raw)
  To: axp-list

sure.. I will upload it as soon as X is finished.... man... compiling X 
is taking forever!!!! I'm linking it with libffm... 

I will make the java folder in the from_designer_seven dir. 

D.


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: Trouble running JDK-1.1.6
@ 1999-01-23 20:11 Designer 7
  1999-01-23 20:31 ` Peter Petrakis
  0 siblings, 1 reply; 17+ messages in thread
From: Designer 7 @ 1999-01-23 20:11 UTC (permalink / raw)
  To: axp-list

Ah.. that reminds me... I had to create the classes.zip file as the 
tarball I downloaded had the tree, but wasn't in zip format...

D.

>Peter Petrakis wrote:
>> 
>> Hi guys,
>> I got Uncle George's JDK from blackdown and installed it according to
>> the FAQ. My environemnt variables are as follows:
>> 
>> JAVA_HOME=/usr/local/jdk-1.1.6
>> CLASSPATH=.:$JAVA_HOME/jdk-1.1.6/lib/classes.gz
>> PATH=$JAVA_HOME/bin:$PATH
>> DISPLAY=:0
>> 
>> Now I try to compile a simple java proram called welecome.java and 
get
>> this:
>> 
>> java welecome.java
>> Unable to initialize threads: cannot find class java/lang/Thread
>
>That means it can't fine the classes.zip file. Well, it used to be
>called classes.zip. This is the class library that comes with the
>JDK. Make sure it's in your classpath. Are you sure about the
>classes.gz file name. I have yet to play with the Alpha port of
>the JDK but on most other platforms it's called classes.zip.
>
>According to your info above, you're telling the Java VM that your
>class path is:
>
>.:/usr/local/jdk-1.1.6/jdk-1.1.6/lib/classes.gz
>
>Is that right? 
>
>> 
>> What am I missing? My system is a 533LX , RH-5.2, kernel 2.2-final,
>> lesstif-0.87.1 installed to /usr/X11R6. Thanks.
>> 
>> Peter Petrakis
>> 
>> --
>> STCC DEC Alpha Resource Page
>> http://math.stcc.mass.edu/petrakis
>> PeterPan@wn.net  AlphaGuy =)
>> "BLAM! Who the hell are you!? Name's Ash <click clock> Housewares..."
>> 
>> --
>> 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
>
>-- 
>Rich Payne
>www.alphalinux.org
>
>-- 
>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
>



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: Trouble running JDK-1.1.6
@ 1999-01-23 20:09 Designer 7
  0 siblings, 0 replies; 17+ messages in thread
From: Designer 7 @ 1999-01-23 20:09 UTC (permalink / raw)
  To: axp-list

Uh.. first of all javac is the compiler.. java is the interpretor.. I'm 
sure you'll get a lot of similiar responses... but anyways. .. I had 
1.1.6 runnning fine.. and now using 1.1.7...

D.


>Hi guys,
>I got Uncle George's JDK from blackdown and installed it according to
>the FAQ. My environemnt variables are as follows:
>
>JAVA_HOME=/usr/local/jdk-1.1.6
>CLASSPATH=.:$JAVA_HOME/jdk-1.1.6/lib/classes.gz
>PATH=$JAVA_HOME/bin:$PATH
>DISPLAY=:0
>
>Now I try to compile a simple java proram called welecome.java and get
>this:
>
>java welecome.java
>Unable to initialize threads: cannot find class java/lang/Thread
>
>What am I missing? My system is a 533LX , RH-5.2, kernel 2.2-final,
>lesstif-0.87.1 installed to /usr/X11R6. Thanks.
>
>Peter Petrakis
>
>-- 
>STCC DEC Alpha Resource Page
>http://math.stcc.mass.edu/petrakis
>PeterPan@wn.net  AlphaGuy =)
>"BLAM! Who the hell are you!? Name's Ash <click clock> Housewares..."
>
>-- 
>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
>



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


^ permalink raw reply	[flat|nested] 17+ messages in thread
* RE: Trouble running JDK-1.1.6
@ 1999-01-23 16:13 Bob Segrest
  1999-01-23 16:18 ` Paul Tomblin
  0 siblings, 1 reply; 17+ messages in thread
From: Bob Segrest @ 1999-01-23 16:13 UTC (permalink / raw)
  To: axp-list

Hi Peter,

Be sure to consolidate your notes and post a message with the set up details
when you get this stuff figured out...

Bob Segrest                     

-----Original Message-----
From: Peter Petrakis [mailto:peterpan@wn.net]
Sent: Saturday, January 23, 1999 11:07 AM
To: axp-list@redhat.com
Subject: Re: Trouble running JDK-1.1.6


I unzipped and untarred that classes file and then set my classpath to
it and now I get a diferent error. 

java Welcome.java
Can't find class Welcome.java

Here's the source to it.

import java.applet.Applet;
import java.awt.Graphics;

public class Welcome extends Applet {
    public void paint( Graphics g)
    {
	g.drawstring( "Welcome to Java programming!", 25,25 );
    }
}

Any ideas?  Thanks.

Peter Petrakis 

-- 
STCC DEC Alpha Resource Page
http://math.stcc.mass.edu/petrakis
PeterPan@wn.net  AlphaGuy =)
"BLAM! Who the hell are you!? Name's Ash <click clock> Housewares..."

-- 
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] 17+ messages in thread
* RE: Trouble running JDK-1.1.6
@ 1999-01-23 16:11 Bob Segrest
  0 siblings, 0 replies; 17+ messages in thread
From: Bob Segrest @ 1999-01-23 16:11 UTC (permalink / raw)
  To: axp-list

Interesting.....  I haven't done anything at all with Java and I don't know
anything about it to speak of.  I didn't think there was a Java virtual
machine for Alpha Linux.  When I use whatis or apropos to find Java on my
Alpha running RedHat 5.2 nothing shows up except guavac.  

Is the jvm part of the JDK you pulled from Uncle George's ???  

Bob Segrest                     

-----Original Message-----
From: Peter Petrakis [mailto:peterpan@wn.net]
Sent: Saturday, January 23, 1999 10:52 AM
To: axp-list@redhat.com
Subject: Re: Trouble running JDK-1.1.6


> That means it can't fine the classes.zip file. Well, it used to be
> called classes.zip. This is the class library that comes with the
> JDK. Make sure it's in your classpath. Are you sure about the
> classes.gz file name. I have yet to play with the Alpha port of
> the JDK but on most other platforms it's called classes.zip.

I just decompressed classes,gz and zipped as classes.zip
 
> According to your info above, you're telling the Java VM that your
> class path is:
> 
> .:/usr/local/jdk-1.1.6/jdk-1.1.6/lib/classes.gz
> 
> Is that right?

I fixed that. According to env these are my varibles:

JAVA_HOME=/usr/local/jdk-1.1.6
CLASSPATH=.:/usr/local/jdk-1.1.6/lib/classes.zip
DISPLAY=:0.0

I try again and get:

[root@alphagen bjava]# java Welcome.java 
Unable to initialize threads: cannot find class java/lang/Thread

I just unzipped and untar the classes file and found there is a
Thread.class .
Maybe it doesn't like the compression? Thanks.

Peter Petrakis

-- 
STCC DEC Alpha Resource Page
http://math.stcc.mass.edu/petrakis
PeterPan@wn.net  AlphaGuy =)
"BLAM! Who the hell are you!? Name's Ash <click clock> Housewares..."

-- 
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] 17+ messages in thread
* Trouble running JDK-1.1.6
@ 1999-01-23 15:26 Peter Petrakis
  1999-01-23 15:32 ` Paul Tomblin
  1999-01-23 15:42 ` Rich Payne
  0 siblings, 2 replies; 17+ messages in thread
From: Peter Petrakis @ 1999-01-23 15:26 UTC (permalink / raw)
  To: axp-list@redhat.com

Hi guys,
I got Uncle George's JDK from blackdown and installed it according to
the FAQ. My environemnt variables are as follows:

JAVA_HOME=/usr/local/jdk-1.1.6
CLASSPATH=.:$JAVA_HOME/jdk-1.1.6/lib/classes.gz
PATH=$JAVA_HOME/bin:$PATH
DISPLAY=:0

Now I try to compile a simple java proram called welecome.java and get
this:

java welecome.java
Unable to initialize threads: cannot find class java/lang/Thread

What am I missing? My system is a 533LX , RH-5.2, kernel 2.2-final,
lesstif-0.87.1 installed to /usr/X11R6. Thanks.

Peter Petrakis

-- 
STCC DEC Alpha Resource Page
http://math.stcc.mass.edu/petrakis
PeterPan@wn.net  AlphaGuy =)
"BLAM! Who the hell are you!? Name's Ash <click clock> Housewares..."


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

end of thread, other threads:[~1999-01-23 21:51 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-23 21:24 Trouble running JDK-1.1.6 Designer 7
  -- strict thread matches above, loose matches on Subject: below --
1999-01-23 20:11 Designer 7
1999-01-23 20:31 ` Peter Petrakis
1999-01-23 20:09 Designer 7
1999-01-23 16:13 Bob Segrest
1999-01-23 16:18 ` Paul Tomblin
1999-01-23 16:11 Bob Segrest
1999-01-23 15:26 Peter Petrakis
1999-01-23 15:32 ` Paul Tomblin
1999-01-23 15:42 ` Rich Payne
1999-01-23 15:51   ` Peter Petrakis
1999-01-23 16:06     ` Peter Petrakis
1999-01-23 16:30       ` Rich Payne
1999-01-23 16:34         ` Peter Petrakis
1999-01-23 16:20     ` Rich Payne
1999-01-23 16:13       ` Paul Tomblin
1999-01-23 16:41       ` Peter Petrakis

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