Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Java
Understanding Packages
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="HalcyonWild, post: 617131"] 1. You might need to set classpath to include c:\Java\Packages. Better set the environment variable from My Computer itself. Or, in *nix, set the environment variable using export. If you do set classpath=whatever;anything;.;c:\java\packages in your current window, they might be lost when you open the window again. 2. import the Line and Point classes. import Geometry.Line; import Geometry.Point; 3. As Roedy said, try using different class names than what Java api uses, try naming it ShaunsLine or MyLine etc. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
Understanding Packages
Top