Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Need some help moving to Eclipse

  1. #1
    Junior Member
    Join Date
    May 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need some help moving to Eclipse

    Hey guys - it's been a while since I've used Java but I recently wrote a little program to parse FAT data structures for a file systems class I'm in, in order to help make a homework assignment easier/faster. I've decided that I want to continue to work on the project to make it more comprehensive, but I have a few issues:

    As I wanted to get the program done as quickly as possible, I wrote it in BlueJ, the only environment I've ever coded in. The program works as intended but all of my methods are contained within one class and I know that if I want to do anything really valuable with it, I'm going to have to bring the project into Eclipse and organize it a little better.

    Unfortunately, I really have no idea what I'm doing with eclipse, and any tutorials I have found online have proven to be of little help - I can't seem to grasp some of the basic concepts behind the organizational structure of a java program (packages, classes, libraries - what do all these really mean?, etc.). Do you guys have any tips for learning how to code/develop in Eclipse? I have a great understanding of the programming language and I feel as though I'll be able to make a sweet project but I just have no idea where to start in terms of moving my project over and continuing to work on it.

    Do you guys have any tips for what my next course of action should be? Has anyone gone through the same situation as me? Any help would be greatly appreciated.

    Thanks!!


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Need some help moving to Eclipse

    None of what you mentioned is really an eclipse issue. They're more issues with "real" Java, regardless of what IDE you're using.

    I might recommend starting out without any IDE- use a basic text editor and the command line. When you get a handle on the setup of a "real" Java project, then import it into eclipse.

    Recommended reading: Creating and Using Packages (The Java™ Tutorials > Learning the Java Language > Packages)
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Junior Member
    Join Date
    May 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Need some help moving to Eclipse

    Quote Originally Posted by KevinWorkman View Post
    None of what you mentioned is really an eclipse issue. They're more issues with "real" Java, regardless of what IDE you're using.

    I might recommend starting out without any IDE- use a basic text editor and the command line. When you get a handle on the setup of a "real" Java project, then import it into eclipse.

    Recommended reading: Creating and Using Packages (The Java™ Tutorials > Learning the Java Language > Packages)
    Thanks for the response. This is kind of what I figured - I need to grasp the basic concepts better before I will be able to use Eclipse effectively. I appreciate the help and thank you for the link, I'll try it out!

  4. #4
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: Need some help moving to Eclipse

    Quote Originally Posted by DJMcCarthy12 View Post
    (packages, classes, libraries - what do all these really mean?, etc.)
    Classes: A file containing the syntax to create and interact with an object. Each class is "generally" in its own file
    Package: The generic name given to a folder holding one or more classes. You may have none, one, or more than one packages inside a project or jar file.
    Library: Think of a library as a package (or package containing packages) ..... (or packages containing packages containing packages, etc) that is not meant to be run as a program, but is meant to be used in different programs. A library is intended to hold code frequently used so it only has to be written once. Java's AWT is a library containing packages of classes useful in making and displaying windows. Swing is another popular package. There are many others provided, or you can invent your own, but basically it is just a way to organize your classes inside folders.

Similar Threads

  1. Replies: 1
    Last Post: October 20th, 2012, 12:21 PM
  2. Beginners Eclipse Tutorial. How to run first java application on Eclipse?
    By JavaPF in forum Java Code Snippets and Tutorials
    Replies: 13
    Last Post: June 24th, 2011, 12:26 AM
  3. Tikal Eclipse - Moving system time
    By leguin in forum Java IDEs
    Replies: 2
    Last Post: December 3rd, 2009, 01:34 AM