Compiling - never believed it would be a problem

i.m having hard time compiling my java files. when i use development ide, it's ok, ide hadles calls to javac. But recently i needed to compile my project without ide and until now i could not manage to do so. i think i understand switches of javac and it seems to me that i have to compile every single java file separately, which i refuse to do. the structure of the project is:
src\... packages...\*.java
src\... packages...\another_package\*.java
... an so on
the commandline whitch i believe that should work according to documentation is:
javac -d classes src\*.java
all i get is this message: can not read: src\*.java
i also tried this one
javac -d classes src\...packages...\*.java
this yelded lots of error messages about unknown variables and packages.
only thing that worked was to compile files one after another. but this is insane. probably i didnt get the idea or what. any hint would be appreciated.

Hi,
you can compile as follows :
1) go to directory src\... packages...\
2) javac *.java another_package1\*.java and so on.
Even better, you an use ant for all such stuff.
Regards,
Taps.

Similar Messages

  • I'm new to Macbook Pro, and never imagined I would have problems saving bookmarks when I switched to Mac.  Any suggestions with this issue?  And has Apple come up with a permanent fix?

    I'm new to Macbook Pro, and never imagined I would have problems saving bookmarks when I switched to Mac.  Any suggestions with this issue?  I have Safari 6.0.4, and has Apple come up with a permanent fix?

    Triple-click the line below to select it:
    ~/Library/Safari/Bookmarks.plist
    Right-click or control-click the highlighted line and select
    Services ▹ Show Info
    from the contextual menu.* An Info dialog should open.
    Does the dialog show "You can read and write" in the Sharing & Permissions section?
    In the General section, is the box labeled Locked checked?
    What is the Modified date?
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). Open a TextEdit window and paste into it (command-V). Select the line you just pasted and continue as above.

  • Why did my camera flash and flashlight quit working on iPod 5 I did a complete restore and still nothing only had for a week can't believe it would be broken already

    Why did my camera flash and flashlight quit working on iPod 5 I did a complete restore just to see and still nothing have only had for a week so I can't believe it would be broken already any ideas

    If you restored to factory settings/new iPod via iTunes (Not via Settings>General>Reset>Erase all Content and Setting) and still have the problem that indicates a hardware problem.
    Make an appointment at the Genius Bar of an Apple store..
    Apple Retail Store - Genius Bar

  • TS4040 I assumed this would help my problem with not being able to open apps like Preview or TextEdit since I installed Mountain Lion. Instead, first I'm prompted to enter a password, then once I do that, I get an error box telling me the Library needs re

    I assumed this would help my problem with not being able to open apps like Preview or TextEdit since I installed Mountain Lion. Instead, first I'm prompted to enter a password, then once I do that, I get an error box telling me the Library needs repairing. So I click on Repair, and once again I'm prompted for a password, which I enter, then the same error box opens, and so it goes. Can anyone help me with this problem? I'd greatly appreciate it.
    Thor

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -Rh $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Step 1 should give you usable permissions in your home folder. This step will restore special attributes set by OS X on some user folders to protect them from unintended deletion or renaming. You can skip this step if you don't consider that protection to be necessary, and if everything is working as expected after step 1.
    Boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • I replaced my hard drive and used time machine to boot from but it installedthe unrepaired disk permissions of the faulty previous drive would this cause problems on my new drive?

    I replaced my hard drive on macbook pro and used time machine to boot from but it also installed the unrepaired disk permmissions of the other drive, would this cause problems to my new drive?

    Can you remember what the permissions problem was that you had before? You may need to reinstall OS X from scratch and not reinstall anything from your Time Machine backups. To be on the safe side you should reinstall all third-party applications from scratch, as well. Then only restore from your backup your document/data files.

  • After downloading the mac os x 10.6.8 I can't open safari. It first told me that I could not run it with Safari 5.1 so I downloaded safari 6 because I had read that that would solve the problem. However I am still getting an error message. HELP!!

    After downloading the mac os x 10.6.8 I can't open safari. It first told me that I could not run it with Safari 5.1 so I downloaded safari 6 because I had read that that would solve the problem. However I am still getting an error message. HELP!!

    I see this on Apple's support page:
    Available for: OS X Lion v10.7.5, OS X Lion Server v10.7.5, OS X Mountain Lion v10.8 and v10.8.1

  • I have I pad 2, and I recently reset my password. And now I am not able to upgrade my old apps. Usually it will not ask apple password, but now it's asking password and when I type the password ir says the password is wrong. What would be the problem?

    I have I pad 2, and I recently reset my password. And now I am not able to upgrade my old apps. Usually it will not ask apple password, but now it's asking password and when I type the password ir says the password is wrong. What would be the problem?

    If the old ID is yours, and if your current ID was created by editing the details of this old ID (rather than being an entirely new ID), go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • HT201270 i can not use wifi always says unable to connect what would be the problem please assist me.

    i can not connect to wifi or celluer what would be the problem with my i phone 5

    Hi chege,
    If you are having issues establishing a connection to either Wi-Fi or cellular with your iPhone 5, you may find the following articles useful:
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/ts1398
    iPhone: Troubleshooting a cellular data connection
    http://support.apple.com/kb/ts3780
    Cheers,
    Brenden

  • HT1338 my macbook pro airport won't turn on! What would be the problem?

    my macbook pro airport won't turn on! What would be the problem?
    I've tried to turn the airport on and it says my airport card is not installed...
    it has always worked till today... bot from now on nothing seem to help the airport work...
    Please help me!
    Thanks

    You could try deleting the airpot from the sidebar of system preferences/network. To do this,
    1)  export the preferences for your airport to your desktop by pressing the gear next to the plus and minus sign above the lock. 
    2) Delete your airport from the sidebar using the minus sign while the airport is selected.
    3)  After deleting the airport, apply the changes and then press the plus sign to create a new airport. 
    4)  Then import the preferences back in and apply the changes again.
    This may bring your airport back.  It worked for me.  Alternatively, people have been having success with changing the location of the airport. 
    Good Luck.

  • I am having trouble connecting to internet with my iphone 5,  Are there any issues with with iphone 5 that would cause this problem?

    I am having trouble connecting to internet with my iphone 5,  Are there any issues with with iphone 5 that would cause this problem?

    Perhaps something in Apple's support article on troubleshooting problems with WiFi connections will help:
    http://support.apple.com/kb/TS1398
    Regards.

  • Hello sir my iphone screen turns off after using 2-5 minutes what would be the problem please help me out

    hello sir my iphone screen turns off after using 2-5 minutes what would be the problem please help me out

    To make sure that this is not software related, set it back to factory settings, without using any backup data afterwards. Set up the rest of the personal settings manually and test the phone. If it still does not work, this is a hardware issue and the phone has to be serviced by Apple or an Authorized Apple Service Provider:
    Use iTunes to restore your iOS device to factory settings - Apple Support
    Find an Apple Authorized Service Provider
    iPhone - Contact Support - Apple Support

  • HT4914 On itunes, if an Album is supposed to have 10 songs, there are currently 40 songs.? Would imatch correct problems like those?

    My music file in / on itunes is messed up. If an album is supposed to have 10 songs, the system (itunes) has duplicated them at least 4 times so where an album is supposed to have 10 songs, now there are 40 songs. How can I correct errors like those? And, would imatch correct problems such as those? Please help! Thank you!

    Due to the nature of the how the service works you should not expect a 100% match rate for anything, even if it is available in the iTunes Store. This is the simple reality.
    The most probable reason you are seeing what you are seeing is due to the mastering of the version of the music in your iTunes library and what is available in the iTunes Store. Let's take The Beatles catalog for example. I own the Capital Albums remaster collections from 2004 and 2006. The Beatles official catalog was remastered and re-issued in 2009. Many of the tracks on the '04-'06 discs actually match to the '09 remastered tracks available in the iTunes Store because they the waveforms are similar enough that iTunes deems them a match. This is the opposite of what you describe because I actually do not want any of the tracks from these albums to match to anything in the store. I would prefer them to all be uploaded. But that isn't the way it worked. The mastering of the album can have a huge impact on what matches or not.

  • An app charged my credit card and the way the app described payment options, I believed it would charge me a monthly fee, not a yearly fee. I'd like the charge refunded, how can I do that?

    An app charged my credit card and the way the app described payment options, I believed it would charge me a monthly fee, not a yearly fee. I'd like the charge refunded, how can I do that?

    You can Contact Apple for Refund by filling your personal Information in below link :
    http://www.apple.com/emea/support/itunes/contact.html
    Or You can directly Contact Apple Support Number and you will be routed to the concerned department.
    http://support.apple.com/kb/he57
    But its not 100% Guaranteed that they will issue a refund as per there Policy Terms.
    But in extreme cases they gives you a Refund for 1 time as an excepiton.

  • I am an educator.  I signed up for the Creative Cloud account, believing I would have access to all

    I am an educator.  I signed up for the Creative Cloud account, believing I would have access to all the programs.  Is this incorrect?  When I try to download and install the programs, it tries to charge me 19.99 for each or set me up on a trial.

    CS6 applications in Creative Cloud unexpectedly revert to trial mode
    Sign in or activation errors
    Mylenium

  • I'm trying to add album art to a CD I imported but it will not work. The album art will add to other albums but it won't show on the album. The CD is imported from Japan, didn't think that would be a problem. Does anyone know a solution?

    I'm trying to add album art to a CD I imported but it will not work. The album art will add to other albums but it won't show on the album. The CD is imported from Japan, didn't think that would be a problem. Does anyone know a solution?

    Vanguard,
    You are welcome.  As I gather you have now figured out, any of the other formats (AAC, MP3, AIFF, or Apple Lossless) can handle artwork just fine.
    Enjoy the music!
    Ed

Maybe you are looking for

  • Looping Cfdocument to produce a multiple page doc

    Can anyone point out where I can find information on producing a multiple page cfdocument (pdf) using a database to include unique information? I have a customer that wants mailers that have the customers name and special offer. I want to use CF to g

  • Apple TV latest generation + TCL TV:  display problem!

    Indeed, I got my apple TV yesterday, and when I connect it to my TV, images/sounds disapear sometimes for one second or two then come back.... it's really borring! any idea the TV is : TCL L26HDF11TA: Thanks by advance

  • Configure SAP LDAP mapping for MS-ASD

    Hello, I 'm configuring an LDAP connector from my MS-AD to my SAP-4.7 ABAP system so the user account from the MS environment gets synchronized with my SAP system. I have configured the connection and created some mapping already but I have still som

  • Streaming Audio Method?

    Hi all, could anybody please tell me how to stream the audio files e.g. wave files from an url to a shockwave? Cos I have to link different audio files from the Internet and then have to play it with controller buttons (like play, stop, forward, back

  • Formula for displaying images

    Tried the documentation found at crystal reports support site with no luck, hopefully these forums can help. I have been searching for a way to use a conditional formula, or some preinstalled function to: 1. display an image based on whether there is