Compiling error - just started happening, but why?

Hi, going a bit crazy here. Have been working on a small project (about 15 classes right now), and all was going well until today. Up until now, I've simply compiled using the command "javac f1m/F1M_main.java". I have this in a batch file, that also has a command to delete all class files first, just to keept things up to date). F1M_main.java being the file that contains the main class, in the directory f1m. I run the batch file from a directory one level above the source directory, f1m. All source files are in this directory, and all are in the same package (f1m).
Until today, this worked fine. If a class that F1M_main depended on didn't exist, but the source file of the same name did, it was compiled automatically. But today, when I tried to compile it using the same batch file, none of the classes I'd defined myself could be found (all "cannot find symbol" errors). Every single class. I tried building using the command javac f1m/*.java which seemed to compile (all class files were created), but if I try running using java f1m/F1M_main or java f1m.F1M_main, or java f1m/f1m.F1M_main, or even going into the f1m directory and trying from there, I always only get a NoClassDefFound error...
This is very confusing, as all this worked until today, and I hadn't changed anything (as far as I could tell) to cause it to stop working. Feeling frustrated, I went to a project I haven't touched for a few weeks, and tried compiling that (again, using a batch file that always worked). Again, same problem! None of my defined classes could be found... This all worked before, and I definitely haven't changed either the source or batch file for this project. What's happened? What's changed?? I uninstalled / reinstalled java too, just to see...but nothing. Hmmm.
Does anyone have any ideas what might be going on? I'm sure it's something silly, but it does seem very odd :( Can anyone help? I think I'm going mad...!

Thanks for the reply. Until the problem appeared yesterday, I'd always compiled from the top directory using javac f1m/F1M_main.java. This always worked, with all the dependencies being worked out...but for whatever reason, yesterday it suddenly couldn't find any of the subclasses, all defined in java files in the same directory, in the same package. This is what's odd (as is the fact that a previous, unchanged project also won't compile now). It's as though something in my Java setup have changed, or in the registry, or something... I had an automatic Java update today and half hoped it was correcting something that had gone wrong in a recent update I didn't realise I had...but alas no... I'll try looking for an IDE, but it's odd that the previously "tried and trusted" method has gone awry. As I mentioned, I had both the build and run commands in batch files (call javac f1m/F1M_main.java etc) so the way I've been building hasn't changed. The files haven't changed...but the results certainly have :(

Similar Messages

  • HT1349 When I click on a song in iTunes, I get an error message that the song could not be located.  This just started happening.  Why?  And how can I fix this?

    I have all of my songs on an external hard drive.  It was working fine with iTunes; now when I click on a song, I get an error message that the song cannot be located.  What happended and more importantly, how can I fix this?

    Is this an iPad issue? Not sure where you are "clicking" or how you are accessing. A little more info would help.

  • TS3276 I can receive emails, but I cannot send emails. This just started happening. I have an iPhone and I can send emails from my phone fine. It's just not working on my Macbook. Every time I try to send an email it goes straight to my outbox. Can anyone

    I can receive emails, but I cannot send emails. This just started happening. I have an iPhone and I can send emails from my phone fine. It's just not working on my Macbook. Every time I try to send an email it goes straight to my outbox. Can anyone help?

    Thank you for heading me in the right direction.  I reset my Mail account for Outgoing Mail Server to outbound.att.net:(customer ID)@att.net (instead of smtp.att.yahoo.com, per Apple's online troubleshooting information).   I'm not sure what "(Offline)" means when it appears at the end of my Outgoing Mail Server (SMTP)??  In the Advanced box I clicked on "Use custom port:  465" and checked "Use Secure Sockets Layer."  Authentication:  Password; I have correct User Name and Password put in.  After doing all this, when I try to send emails again today, they go directly to the Outbox and sit there. 
    What's curious is that my first sent email this morning did go out using the Outgoing Mail Server, smtp.att.yahoo.com: (customer ID)@att.net(Offline) but subsequent emails I tried to send with this server were rejected with the message:  "Cannot send message using the server smtp.att.yahoo.com (etc.).  The SMTP server doesn't support TLS(SSL) on port 587.  Verify your account settings and try again."  That's when I tried resetting my Outgoing Mail Server to outbound.att.net (etc.), as mentioned above, and was unsuccessful in sending out any further emails.  I guess my next step is to contact my email service provider, AT&T, and see if they can help me.  Thanks, again, for taking the time to respond and for giving me your input!  Much appreciated!

  • When I type my email address in the "To:" field, a random name comes up next to it as "Holidays in United States". This just started happening out of the blue and I have no idea why. Does anyone else have any idea?

    When I type my email address in the "To:" field, a random name comes up next to it as "Holidays in United States". This just started happening out of the blue and I have no idea why. Does anyone else have any idea?

    Just to recap, this is a collection of ports I have collected over time for people who needed this information when setting up the HP ePrint app so that they could view their email from within the app.  I am certain other applications also need this information.  Although lengthy, I could not find a more comprehensive place to retrieve this information.  Feel free to post additional information, faulty information, or other related topics below as this is simply a collection of data and it would be practically impossible to test all of them. Thank you!
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

  • My mac has started sending yahoo emails out as if they were being sent from an old gmail account I haven't used in years. Why has this just started happening?

    My mac has started sending yahoo emails out as if they were being sent from an old gmail account I haven't used in years. Why has this just started happening? 

    It is important to understand that Mail uses TWO servers, a Receiving Server and a Sending Server.
    When you create a new mail message, or reply to a message, the Sender server is shown in the message composition window like this:
    That drop-down window allows you to select which of the Sending Servers you previously set up should be used.
    In general, once you choose a Sending server, its choice will "stick" for all future replies to messages from that Receiving mailbox.

  • I can't open any of my Groups pages on Facebook, just my Newsfeed,mobile using Safari (on my Ipad). But they open using Chrome. This just started happening, as it was working fine for months.

    I can't open any of my Groups pages on Facebook, just my Newsfeed,mobile using Safari (on my Ipad). But they open using Chrome. This just started happening, as it was working fine for months.

    Reset the device:
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    If that didn't help, tap Settings > General > Reset > Reset All Setting 
    Restart your iPad.
    Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, then swipe the slider to power off.
    Then press and hold the Sleep/Wake button until the Apple logo appears.
    No data is lost due to  a rest

  • When I compose an email it flies up the screen when I press the shift key. I've clicked default settings on Keyboard in Preferences but it has made no difference.  It has only just started happening.

    When I compose an email it flies up the screen when I press the shift key and then comes back again. I've clicked default settings on Keyboard in Preferences but it has made no difference.  It has only just started happening.  Any ideas?

    This problem has also been plaguing me today. Here are my specifics and how I solved it (Expanding on what Quentin Holmes mentioned)
    CONFIRMED WORK AROUND! The .m4v file gets created while encoding, but Adobe Media Encoder does not re-pack it back into the .mp4 unless you select the "Export Audio" in Adobe Premier export prior to queuing. If you don't want audio, mute the individual tracks and still export audio.
    My details:
    Just bought a GH4, shooting 4k 25fps MOV, trying to simply trim a few clips and export them as H.264 .mp4 with no audio. (By the way it would be nice if we could export 4k .MOV files from the camera back into .MOV once finished editing, but in premier that frame resolution is not supported)
    Specs: Mac Mini, Quad Core i7, 16GB Ram, OSX 10.9.4, Adobe Premier Pro CS6 6.0.5, Adobe Media Encoder 6.0.2.81
    Hope that helps anyone with the same prob

  • Why are pictures on imessage not being delivered to me? This just started happening.

    Picture in imessages not being received.  This just started happening.  Any suggestions?

    Are you using Google Bookmarks rather than the built in Firefox bookmarks?
    Google changed the login URL for Google accounts and the Google Toolbar addon needs to be fixed by Google to correct the URL it is trying to log in to.

  • This just started happening.. I open Itunes and the little round rainbow loading indicator just goes on and doesnt stop.. My itunes wont function.. It gets stuck. Then i have to force quit.. I tried to shut down and restart. also reloaded the latest itune

    This just started happening.. I open Itunes and the little round rainbow loading indicator just goes on and doesnt stop.. My itunes wont function.. It gets stuck. Then i have to force quit.. I tried to shut down and restart. also reloaded the latest itune 11.1.3 and it still gets stuck.
    i use an external HD and thats fine.. all files are in there.  But I have no idea why my itunes app is getting stuck.
    Am I the only person this is happening to? What can I do to correct this problem?

    Hi marlonbnyc!
    This article will help provide some basic troubleshooting steps that will serve as a guide for you to resolve this issue:
    Mac OS X: How to troubleshoot a software issue
    http://support.apple.com/kb/ht1199
    Thanks for being a part of the Apple Support Communities!
    Regards,
    Braden

  • Fcp wont let me export to the compresser 4 all of a sudden it taking me too compresser 3 this just started happen what do i do

    let me export to the compresser 4 all of a sudden it taking me too compresser 3 this just started happen what do i do

    I don't know why this just started to happen unless v3.0 were somehow moved from its location.
    I once had FCP7 get confused between Motion 4 and Motion 5 when I failed to follow Apple's installation recommendations but never a problem with FCPX going to the wrong app. (But I don't use the Send to Compressor workflow.)
    When you have the legacy apps already installed on your system, the new pro app download moves the old ones into a folder, named Final Cut Studio. That's what I was getting at when I suggested you create a new folder for C3.
    Russ

  • Every single website, or link within a website page is being added to my location bar/address bar drop down menu. How can I stop this? This just started happening.

    Every single website url address, or url address within a website page is being added to my location bar/address bar drop down menu.
    I don't want everything added or saved in the location bar. Only urls that I used a lot used to be saved there but now every single url (and url within a url)I visit is being added to it.
    How can I stop this? This just started happening.
    I'm sure it's a simple browser setting but I've checked and nothing gives an option to control this.
    Firefox 3.0.17
    Windows XP
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.17) Gecko/2009122116 Firefox/3.0.17

    A possibility is to open the links via the right-click context menu or a middle-click in a new tab to make sure that Firefox sees them as regular links.

  • Ok i have indesign CS6 and all files are stored on a 10.7.5 MAC server.  This just started happening.  When I open a file indesigns is creating a textfile in the same folder?  I need some help on this.

    Ok i have indesign CS6 and all files are stored on a 10.7.5 MAC server.  This just started happening.  When I open a file indesigns is creating a textfile in the same folder?  I need some help on this.

    Ask in the ID forum and be much more specific about your configuration. there could be any number of reasons why manifests, temp files or restore files are created.
    Mylenium

  • Weird Problem just started happening, spinning ball when trying to play

    I'm having a problem that just started happening, I've been using Final Cut Pro 5.04 in 10.4.8 on a G4 dual 800 for a long time now, no problems.
    Today, I'm doing some Voiceovers, using the V.O. window, not even playing video, and it's doing this thing where I try to play a segment of recorded audio, and the beachball starts spinning for 15-20 seconds, and finally it plays the little snippet. I play it a couple times, it's working normally, then again I try to play it and it waits 20 seconds before kicking in.
    I have no idea what to look at to fix this. I didn't change any of my settings, I'm recording onto a drive with about 5 GB of space...
    I'm using a MOTU 896 firewire interface for audio.
    Any ideas would be appreciated. Thanks!

    I believe there is an issue with updates and firewire from the posts I have read over the last few months. Not sure what to tell you but did you update the OSX resently? Or Quicktime? If I were you I wouldn't update anything just yet. And perhaps you call roll back the OSX to a time and version that worked for you.
    Good Luck
    Z1&V1user

  • Screen changing button needs to be pressed really hard just started any suggestions why

    This just started happening, before it was a easy touch, am I wearing out and need repair?

    Do you mean the Home button (button at the bottom of the iPad screen)? Its possible.
    Pretty unlikely to be a software isue, but just in case, try a rest: Simultaneously hold down the Home and On buttons until the iPad shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the iPad back on using the On button. In some cases it also helps to double click the Home button and close all apps from the tray before doing the reset.
    But in all likelihood, its a hardware issue.

  • Printer is overprinting old jobs on top of new jobs.  Using a Mac with OSx and a HP photosmart for over a year.  this just started happening.

    Printer is overprinting old jobs on top of new jobs.  Using a Mac with OSx and a HP photosmart for over a year.  this just started happening.

    RReset printing system again and the restart in Safe Mode . This will clear some caches,to do this hold down the Shift key when you hear the startup tone until a progress bar appears, after it has fully booted restart normally and add the printer.

Maybe you are looking for

  • Background job getting CANCELLED

    hello, i have  a background job scheduled for a report program.it is getting cancelled and giving the following error: "TABLE_ILLEGAL_STATEMENT" You attempted to change, delete or create a line in the        internal table "???", but no valid cursor

  • Mac Mini/HDTV Audio Problems

    I have my Mac Mini connected to my Samsung HDTV. It worked fine and I had audio and video. Somehow, the audio stopped. I hired a professional to come and reconfigure my whole setup and he connected the Mac Mini to our home theater speaker system. It

  • Fails to backup changes, reports only eight files written

    I had an "oops" moment and looked for a file changed yesterday. Couldn't find it (had other backup, luckily). I then went to the console logs and selected the backupd for the recent days. All of the backups were similar to this (arbitrarily selected)

  • Premiere Elements 9.0 will not open

    In August 2011 I purchased Adobe Premiere Elements 9.0 with a new Dell PC using Windows 7 64-bit. Since then I have used Premiere Elements many times for video editing without problems. The last time I used it was about 3 months ago. This week I trie

  • InfoCube Properties

    Hi, I have seen few below  options was disabled in Infocube properties, What could be the use of these options and how to enable it. Zero elimination in the summarization module only disjunct records Thanks, Vij Please search the forum before posting