HELP!! Iam new in JAVA  
Author Message
paz.carlos





PostPosted: 2007-9-25 8:48:00 Top

java-programmer, HELP!! Iam new in JAVA I am geting this error in JGRASP:

Lab01.java:2: package edu.pace does not exist
How do I fix it......????

 
Lew





PostPosted: 2007-9-25 10:34:00 Top

java-programmer >> HELP!! Iam new in JAVA email***@***.com wrote:
> 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".

--
Lew
 
Roedy Green





PostPosted: 2007-9-25 11:01:00 Top

java-programmer >> HELP!! Iam new in JAVA On Mon, 24 Sep 2007 17:47:43 -0700, email***@***.com wrote, quoted
or indirectly quoted someone who said :

>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.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
 
 
Larry Barowski





PostPosted: 2007-9-27 21:42:00 Top

java-programmer >> HELP!! Iam new in JAVA
<email***@***.com> wrote in message
news:email***@***.com...
>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".