A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Sep 18, 2001
Sep 28, 2001 11:35:00
I am unable to access a public class in a default package, from a class inside a specific package.This happens inspite of setting the classpath to the default package class.
Joined: Sep 29, 2000
Sep 28, 2001 12:45:00
In that case it is likely that you have not named the classpath correctly. What is the directory structure that the public class is in, and show us your classpath.
"JavaRanch, where the deer and the Certified play" - David O'Meara
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
Cannot find classes from jsp
Organizing large JSP into smaller chunks
"The use of the default package is discouraged." Should I worry?
access modifiers and inheritance
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013