Re: a little confused about packages...
- From: "Oliver Wong" <owong@xxxxxxxxxxxxxx>
- Date: Thu, 29 Jun 2006 15:44:38 GMT
[post re-ordered]
<jon23d@xxxxxxxxx> wrote in message news:1151570596.217426.170770@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Petterson Mikael wrote:[snip]jon23d@xxxxxxxxx wrote:
> I'm writing a program in an IDE (jbuilder 2005), but when I try to
> compile it I get errors about classes not being found. I figure out
> that it has something to do with the package, so I test it out using a
> smaller version.
[snip]
What do you type to run it?
javac TestPkg.java <--- this works fine
java TestPkg <---- this doesn't!
This is what I've used up until I started using packages, and has
worked fine...
Bjorn gave you the solution, but you can probably avoid a lot of these headaches by just compiling and running your code directly from within the IDE.
- Oliver
.
- Follow-Ups:
- Re: a little confused about packages...
- From: jon23d
- Re: a little confused about packages...
- References:
- a little confused about packages...
- From: jon23d
- Re: a little confused about packages...
- From: Petterson Mikael
- Re: a little confused about packages...
- From: jon23d
- a little confused about packages...
- Prev by Date: Re: How to cause IE to use specific plugin?
- Next by Date: Making JAVA methods non-virtual
- Previous by thread: Re: a little confused about packages...
- Next by thread: Re: a little confused about packages...
- Index(es):
Relevant Pages
|