Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Package Options
Package Options [message #879190] Wed, 30 May 2012 17:51 Go to next message
exquisitus is currently offline exquisitusFriend
Messages: 211
Registered: July 2009
Senior Member
When creating the HelloWorld.class (tutorial), I get the warning: "The
use of the default package is discouraged."
What Package Option should be used?

Help for the clueless will be greatly appreciated :-)
Thanks, Tracey
BTW HelloWorld ran fine at the cmd line (w/o any package)
Re: Package Options [message #879215 is a reply to message #879190] Wed, 30 May 2012 19:13 Go to previous message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
Java classes belong to packages. The default package is really the lack of a specific package for the Java class. You should really get in the habit of putting your Java classes in packages. Newer versions of the JDK place restrictions on what classes are accessible from the default package.
Previous Topic:Confusion with making new projects/java files
Next Topic:Jbuilder to Eclipse?
Goto Forum:
  


Current Time: Thu Apr 18 00:04:58 GMT 2024

Powered by FUDForum. Page generated in 0.04527 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top