LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

Fwd: Re: [ILUG] Java - package UU not found

Fwd: Re: [ILUG] Java - package UU not found

Barry O'Donovan barryodonovan at eircom.net
Mon Dec 2 13:43:03 GMT 2002


Sorry - I meant to send this to the list this morning.

Apologies

----------  Forwarded Message  ----------

Subject: Re: [ILUG] Java - package UU not found
Date: Mon, 2 Dec 2002 09:08:11 +0000
From: Barry O'Donovan <barryodonovan at eircom.net>
To: matchsprint at trackbike.com

Firstly, you say you pasted the classes from the floppy to your HDD. Let's
assume you copied them to home/username/classes/

Then try to compile your program with:

export
CLASSPATH=$CLASSPATH:/usr/java/j2sdk1.4.1_01/classes:/home/username/classes:.

javac youclass.java

If that doesn't wprk, you could explicity tell the compiler where to find the
classes with:

javac -classpath /home/username/classes yourclass.java
and run with
java -classpath /home/username/classes yourclass

Regards,
Barry

On Sunday 01 December 2002 18:01, eric nichols wrote:
> I downloaded and installed the j2sdk and set the path so programs compile
> with javac and run with the java command - when I import java.io.*;.
> However, if I try to import UU.*;, I get a message saying "package UU not
> found". I asked a professor at school about it, and was told to go to the
> school's C drive and copy the "classes" (windows os) folder with a "uu"
> folder inside it, which has "Text.java" and "Text.class" files in it. I
> copied them to a floppy and pasted them on to my computer (with RedHat
> 7.3). I then wrote:
>
> export CLASSPATH=$CLASSPATH:/usr/java/j2sdk1.4.1_01/classes
>
> in my /home/eric/.bashrc and also in /etc/profile, but the compiler still
> can't find the UU package. I get a "NoClassDefFoundError". I googled for
> hours, but couldn't find another way to do it. Can someone shed some light
> about what I'm doing wrong. Thanks in advance, Eric
>
>
>
> _____________________________________________________________
> email services provided by trackbike.com, your source for alleycat and
> trackbike photos. submissions welcome.
>
> _____________________________________________________________
> Select your own custom email address for FREE! Get you at yourchoice.com w/No
> Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag

--
Regards,
Barry O'Donovan  -  barry.odonovan at ucd.ie  -  http://ihl.ucd.ie

Mobile: +353 (0)86 2891589, Office: +353 (0)1 716 2454

Roinn na Ríomheolaíochta, An Coláiste Ollscoile, Baile Átha Cliath.
Department of Computer Science, University College Dublin.

-------------------------------------------------------


-- 
Regards,
Barry O'Donovan  -  barry.odonovan at ucd.ie  -  http://ihl.ucd.ie

Mobile: +353 (0)86 2891589, Office: +353 (0)1 716 2454

Roinn na Ríomheolaíochta, An Coláiste Ollscoile, Baile Átha Cliath.
Department of Computer Science, University College Dublin.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell