Why I can't use javac? and why my program doesn't pop up cmd window?

I have 2 questions here:
1) I try to compile my HelloWorld.java using command prompt,
javac HelloWorld.java
But it won't work; by right it should create a HelloWorld.class. When I go to Configure/Options/JDK Profile, it is already showing JDK version 1.6.0_07. My environment variables show User variables and System variables with C:\Program Files\Java\jdk1.6.0_07\bin. This is where my JDK is stored, but I don't know why I can't use javac. It keep saying
'javac' is not recognized as an internal or external command, operable program or batch file
2) Why is it when I run my java script using JCreator, the print out appear in the box below in JCreator and not in command prompt? How can I make it pop up on command prompt window?

Things tend to move fasterYep... until something goes wrong... then you're completely stuffed, because you have no idea what's actually happening, because the idjit IDE is hiding all the gory details... it doesn't even tell you what it's doing, let alone how it's doing it, or what to do when it fails.
Another argument for the command line is that it's simple. There are 16 distinct dialogues involved in adding a new jar to a library in jBuilder... There may well be less than 16 characters in the equivalent edition to the equivalent build command line. That's an extreme case, I admit, but it goes to disprove the notion that IDE's are simpler for noobs.
Also, it's easier to get help on command line usage... because it's all text based you can just copy & paste the problematic command and it's output, and the eggspurts (tm) can do likewise with a response... and there are limited number of command lines out there... and *nix, windows, and mac cover maybe 99.5% of java users... and the eggspurts are likely to know all three (colectively if not as individuals) fairly well, because they deal with them all day every day.
My belief is that noob's are better off at the command line until such time as they need (not just want to play with) a visual debugger... at which time its time to download netbeans and eclipse, and see which one suits you better... if you have money to splurge I'd also evaluate intelliJ... But avoid jBuilder, 2008 is total carp! The FREE eclipse is (IMHO) "nicer to use", and it has a LOT less bugs.
Cheers. Keith.

Similar Messages

  • Could you please tell me, how can you, using Lookout and Field Point, program on/off relay actions using a calendar?

    It´s a on/off illuminating ssystem control. Shure the user will need a calendar programing tool to program weekdays, holidays, etc. on of functions.

    Hi Galileo,
    See the following for Lookout side of things:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000DBE90000&USEARCHCONTEXT_CATEGORY_0=_9_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_9_&UCATEGORY_S=0
    As for FieldPoint, you can talk to it from Lookout in couple of ways -- either directly using the native FieldPoint object, or via OPC using the OPCFieldPoint object.
    Based on the timers from above, you would turn On/Off the relays (on the RLY-420 module of your FieldPoint).
    That's in a nutshell. Write back if you have specific questions.
    Good luck!
    Khalid

  • Since downloading Maverick I have a long hang time, computer crashes, can't use word and I can't access finder, why?

    Since downloading Maverick I have a long hang time, computer crashes, can't use word and I can't access finder, why? Also, iTunes is horrible. While I'm listening to my music iTunes will just stop playing the song for at least 5 minutes and I can't force quit why does it do that? This is the first time I have ever felt like my iMac is just as bad as a PC and I wonder if Steve Jobs would have let the program be relase to the public with all the problems involved. No wonder Maverick was free. IT ***** BIG TIME!

    Hello, vanvu. 
    Thank you for visiting Apple Support Communities. 
    Since you are experiencing this issue with both a wired and wireless connection only on your home network and not at other locations, this issue would related to your router.  I would first recommend power cycling the router and testing the connection again.  If the issue persists, try updating your routers settings per the article below. 
    iOS and OS X: Recommended settings for Wi-Fi routers and access points
    http://support.apple.com/kb/ht4199
    Cheers,
    Jason H. 

  • HT5037 I have Iphoto 9.5.1 on my MacBook pro I can't use it and I'd like to suggestions?

    I have Iphoto 9.5.1 on my MacBook pro I can't use it and I'd like to suggestions?

    SUggestion wouls be to give us some information
    Like what version of iPhoto it is that you can not use and why you can not use it? - what happens
    LN

  • Flash player on the new mac sarafi can't use keyboard and event listener

    flash player on the new mac sarafi can't use keyboard and event listener
    cn:英文有些差不好意思,附上中文说明:在flash player web 开发时,我在最新版本的sarafi上,目前出现不能响应键盘事件bug,为了验证是不是我本地问题,我也用在多款别的网页游戏上进行测试,全有这个bug,另外,有时还有那个fp弹出本地 缓存提示设置窗口也点不了“允许或拒绝“那些按钮

    Now after 5 weeks, you have always not resolved this very important and urgent issue. It seems that Adobe has realy abandonned the actionscript / flash player projects. Why not simply discontinue flash player on desktops too ? Or even better remove or block "automaticaly" all flash players with the final update. That could create a serious issue on the Internet for few weeks but at least that will be honorable end like a Samurai's Seppuku...

  • How can I use OmniPortlet and Web Clipping Portlet?

    How can I use OmniPortlet and Web Clipping Portlet?

    You find information on OmniPortlet and Web Clipping in the Portal Developer's Guide.
    o Building Portlets with OmniPortlet
    o Building Content-Based Portlets with Web Clipping
    Peter

  • How can I use excel and word on the IPAD2

    How can I use excel and word documents on my Ipad 2

    There are apps such as Documents To Go which support reading/editting/creating those sorts of documents :
    standard version  -  http://itunes.apple.com/us/app/documents-to-go-office-suite/id317117961?mt=8
    premium version  -  http://itunes.apple.com/us/app/documents-to-go-premium-office/id317107309?mt=8

  • How can I use undo and redo with run time menu?

    Hi..I try to built my own menu for graphic programming. How can I use undo and redo in labview with run time menu?

    filozof-
    During runtime, by default, LabVIEW has undo/redo data changes under the edit menu. This will undo/redo changes made to controls during runtime. If you want a more extensive undo/redo (custom for your application), you are going to have to do quite a few things
    1) Create a custom runtime menu (Edit>>RunTime Menu) and place your own undo/redo controls on it
    2) Keep an action history in your program
    3) Catch the Shortcut menu event for your custom undo/redo controls
    4) Reverse the last action in your histroy when you catch the event
    This method would allow you undo entire operations (like resize, move, or whatever kind of functionality you are building into your application) unstead of just undoing data changes.
    Xaq

  • Hi, I have already bought Adobe Photoshop and Lightroom for 1 year. Now I will change my PC to Mac. Can I use Photoshop and Lightroom in my new Mac?

    Hi, I have already bought Adobe Photoshop and Lightroom for 1 year. Now I will change my PC to Mac. Can I use Photoshop and Lightroom in my new Mac?

    Yes.
    Mylenium

  • I am from turkey and Iphone4 can be used Turkcell and vodafone(carriers) in turkey but i bought my iphone in usa and it only works with at&t.Is there anything i can do to use my iphone with turkcell or vodafone?

    I am from turkey and Iphone4 can be used Turkcell and vodafone(carriers) in turkey but i bought my iphone in usa and it only works with at&t.Is there anything i can do to use my iphone with turkcell or vodafone?

    No. Return it and get your money back if still within the 30 day return window. All US iPhones are carrier locked and cannot be officially unlocked.

  • While using my Iphone 5, all of a sudden  black and white stripes where on the screen. I have tryed to turn the phone off and on again, but there are only the stripes. I can't use it, and nothing happens when I push the buttons. Can someone help me?

    While using my Iphone 5, all of a sudden  black and white stripes where on the screen. I have tryed to turn the phone off and on again, but there are only the stripes. I can't use it, and nothing happens when I push the buttons. Can someone help me?

    Try resetting your phone, hold the home and sleep/wake button down until the apple symbol comes up, then release. If that doesnt work, you may have damaged your phone and need to take it to an apple genius bar.

  • Can we use overload and overwrite concept in OO-abap

    hi
    can we use overload and overwrite concept in OO-abap

    Hi
    CLASS zl_lcl_vehicle DEFINITION.
    PUBLIC SECTION.
    Signature of method
    METHODS: set_make
    IMPORTING value(im_make) TYPE string " Pass by value
    im_model TYPE string," Pass by reference
    ENDCLASS. "zl_lcl_vehicle DEFINITION
    CLASS zl_lcl_vehicle IMPLEMENTATION.
    Implementation of method.
    METHOD set_make.
    IF im_make IS NOT INITIAL
    AND im_model IS NOT INITIAL.
    gv_make = im_make.
    gv_model = im_model.
    ENDIF.
    ENDMETHOD. "set_make
    ENDCLASS. "zl_lcl_vehicle
    Overloading means changing signature as well as implementation of a method.
    Overriding is changing only implementation of method with signature unchanged.
    From ABAP perspective, only the CONSTRUCTOR method can be overloaded in a subclass i.e both the signature and implementation can be adapted in subclass.
    Any other method can't be overloaded. It can only be redefined/overridden i.e implementation changed with signature unchanged.
    In ABAP  there is something called a redefinition.
    When you inherit a class from a super class, you can redifne a method. You cannot chnage the signature( Interface) of the method. It will remain the same as that of the super class.You must redefine a method in the same visibility section in which it appears in the superclass.
    Eg.
    CLASS C_SUPER_CLASS DEFINITION .
    PUBLIC SECTION.
    METHODS: DRIVE ,
    STOP.
    PROTECTED SECTION.
    DATA SPEED TYPE I.
    ENDCLASS.
    CLASS C_SUPER_CLASS IMPLEMENTATION.
    METHOD DRIVE.
    SPEED = 0.
    WRITE: / 'Bike speed =', SPEED.
    ENDMETHOD.
    ENDCLASS.
    CLASS C_SUB_CLASS DEFINITION INHERITING FROM C_SUPER_CLASS.
    PUBLIC SECTION.
    METHODS DRIVE REDEFINITION.
    ENDCLASS
    CLASS C_SUB_CLASS IMPLEMENTATION.
    METHOD DRIVE.
    SPEED = SPEED + 10.
    WRITE: / 'Bicycle speed =', SPEED.
    ENDMETHOD.
    ENDCLASS.
    Regards
    Vasu

  • Can we use exceptions and conditions at the same time?

    can we use exceptions and conditions at the same time? Are there any dependencies between exceptions an conditions?

    Exceptions are used when there are some mistakes , or exceeds the supposed values, we can highligt that in different colours for enabling the validator to notice easily. In this we are giving conditions for considering the value as exceptions. suppose, if the values is out of the range -1 to +1 then exception.
    But conditions can be considered as the restrictions given in measure level also. So please elaborate what you meant by conditions

  • Can i use safary and watch on the tv

    I bought the apple tv device
    from my ipad can i use safary and watch on the tv

    If you want to mirror you need iPad 2 (or later)
    http://support.apple.com/kb/HT5209?viewlocale=en_US&locale=en_US

  • If i download windows with bootcamp does that mean i can still use Macintosh and if so how

    if i download windows with bootcamp does that mean i can still use Macintosh and if so how

    Welcome to Apple Support Communities
    If you installed Windows properly, you can still start in OS X and use it whenever you want. However, Boot Camp changes the startup partition to Windows, so you may note that you can't use Mac OS X.
    There are two ways of starting in OS X:
    1. Hold the Option (Alt) key while your computer is starting until you see all the bootable partitions in the screen, and choose your OS X partition.
    2. Hold the X key while your computer is starting.
    If you have a iMac or a Bluetooth keyboard, make sure you hold the key after hearing the startup chime.
    If you want to start in OS X by default, after starting in OS X, open System Preferences > Startup Disk, and choose the OS X partition

Maybe you are looking for

  • HP Photosmart C 5280

    Mac mini computer using 10.9 will not use all functions of the printer.  The computer will not recognize the scan function.  Is this a Apple problem or do you no longer support the printer using 10.9?  Do I need a new printer scaner?

  • Help!!! My macbook pro is not charging. Flat wont switch on green light on charger but not charging. What can I do???

    Hi my macbook pro will not switch on, charger is green led light not orange. It will not charge back up been switched on all day and still nothing. What can I do???

  • F-1 help not working

    When I use F-1 to find help on a field it just displays blank screen. Any ideas to fix this???

  • 23" HD Cinema Etch-A-Sketch Symptoms

    My 23" HD Cinema Monitor looks like an etch-a-sketch with whispy gray strands all over the screen (another analogy might be that the marks make the screen look like there's a bunch of faint sand dunes all over the screen). This is most noticeable wit

  • Changing page margins?

    My printer has a default margin of .25" at top and left, and .5" at the right and bottom page.  I can't find anywhere to change this, even the print preview has it cut off, and I have no idea why! I'm working mainly with Photoshop, and my printer is