DrJava compiles,.. command line does not.

All my files are in the directory:
... /alak/codeFiles/
package alak.codeFiles;
import alak.codeFiles.Game.*;
public class AlakApp extends JApplet implements ActionListener
private alak.codeFiles.Game alakGame;
}When I compile this in DrJava it compiles but doesn't work when i jar it up and test it in a browser. When I compile it in the command line on Windows using:
inthecorrectDIR> javac AlakApp.java
I get this error:
AlakApp.java:8: package alak.codeFiles.Game does not exist
import alak.codeFiles.Game.*;
^
AlakApp.java:30: cannot find symbol
symbol  : class Game
location: package alak.codeFiles
  private alak.codeFiles.Game alakGame;
                        ^
AlakApp.java:53: cannot find symbol
symbol  : class Game
location: package alak.codeFiles
    this.alakGame = new alak.codeFiles.Game( this.boardSize );
                                      ^
3 errorsCan please someone help me understand why this isn't working?
EDIT: I'd like to mention that all the files are in the correct directory and compile and work (with the exception of AlakApp) under DrJava. But when I try compile one of these files that depends on another, via the command line, it gives me the errors I stated.
Edited by: MDalrymple on Dec 13, 2007 10:57 PM

I am in F:\alak\codeFiles\ when I used the command javac AlakApp.java
I tried:
F:\alak\codeFiles> javac -cp F:\alak\codeFiles\ AlakApp.javaAnd I still get the same errors
EDIT: Problem fixed:
The error was that I need to be compiling all of the files in the alak.codeFiles package at once. So I just used:
F:\alak\codeFiles> javac -cp F:\alak\codeFiles\ *.javaSince all of the java files there were in that directory were the ones that needed to be compiled I just used a wild card.
Edited by: MDalrymple on Dec 14, 2007 7:04 PM

Similar Messages

  • Mdt 2012 sp1 command line does not run from task sequence

    Hi,
    I am hoping I can explain this correctly.  I am using MDT 2012 and having an issue with running command lines, powershell and batch files that I setup.
    The task sequence is set to use an account called "MDTService".  it has rights to join the domain but is not in the local admin group of the reference image.  a domain GPO renames the local admin account CoAdmin.
    when running a command line to, for example, run xcopy a folder and subdirectories to the "program Files x86" directory, it does not copy.
    When I log on to the system and use an admin account to manually run the command I do not have an issue.  if I log onto the system with the MDTService user and run it, it fails.
    How do I get the commands to run from the MDT task sequence?  I do not want to make the MDTService user an admin.  I have tried the run as option in the task sequence but that did not work.  maybe is set it wrong.  I used a domain\Admin
    account which did not work.
    what can I clarify or logs can I post to provide more details.
    Thanks in advance.

    Any account that needs to add files under %ProgramFilesx86% must be granted administrative privileges.
    Keith Garner - keithga.wordpress.com

  • Windows 7 Defrag from command line does not work

    We are running Windows 7 in a virtualized environment. When running windows defrag using schedule or from command line, it does not work. The command that I am executing as administrator is
    C:\Windows\system32>defrag /c
    Microsoft Disk Defragmenter
    Copyright (c) 2007 Microsoft Corp.
    It displays the above message and exits back to the command prompt. However if I run the command defrag C: it does work. Defragmenting from the GUI works as well as long as both the disks (C: and System Reserved) are selected and when I click on
    Defragment disks, works fine.
    I am concerned about defrag running from the task scheduler with the command "defrag /c" (auto scheduled using Configure Schedule... from Disk Defragmenter) does not work and the system never gets defragmented automatically.
    This happens only with some of the windows 7 VM's that we have.
    There are no entries in Event Log that point to the defrag (using task scheduler). Any ideas what may be going on?

    Hi,
    Could you defrag as below method:
    1. Open Disk Defragmenter by clicking the Start button. In the search box, type
    Disk Defragmenter, and then, in the list of results, click
    Disk Defragmenter.
    2.Under Current status, select the disk you want to defragment.
    3.To determine if the disk needs to be defragmented or not, click Analyze disk. Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
    Once Windows is finished analyzing the disk, you can check the percentage of fragmentation on the disk in the
    Last Run column. If the number is above 10%, you should defragment the disk.
    4.Click Defragment disk. Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
    For more information, please read this article:
    Ways to improve your computer's performance
    http://windows.microsoft.com/en-in/windows/improve-performance-defragmenting-hard-disk#1TC=windows-7
    Meanwhile, read this article:
    Defrag from the Command-Line for More Complete
    Control
    http://technet.microsoft.com/en-us/magazine/ff458356.aspx
    Karen Hu
    TechNet Community Support

  • How do I fix this error in Visual Studio: The specified command ID does not exist

    The entire error message is:
    Error occurred in deployment step 'Retract Solution': The specified command ID 'Microsoft.VisualStudio.SharePoint.Commands.DoesSolutionWithIdExist' does not match any available SharePoint remote commands.
    Parameter name: commandId
    I'm developing an app for SharePoint Online using Visual Studio 2012. This error started after I created a developer site with "Spanish" as the language. Then I add "Spanish" to the "Supported Locale" in the appmanifest.xml
    and tried to debug on the Spanish developer site. 

    Hi,
    Based on the error message, it seems the specific command ID not exists in the “Microsoft.VisualStudio.SharePoint.Commands” namespace.
    For a better troubleshooting, I suggest you do as the followings:
    1. Add languages to Supported Locales in AppManifest.xml.
    2. Try to debug you app project to see if there are something wrong in your code.
    Here are some detailed articles for your reference:
    http://blogs.msdn.com/b/officeapps/archive/2012/10/12/locale-support-information-is-required-for-all-apps-in-the-sharepoint-store.aspx
    http://srichallagolla.blogspot.in/2013/03/sharepoint2013-debugging-provider.html
    Best Regards
    Jerry Guo
    TechNet Community Support

  • HT4623 I'm trying to update my iPhone and I go to ``settings'' then ``general'' and at that point I should see ``software update.'' But it's simply not there, that line does not exist in my phone. What can I do?to look for the

    I'm trying to update my iPhone and I go to ``settings'' then ``general'' and at that point I should see ``software update.'' But it's simply not there, that line does not exist in my phone. What can I do?

    This featue is only available on iphone running ios 5 or later.
    Update as you always have, via itunes.
    Read the article you linked.  the entire article, not just the first part.
    iOS: How to update your iPhone, iPad, or iPod touch

  • Itunes does no play and music line does not progress after upgrade

    itunes does no play and music line does not progress after i upgraded my itunes to 11 version

    The same thing for me and I've tried EVERYTHING. Someone please help!?!?!

  • Hi guys, I have a big problem! My bookmark shortcut entry(command D) does not work anymore and do you know by any changes how to undo resetting of Safari? Thnx a million :)

    Hi guys, I have a big problem! My bookmark shortcut entry(command D) does not work anymore and do you know by any changes how to undo resetting of Safari? Thnx a million

    Try troubleshooting the Safari .plist file.
    Quit Safari.
    Open a Finder window. Select your Home Folder in the Sidebar on the left. It has a small house icon. Then open the Library folder then the Preferences folder.
    Move the com.apple.Safari.plist file from the Preferences folder to the Desktop. Relaunch Safari. Try a bookmark.
    If that didn't help, check Safari / Preferences then select the Extensions tab. If you have any installed, turn that off, quit then relaunch Safari.
    If Extensions aren't the issue, reset Safari. From the menu bar click Safari / Reset Safari. Select the top 7 buttons, click Reset.

  • Command "S" Does Not Work To Save Work In Any Application

    Hi. For some reason that I haven't figured out yet, holding down the command key with "S" as the keyboard command shortcut does not activate the SAVE menu in Photoshop CS2 or MS Word. It used to work and of course the "S" key and command keys work fine in other keyboard commands except this one. I am using an iBook G4.
    Does something have to be activated in preferences somewhere to fix this?
    Anyone else have this glitch?
    Thanks steve

    Hi Niel. Sure enough, I went into Speech sys preferences and Com + S was the keyboard shortcut. I changed it to an unrelated one. However when I went into PS CS2, I selected Com S and I got the Save As dialog box popup. I went into the Keyboard Shortcuts menu under Edit and Com + S was listed for Save and Save As was Com Shift S. I went ahead and deleted the Save As keyboard shortcut, but I'm still having trouble getting Com S to just Save. Of course I can do it with the mouse, but I would still like to use the correct key command. Any more ideas what might be going on?
    Thanks again steve

  • Brush Problems with Illustrator CS4... the line does not draw with my mouse movement

    When I use any other brush besides the Calligraphic Brushes from the "Artistic Ink" brush library, I press down with either my Wacom Tablet or mouse, and the line does not appear to draw. Then I release the button on the mouse or lift my pen tablet up, the lines appears. Sometimes, a little "dot dot dot" line appears when the brush stroke it going to appear. But most of the time, it's just nothing, and then the line appears after I've drawn it.
    However, with the preselected brushed at the top, and the Calligraphic Artistic Brushes, the line appears as I am drawing it. This is what I want for the other brushes.
    Is this normal?! I just recently upgraded to Windows 7, and reinstalled the Adobe Suite. I can't remember if Illustrator did this before I reinstalled it, but I'm not sure it did otherwise it would have annoyed me as much as it does now. Can anybody help me?

    Hi!
    Hope I'm not hijacking this thread.
    First time posting to a forum.
    I'm having the same problem and followed the advice for changing the file name in the Illustrator CS# Settings folder.
    This solved the problem of seeing predicted brush paths for very basic brushs, but I still can't get a preview path for any of the ink brushs.
    I've seen video tutorials which demonstrate inking techniques and the ink brush predicted path was clearly working in those tutorials.
    I'm assuming therefore that I should be able to see some type of preview when using the ink brushs.
    Any advice would be great!
    Cheers!

  • Command + F2 does not turn iMac into a screen

    hi, i am trying to use my 27" iMac as a screen to my Macbook Pro Retina.
    I have the thunderbolt cables plugged in, but pressing Command + F2 does not work. Yes i am pressing these buttons on the iMac.
    The first time i tried it a few days ago, the iMac did turn into a screen, but after a while it fell asleep and the connection was lost. I have not been able to restore it again, which is annoying.
    Another guy at work has the same issue and he has found it randomly works and sometimes doesn't.
    Does anyone know why? feel like the $50 spent on the cable is a massive waste of money if its not going to work. Wish apple would fix this.
    Any help is appreciated!
    i have also looked at   http://support.apple.com/kb/HT3924   and it doesnt have anything i dont already know

    So i was able to solve the issue by updating my operating system. I havent yet upgraded to Mavericks, im still on 10.8.5 but as soon as i updated, the iMac started connecting to the macbook pro.

  • Command L does not open library

    Just bought Classroom in a book for CS4 flash. The command +
    L does not open the library. Is the is an indication of a poorly
    written book (I heard some bad things about CIB Flash CS3. Hope
    this one is better. I can open the library by going to Window
    library. I can't believe I'm already writing a question. This has
    to be a first.
    Lou

    I just installed Ubuntu 10.04 with Firefox 3.6.8 and also getting an error on eBay when clicking on item I already bid on with a Windows PC. It states "Your browser doesn't follow HTML standards and made an invalid request.
    If you feel you have reached this page in error, please try again, maybe with a different browser.." I seem to have some Linux curse. As soon as I think things are working well, something like this pops up.
    Any solutions?

  • Mail info panel top line does not show subject or from subsequent lines do.

    mail info panel top line does not show subject or from, subsequent lines do.

    DOrk4L,
    Have you tried re-calibrating the battery? To re-calibrate it, let the battery drain completely and then charge it fully. You should see correct battery usage after that.
    Hope this helps,
    Jennifer B.

  • Shift-Command-R does not work anymore

    Hello all,
    I've noticed that the shortcut shift-command-r does not work anymore on my macbook pro. I used it for the calendar to refresh all calendars, and its also handy to open the reader in safari 5.
    When I open the keyboard viewer from the language and text menu I can see it when I press shift, then command but when I press "R" nothing changes, only shift+command stay highlighted. Other letters do work, so its a bit strange.
    Anyone know a solution for this?
    Thank you in advance

    Nope thats not the problem, the listening key is Esc. It is as if the keyboard does not register it when the R is pressed in combination with the shift and the command together. As I said, the keyboard viewer shows every keystroke except the shift-command-r combi.

  • CIF -DeltaReport  error 183 schedule line does not exist in R/3

    Hi Expert,
    In the delta report (/SAPAPO/CCR - CIF_DELTAREPORT), there are discrepancies that say error code 183, which is Schedule line does not exist in R/3..
    But when we look in R3, they are actually there. So we don’t want these showing as a discrep in the delta report.
    Example in ‘purchasing’, ‘confirmations’, ‘missing in R3 with external key’
    If you run DELTAREPORT for  purchasing, confirmation, unjustified error 183 are displayed despite of no inconsistency really exists.
    Please help why these dscrepancies displayed.
    we are running on SCM510.

    Hello Maddy
    Please go through below SAP notes - 
    1131469 - DELTAREPORT: unjustified error 181/183 for confirmation
    794281 - Locked purchase orders missing from R/3
    1022343 - Delta report displays too many errors (181)
    817354 - No delete event when you delete orders in APO
    Some Old SCN threads -
    CCR Error 154 - Planned Order Missing in R3 wit... | SCN
    CIF Problem -- Purchase Orders - Missing in R/3 with External Key
    This is good document on CCR error handling.
    CIF-Comparison / Reconciliation of Transaction Data
    Hope this will help.
    Thank you
    Satish Waghmare

  • When I enter time machine (on Time Capsule) i see the stack of screen shots and the time line. However, when I roll over the mouse pointer, the time line does not activate. The cancel button does not get me out of the app: have to alt cmd esc. Ideas?

    When I enter time machine (on Time Capsule) i see the stack of screen shots and the time line. However, when I roll over the mouse pointer, the time line does not activate. The cancel button does not get me out of the app: have to alt+cmd+esc. Ideas?

    I have never seen it but then I run SL which is much more reliable than Lion..
    See
    http://pondini.org/TM/E4.html
    Check the master guru of all TM problems.

Maybe you are looking for

  • Problem N5800 XM I need help

    I have problem with my navigation, I have fw. 30.0.011 and update OVI maps 3 . Navigation need many time to locate my position via GPS . I test It with E66 and the are more quickly about 20 seconds but on 5800 are more than 5 minutes , but when I run

  • Struggling with SMTP and classic ASP application

    I have a classic ASP application that I'm moving from 2003 to 2012. On 2003 it used CDONTS to send email, as this is not supported I am converting it to CDOSYS as follows; Dim ObjSendMail Dim iConf Dim Flds Set ObjSendMail = Server.CreateObject("CDO.

  • Suspended on agent

    Hello I have got rac system and when i try to schedule a backup at enterprise manager ,status of backup job change to "Suspended on Agent Unreachable". I check agent and dbconsole on both system it is working. And also agent page at enterprise manage

  • No apn

    I have install the application iPhone Configuration Utility.I setup the APN in  Configuration Profile, but I can't install it from the  Device->Configuration Profile to iPhone 4.Don't allow. I don't have any problem with the same aplication and iPhon

  • ITunes 7.6 won't run after installation, then won't reinstall

    Upgraded to 7.6 and when I tried to run it, received message that files were missing and that I should re-download. So I went to downloads, clicked and was immediately thanked for upgrading...nothing else. Have gone through all the suggestions, inclu