Results 1 to 2 of 2
Thread: Package Compiling
- 02-23-2009, 02:15 PM #1
Member
- Join Date
- Jan 2009
- Posts
- 1
- Rep Power
- 0
Package Compiling
I have a project that currently has 2 packages associated with it. I have been using Eclipse to compile and run the project, but now I need to take the same project and run it on a *nix machine. I have a current folder structure that looks like: /home/username/test/src/package1 where package1 holds the Main java class and other accompanying classes. Inside that package1 folder, I have a package2 folder that holds other java files that are used by the program, but are not a main part of it. So I have 2 packages in the following locations:
/home/username/test/src/package1
/home/username/test/src/package1/package2
I have tried to compile just the Main.java class, but the compiler throws out errors saying it cant find the other java classes in the package1 folder. I'm hoping it is some option that I am not declaring. Any help is appreciated.
- 02-23-2009, 02:56 PM #2
Similar Threads
-
[SOLVED] Compiling Package Class
By nwboy74 in forum New To JavaReplies: 3Last Post: 11-14-2008, 11:19 PM -
note while compiling
By j2vdk in forum New To JavaReplies: 3Last Post: 09-03-2008, 11:52 PM -
Compiling error
By lawksalih in forum New To JavaReplies: 6Last Post: 01-29-2008, 07:26 PM -
Compiling a class in a package from cmd
By Java Tip in forum Java TipReplies: 0Last Post: 12-17-2007, 10:27 AM -
Importing / compiling and running with .jar package
By splinter64uk in forum New To JavaReplies: 1Last Post: 12-05-2007, 02:47 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks