File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
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
It is sorta covered in the
JavaRanch Style Guide
Organizing large JSP into smaller chunks
Cannot find classes from jsp
access modifiers and inheritance
"The use of the default package is discouraged." Should I worry?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015