Back | Reverse | Quick Reply | Post Reply |

Packages in Java?
Link | by YoGa on 2005-09-18 09:46:08
I need to put a class in a package..So,..
I wrote:
package PackageName;
in the first line of the class....

My problem is...How to compile the class??
Should I change the CLASSPATH?and how to change the classpath?
Please Help me!!!

YoGa

Re: Packages in Java?
Link | by styz on 2005-09-18 17:32:13 (edited 2005-09-18 17:34:04)
about the classpath
windows: SET PATH=[path]
unix: export [path]

From ordinary human..to a flame master..to Orochi..

Re: Packages in Java?
Link | by YoGa on 2005-09-21 01:09:03
Thanks,..
But,I think there was a problem with the jdk..
so,I reinstalled it

YoGa

Back | Reverse | Quick Reply | Post Reply |

Copyright 2000-2024 Gendou | Terms of Use | Page loaded in 0.0021 seconds at 2024-05-18 19:06:03