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

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Java - package UU not found

[ILUG] Java - package UU not found

Sean O'Donnell sodonnell at campusit.net
Mon Dec 2 09:47:03 GMT 2002


when you say you copied them, what did you do,
copy the text.class file into /usr/java/j2sdk1.4.1_01/classes
or copy the uu folder?

if the classes are in a package called uu , you will need to have
them in a folder called uu on the classpath in order for them to be found.

likewise if they are in a package called ie.myurl.uu, they will need to 
be in   classes/ie/myurl/uu

-----Original Message-----
From: eric nichols [mailto:matchsprint at trackbike.com]
Sent: 01 December 2002 18:01
To: ilug at linux.ie
Subject: [ILUG] Java - package UU not found


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
-- 
Irish Linux Users' Group: ilug at linux.ie
http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
List maintainer: listmaster at linux.ie



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