• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Confused with Netbeans

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello. I'm a complete noob to everything java. I just got hired and i'm working on a portal that was written in java. I tried opening a one of the .java files in Netbeans and netbeans is not able to recognize many of the classes that are being used/imported. i'm opening up the file from it's original location in the network. i think my path and classpath environment variables are good. eclipse doesnt seem to have any problem. but i want to use netbeans instead of eclipse. does anyone have an idea what i should do to fix the problem? should i just use eclipse instead? but that doestn really solve the netbeans problem. thanks a lot!
 
John Mapa
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry. my public name didnt follow the rules so i changed it.
 
Marshal
Posts: 79508
379
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

Unlike Eclipse, which seems to be happy if you put files into its folders, NetBeans has a UML file with a list of files in use, and seems to require the files be created inside NetBeans. When I have done that I have had to re-create the folder/package structure and use ctrl-c ctrl-v to copy all the code into the .java files. There must be a simpler way to do it . . .

Anybody else?
 
John Mapa
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi. Thank you. So Netbeans doesn't really care about what's in the path and classpath environment variables? Nor does it care about whether all the other classes are in the same folder as the file that i just opened?

As I said, i opened up a .java file to look at a class from it's original location. All the other classes that it uses is in the same directory and Netbeans complains about those other classes?

What I want to do is to be able to open these files for modification and have netbeans be able to see everything. It would just make things a lot easier.
reply
    Bookmark Topic Watch Topic
  • New Topic