Sign in to follow this  
PrettySneaky

java package errors

Recommended Posts

I currently having huge problems with java packages. I coding my project with eclipse on my WinXp machine. It works just fine. but when i try to compile my code on a Red hat machine i have to remove the line: package package_name otherwise the program refuse to compile unless i copile like this: javac *.java but then i get strange linker errors when i try to run the class with the main function. java package_name.main_class doesn't work either.

Share this post


Link to post
Share on other sites
Or maybe it's something in eclipse that you haven't properly set... but if it's the case, I can't help you more because I don't use Eclipse at all...

Good luck ! I'm sure there are some Eclipse gurus on this board...

Chman

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this