Jump to content
  • Advertisement
Sign in to follow this  
PrettySneaky

java package errors

This topic is 5025 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!