Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / September 2007

Tip: Looking for answers? Try searching our database.

HELP!! Iam new in JAVA

Thread view: 
paz.carlos@gmail.com - 25 Sep 2007 01:47 GMT
I am geting this error in JGRASP:

Lab01.java:2: package edu.pace does not exist
How do I fix it......????
Lew - 25 Sep 2007 03:33 GMT
> I am geting this error in JGRASP:
>
> Lab01.java:2: package edu.pace does not exist
>  How do I fix it......????

I don't know JGRASP but I can say that you haven't got your classpath right yet.

I suggest that you review
<http://java.sun.com/docs/books/tutorial/java/package/index.html>
and either
<http://java.sun.com/javase/6/docs/technotes/tools/solaris/javac.html>
or
<http://java.sun.com/javase/6/docs/technotes/tools/windows/javac.html>
as appropriate to your situation.  (Linux is like Solaris.)

Then study
<http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/classpath.html>
or
<http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/classpath.html>
as the case may be.

In the spirit of exactness imposed by computers and computer languages, I
advise that the language is spelled "Java".

Signature

Lew

Roedy Green - 25 Sep 2007 04:01 GMT
>Lab01.java:2: package edu.pace does not exist

see http://mindprod.com/jgloss/package.html
http://mindprod.com/jgloss/classpath.html

Also read the installation instructions for JGrasp.  It looks as
though you left something out.
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

Larry Barowski - 27 Sep 2007 14:35 GMT
>I am geting this error in JGRASP:
>
> Lab01.java:2: package edu.pace does not exist
> How do I fix it......????

You can use "Settings" / "PATH/CLASSPATH" in jGRASP to add
classpaths to either the project or workspace. If this library is in a
jar file, add the jar file; otherwise, add the directory containing "edu".


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.