Need help setting java paths?

I have a number of java files set up like this:
com.pogo.chess2.Applet, com.pogo.chess2.game.Applet, etc
Now each class file uses the keyword: package followed with its associating directory, for example Applet.class would look like this:
package com.pogo.chess2;
import com.pogo.game.external.b;
How do I create a new java project and properly set the path?
Basically I have all of my java code in a folder called com, which has subdirectories with java files as well. What is a package? How do I set it up using a gui such as JCreator Le? Is there a way to drag the folder com to the project and all the files will load?
Thanks in advance.

For package, see
http://java.sun.com/docs/books/tutorial/java/concepts/package.html
The rest of your questions involve details of editor/IDE usage. None of them relate to Java. Read the information or Helps from the product you're using.

Similar Messages

  • Hi, i'm new to java. need help setting the path in win XP

    hi all,
    i'm new to java technology. i've just downloaded the JDK and ran my first java program (hello world). i love it. java's gr8. i need help. i run win XP and how can i setup the path sothat i can execute my programs from the root dir??? any help in this direction will be greatly appreciated. please email me @ [email protected]
    Best regards
    Mrinal

    Go to Start menu and select Control Panel. In the Control Panel, double click on System. In the System dialogue, choose the Advanced tab. Then click on Environmental Variables. Select Path and Edit. Put ;c:\j2sdk1.4.0\bin at the end of the Path (or c:\j2sdk1.4.0\bin;) at the start of the Path. That's it.

  • Need Help Setting Java Classpath

    I have installed JCreator LE and the JDK 1.6.02 and the JRE 1.6.02 as well as the API's into my JDK doc directory.
    I can't figure out how to set the classpath to allow me to run java programs and I can't figure out how to get java.exe to run either.
    WinXP doesn't come with an autoexec.bat file so that route for setting my classpath is out... I can get to the DOS command prompt just fine but don't know what to type. When I try running any program like java.exe from the JDK a small DOS like box appears for a split second and then disappears.
    If someone could help me solve this/these problems I'd be very grateful. Thanks

    Thanks for your help. I set my CLASSPATH option
    within system/advanced/setvar to: "C:\Program
    Files\Java\jdk1.6.0_02\bin" Which is precisely where
    my jdk is located. Wrong. That directory needs to be in your PATH, not CLASSPATH. PATH tells the operating system where to find .exe files like javac.exe and java.exe.
    CLASSPATH tells the JVM where to look for your .class files
    I've tinkered around and around and I still can't get
    it to work... My confidence in my computer savyness
    is beginning to deteriorate... I've been reading two
    books on java and believe I'm understanding OO pretty
    well into the later chapters at present. I read
    through Suns online tutorial as well and just am not
    understanding what I'm doing wrong here. Thanks-Read the docs for both javac.exe and java.exe. Both take a -classpath option when you run in a command shell. That's the correct way to specify CLASSPATH.
    Do not use an environment variable. That is the wrong way to go about it.
    When you graduate to application servers it'll be a different matter, but by then perhaps you'll understand better.
    %

  • Help setting Class Path

    hi,
    I just downloaded and installed JDK 5 update 7 and need help setting the class path. Can someone give me instructions on how to do this in windows XP please.
    Cheers

    thanks for the replies guys.
    I'm still having problems. What I want to be able to do is compile a .java file using the Command Prompt in windows XP.
    Currently, when I type javac I get the message:
    'javac' is not recognized as an internal or external command, operable program or batch file.I set the classpath to C:\jdk1.5.0_07\bin\ but when I type path in the command prompt this path doesn't appear.
    If I change the directory in the command prompt to C:\jdk1.5.0_07\bin\ then type javac it works (I get a list of commands) but I need it to work from within any folder.
    Have I set the classpath incorrectly or is it something else?
    Thanks

  • HOW TO?: Need help setting up 3 different iCloud accounts for my kids (so each has own iMessanger)using same Apple ID (mine) ....they don't have their own separate email addresses to work from...how do I do this?

    Need help setting up 3 different iCloud accounts for my kids (so each has own iMessanger)using same Apple ID (mine) ....they don't have their own separate email addresses to work from...how do I do this?

    Any devices connected to the same icloud account can sync all the data on that account.  For this reason an icloud account is really for a single user.
    On a mac, if each user has their own account, then the itunes for that mac account should be set up to connect to that user's icloud account (System preferences>icloud).

  • Need help setting up TV equiptment

    I have been very ill and I need help setting up my TV, DVR, Receiver, Surround sound systems. I'm afraid if I try to work on all the equiptment, I'll drop my HDTV or other componets because I'm still weak. Can anyone help me? I've called a few places and they want $100.00 to set it up. Give me a break! I know about inputs and outputs and other cables, I just don't have the strength to move the equiptment around. I am willing to pay. Please call me at 813-{edited for privacy}. Thanks, Teresa {edited for privacy}

    blondeinneed wrote:
    I have been very ill and I need help setting up my TV, DVR, Receiver, Surround sound systems. I'm afraid if I try to work on all the equiptment, I'll drop my HDTV or other componets because I'm still weak. Can anyone help me? I've called a few places and they want $100.00 to set it up. Give me a break! I know about inputs and outputs and other cables, I just don't have the strength to move the equiptment around. I am willing to pay. Please call me at 813-{edited for privacy}. Thanks, Teresa {edited for privacy}
    Teresa,
    I think the best way for someone to volunteer to help you would be for them to send you a Private Message (PM) here on the forums. You should see a small envelope in the upper right corner of the screen, when it changes color you will know you have a PM to view.
    I would be happy to help, but since I am in North Texas I don't think that is a viable option Sorry....
    Justin
    FiOS TV, Internet, and phone user
    QIP7232, QIP7100-P2, IMG 1.9A
    Keller, TX 76248

  • Need help setting up and configuring rsync

    Hello
    I need help setting up, or rather configuring rsync to sync data between my brand new iMac and my Macbook Air.
    Here is what I would like to:
    - I want all of the files on both machines to be an exact mirror or copy of each other. Basically I have an iMac for at home, and then a Macbook Air for the road.
    - The main folder on both Macs is called 'Sara' and I want the contents (mainly the 'movies' folder, 'music' folder, 'documents' folder and 'pictures' folder) to immediately sync up with each other when both of them are on my home network.
    - this means if I'm working on a file at home on my Macbook, it will immediately write to the same directory on my iMac and vice versa (if I'm working on file(s) on my iMac, it will immediately save the contents to my Macbook). This way, if I'm working on last minute project my iMac, and then have to head out the door to the airport, the file is immediately saved to my Macbook (no usb for USB transfer).
    - hopefully this makes sense??
    Any help is greatly appreciated!
    Thanks

    It's a lofty but unrealistic goal.  Rsync does not run automatically.  There is no realistic method of instantaneously synching two computers over the internet or even on a LAN.
    I would suggest you might try using Synk Pro which, in theory, can keep two devices in sync when they are both on the same network (and both have shared and mounted drives.)
    If you must do this with rsync then I suggest a Google search for rsync tutorials.

  • I need help setting up an apple id for my sons phone. It seems his email address has been taken and/or we cant get the password.

    I need help setting up an apple id for my son's phone. It seems his email address has been taken and/or we cant get the password.

    Two different things
    If you forgot the password
    If you forgot your Apple ID password - Apple Support
    If the email ID you want to use is in use by someone else - then you may need a new one
    The iCloud ID's are usually unique and may be of help if you set one up

  • Need help Setting up Multiple Static Ip , 1 for each port of the fios router

    Need help Setting up multiple Static Ip on my fios router
    I have been trying to figure out how to set up multiple ip in my fios router.
    However I kind of managed how to set up multiple static ip However the way I want it is for each port of my router to have an external ip signed to it. ( like 4 different modem in 1 )
    Verizon gave me 5 static ip but they can not help me how to set it up.
    Have anyone here done more then one static ip on different ports? I assume that the process will be the after the second static ip.

    You want to set up Static Nat. You will not assign the IP to a port, but rather to a local machine. Figure out what machines you want your IP's to go to. Under the firewall section you will see static nat. Pick the machine you want and enter one of the IP's you were assigned.

  • Need help setting up FCE 4   PLEASE

    OK, I'm NOT a professional, just need help setting up.
    Just purchased FCE 4. Need to set up my Sony HDR SR11. I've already recorded most of my stuff in HD SP. Can someone Please help me set up?
    thanks

    Thanks for the info.
    I updated and did a search in my manual for Log and transfer which didn't go to anything I can figure out. Sorry, I don't have time to read 1152 pages.
    Can anyone just tell me how to get this going? There should be a simple set up correct?

  • My email is not working in lightroom. Need help setting that up.

    Need help setting up my email in lightroom. For some reason it's not connecting.

    Try posting in the Lightroom forum.  People there are more tuned in to the detail working of the application:
    http://forums.adobe.com/community/lightroom?view=discussions

  • I have a Steinberg MI4 and a Roland Fantom X7, and am trying to use my Fantom in Logic to record audio. Need help setting it all up using MIDI cables. Please help !

    I have a Steinberg MI4 and a Roland Fantom X7, and am trying to use my Fantom in Logic to record audio. Need help setting it all up using MIDI cables. Please help !

    Encryption wouldn't matter except for Wifi.
    While 10.2 might help, there's not much you can do on the Internet these days with less than 10.4.11
    Tiger Requirements...
    To use Mac OS X 10.4 Tiger, your Macintosh needs:
        * A PowerPC G3, G4, or G5 processor
        * Built-in FireWire
        * At least 256 MB of RAM (I recommend 1GB minimum)
        * DVD drive (DVD-ROM), Combo (CD-RW/DVD-ROM) or SuperDrive (DVD-R) for installation
        * At least 3 GB of free disk space; 4 GB if you install the XCode 2 Developer Tools  (I recommend 20GB minimum)
    http://support.apple.com/kb/HT1514
    http://www.ebay.com/sch/i.html?_nkw=mac+os+x+tiger+retail+10.4
    See Tom's, (Texas Mac Man), great info on where/how to find/get Tiger...
    https://discussions.apple.com/message/15305521#15305521
    Or Ali Brown's great info on where/how to find/get Tiger...
    http://discussions.apple.com/thread.jspa?messageID=10381710#10381710
    As far as Memory, that's sort of easy, find your eMac here...
    http://eshop.macsales.com/MyOWC/Models.cfm?Family=emac&sType=Memory
    As far as Hard Drive, it's not easy to replace the Internal drive, I'd maybe suggest an external Firewire drive to boot from...
    http://eshop.macsales.com/item/Other%20World%20Computing/MAU4S7500G16/

  • Need help setting up outlook mail on ipad2

    downloaded the outlook app, need help setting it up.

    Is it actually called Outlook, or is it called Outlook Mail Pro or Outlook Mail Complete or something like that? Those apps are actually by separate companies (ie, not Microsoft), and I don't personally have experience with them, but here are links to their support sites which should have the information you need (or an email address you can write to):
    Outlook Mail Pro: http://support.codebeforedawn.com/customer/portal/topics/38871-outlook-mail-pro
    Outlook Mail Complete: http://www.ikonicapps.com/outlook/
    hope that helps...
    Matt

  • Deperately need help setting up external midi devices

    I need help setting up external midi devices.....Motu828...Midi express...RolandXV3080....Motif rack.......HELP

    Theres not really much to setup. Assuming your synths are connected to the MIDI Express already..
    In Logic, make a new MIDI track. On the left hand side in the track inspector, among the parameters you'll see an option for MIDI Port and Channel. Just pick which port the track is going to, set the channel and device id and play (And be glad you never had to deal with setting up the old Environment window in Logic 5 and below).
    If you really wanna get into it and have all your MIDI ports named after the synth thats connected to it, open up Audio Midi Setup, create a device icon for each synth you have and draw the cables from each device to whatever port its connected to on the midi interface's icon.
    Then in Logic everytime you pick your MIDI port on your track, instead of MIDI Port 1, MIDI Port 2, etc.,
    it would be labelled XV-3080, Motif Rack, and so on.. I dont think theres anyway to do this within Logic itself (you can change the labels on your audio ins and outs, but not MIDI as far as I can recall)..
    If youre talking about having access to patch names and whatnot like Digital Performer and Cubase let you do, Logic doesnt use the xml patch lists everyone else does. The above steps are pretty much all there is to be done as far as MIDI.
    Heres my Audio Midi Setup window for reference.
    Now when I select MIDI Port 1 in Logic its named MWXT, port 2 is SR-16, etc..

  • HT5538 I dont really get this i need help setting some things up on my Ipod.Can you help?

    I need help setting up my Imessage and FaceTime.I have tryed and its not working.

    iOS: Using FaceTime
    iOS: About Messages
    iOS: Troubleshooting FaceTime and iMessage activation
    iOS: Troubleshooting Messages
    iOS: Troubleshooting FaceTime

Maybe you are looking for

  • How do I get my old iPhone 4g to work with a new computer without losing all data on it?

    I bought a new MacBook Pro with Retna display to replace a dead gateway running Windows XP. My iPhone 4 was always connected to the old gateway and I synced to the iTunes on it. Now I have my new MacBook up and running and have logged into its new iT

  • Huge memory leaks after upgrading from kernel 2.6.38(?)

    My system began leaking memory some months ago and I've little to no idea what is causing it. The closest hint I can give is that I think these problems started around upgrading from Linux 2.6.38 to 2.6.39 and have continued with 3.0 aswell. Sometime

  • Attachments garbled in Mail

    I have a friend who recently purchased a 13" Mac Book. The Store/Geniuses got it all setup for her. She also has an existing iMac at home. The issue she has now is that on the Mac Book, when she gets emails that have attachments, they come across gar

  • Dynamic global hostname is not saving

    I was trying to setup my new airport  time capsure to use dyn. When I tried to add the dynamic host name and tsig information on a mac using the airport utility it would not save. When I entered the information from the airport utility on an iphone i

  • Material master in SRM

    Hi All, Is there any scheduled background job to replicate the material master from R/3 to SRM GUI. Can any one tell me the program name for replication. Regards Krish