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
I agree. Here's the link:
access modifiers and inheritance
"The use of the default package is discouraged." Should I worry?
Cannot find classes from jsp
Organizing large JSP into smaller chunks
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014