My javac doesent work

when I write to "cmd" javac I get this message: 'javac' is not recognized as an internal or external command,
operable program or batch file.
when I check my java versio it says: 'javac' is not recognized as an internal or external command,
operable program or batch file.
where is problems

This will probably help:
http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html
Also read this:
http://forum.java.sun.com/thread.jsp?forum=31&thread=362421
One of the characteristics of a good programmer is the ability to solve problems by examining available material - you can start to develop this by looking at the answers to previous questions in a similar vein (hint: forum search).

Similar Messages

  • My "arrow" doesent work, cant "go back" one page (so I get back where I was before clicking on a "item" in FB).

    When I am on FB playing f.eks CW and "click" on an "item", I get that item on "next" page - climb that one and want to go back to the place I was before - but the "arrow" doesent work anymore.
    (go back a page - click right or pull down to view history).
    I think this is a FIREFOX issue - so FIREFOX have to look at the problem! There is no other "users" who cant help me with this!

    The Macbook Air is a low end Macintosh for graphics apps and you are asking it to perform a heavy pro workflow using a pro application. The integrated GPU of MBAs is a serious limiter to heavy graphics. Personally I would expect flaky performance with certain operations. In general I recommend that Aperture users choose boxes with independent GPUs and capable of taking 16 GB RAM if necessary.
    It will be important to carefully optimize workflow. How much RAM is in the MBA? The most Apple specs is 8 GB but you can check OWC to see if you can go to 16 GB. My Aperture/Photoshop workflow paged out at 8 GB RAM before I upgraded to 16 GB RAM.
    You should evaluate whether or not you have adequate RAM:
    Look at the Page Outs number under System Memory on the Activity Monitor app before starting a typical Aperture/Photoshop work session and write the number down. Recheck the Page Outs count after working for a few hours and write the number down again. If the page outs change (manual calculation of ending page outs number minus starting page outs number) is not zero your workflow is RAM-starved.
    Ignore the pie charts and other info in Activity Monitor because they can be misleading regarding RAM usage. For RAM analysis, manually count page outs before and after a work session.
    HTH
    -Allen

  • After System restore from Time Capsule Mail doesent work

    HI
    i resored my Time capsule backup on my mac because of the need for space to install windows on my mac (Boot camp doesent works!) i can use all my programms and data well exept Mail when i start mail it Flashes:
    You can’t use this version of Mail with this version of Mac OS X
    You have Mail version 4.0 (1075/1076). It can’t be used on Mac OS X Version 10.6.1 (Build 10B504). For more information, click the Help button.
    (help button is online help....)
    But its just a 1to1 backup.....
    Can anyone help me??

    Blinkyrus wrote:
    i restored my Time capsule backup on my mac because of the need for space to install windows on my mac (Boot camp doesent works!) i can use all my programms and data well exept Mail when i start mail it Flashes:
    You can’t use this version of Mail with this version of Mac OS X
    You have Mail version 4.0 (1075/1076). It can’t be used on Mac OS X Version 10.6.1 (Build 10B504). For more information, click the Help button.
    (help button is online help....)
    The first thing I'd try is to download and install the Mac OS X 10.6.1 updater:
    http://support.apple.com/kb/DL930
    It would have been more appropriate to post your message in one of the Mac OS X 10.6 message sections.

  • Can't get javac to work???

    I can't get the javac to work, and i set the path to c:\jsdk\bin%PATH% and then i try the java -version and it says it failed, then the javac says bad command, so it's not seeing it. what gives??

    Hi Ricky,
    try this, in your autoexec.bat file:
    SET PATH=C:\JDK1.3.0_02\BIN
    of course change JDK1.3.0_02 by the folder where you have the java SDK.
    other paths should be separated with semicolon in the same statement
    re init your machine
    good luck
    PD:are you writing java -version in the DOS promt?
    are you writing javac yourfile.java in the folder where yourfile is? Be care,Case matters!

  • FOR ALL ENTRIES IN  comando doesent work !!!

    Dear all,
    I have here a problem with my select. I dont know why it doesent work. In the table gt_struc1 I have 2 entries.
    This entries are also in BSAD availible.
    belnr
    bukrs
    gjahr
    are the same in  gt_struc1 and in BSAD
    TYPES: BEGIN OF ts_struc1,
                   bukrs        TYPE bukrs,
                   gjahr        TYPE gjahr,
                   belnr        TYPE belnr_d,
                   prctr        TYPE prctr,
           END OF ts_struc1.
    DATA: gt_struc1    TYPE TABLE OF ts_struc1,
                lt_tabelle      TYPE REF TO data.
    *       BSAD
            CREATE DATA lt_tabelle TYPE STANDARD TABLE OF BSAD.
            ASSIGN lt_tabelle->* TO <ft_itab>.
    *       Get data from DB
            SELECT * FROM bsad INTO TABLE <ft_itab>
            FOR ALL ENTRIES IN gt_struc1
              WHERE belnr EQ gt_struc1-belnr AND
                    bukrs EQ gt_struc1-bukrs AND
                    gjahr EQ gt_struc1-gjahr.

    The gt_struc1is correct see blow:
    * Über alle Datensätze
      LOOP AT lt_content
      ASSIGNING <fs_current_set>.
    *   Ab welche Zeile
        CHECK sy-tabix >= pa_zeile.
    *   Spliten der Daten
        SPLIT <fs_current_set> AT ';' INTO ls_struc1-bukrs
                                           ls_struc1-gjahr
                                           ls_struc1-belnr.
    *   Siehe Selektionskriterien
        CHECK ls_struc1-bukrs IN pa_bukrs[].
        CHECK ls_struc1-gjahr IN pa_gjahr[].
        CHECK ls_struc1-belnr IN pa_belnr[].
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = ls_struc1-belnr
          IMPORTING
            output = ls_struc1-belnr.
        APPEND ls_struc1 TO gt_struc1.
      ENDLOOP.
    Edited by: handeglo on Feb 26, 2010 10:29 AM

  • When i click on firefox it loads but then nothing comes up and it doesent work

    When i click on firefox it loads but then nothing comes up and it doesent work

    Is the Windows 8.1 system you posted from the one with the problem, or is the problem on a different system? In that case, I assume it's also Windows.
    Does Internet Explorer work normally or are all browsers affected?
    Did this problem start shortly after any software changes, such as:
    * Windows update
    * installation of new software
    * updates to add-ons
    In case the problem is your firewall configuration (for firewall software that blocks programs from accessing the internet), please see: [[Configure firewalls so that Firefox can access the Internet]].
    In case the problem is unwanted software or malware, please see: [[Troubleshoot Firefox issues caused by malware]].

  • One month free doesent work

    i have applied for the one month free but it doesent work i cant make calls abroad. but it says that the order is deliverd.

    Hi,
    Your subscription has been activated.
    It includes calls to following destinations only:
    Argentina
    Australia
    Austria
    Belgium
    Canada - (incl. mobiles)
    Chile
    Croatia
    Czech Republic
    Denmark
    Estonia
    Finland
    France
    Germany
    Greece
    Guam
    Hong Kong SAR - (incl. mobiles)
    Hungary
    Ireland, Republic of
    Israel
    Italy
    Japan
    Korea
    Luxembourg
    Malaysia
    Netherlands
    New Zealand
    Norway
    Poland
    Portugal
    Puerto Rico
    Russia - St Petersburg
    Russia - Moscow
    Singapore - (incl. mobiles)
    Slovakia
    Spain
    Sweden
    Switzerland
    Taiwan
    Thailand - (incl. mobiles)
    United Kingdom
    United States - (incl. mobiles)
    Venezuela
    If my answer helped to fix your issue, mark it as a Solution to help others.
    Thank You!
    Please send private messages only upon request.

  • When ever i turn cellular data off then back on my mobile internet doesent work why does this happen?, when ever i turn cellular data off then back on my mobile internet doesent work why does this happen?

    when ever i turn cellular data off then back on my mobile internet doesent work why does this happen?, when ever i turn cellular data off then back on my mobile internet doesent work why does this happen?

    You only asked the question 4 times.  You have to repeat it at least 10 times to get an answer here, and then only if you supply useful info about your phone.

  • ITunes doesent work anymore

    I am running Windows SP. 2 and rescently i downloaded the new version of iTunes and when it downloaded it tried to load it up and nothing happens. I waited for an hour and nothing still happened. I reinstalled it and it still didnt work. Just a few minutes ago i went to the support page and it told me to delete a file ina hidden folder. I did it and restarted my computer and it still doesent work. Can someone please help me!

    hi Ashley!
    I click to open itunes, and it either doesnt do anything at all or once in a while i get a message saying itunes had an error and needed to close.
    oh yuck ... it's fairly rare, but i associate the usually itunes sits there doing nothing, but sometimes i get the 'itunes has encountered an error' message when i try to launch it behavior with a viral infection on the PC. (sometimes people also see a mysterious message about their DrWatson too.)
    i'm not sure precisely which virus causes this one ... but if your existing antivirus and antispyware programs aren't picking it up, try Googling for and downloading a free trial copy of the Panda antivirus software. that usually seems to clean it up (whatever it is).
    keep us posted.
    love, b

  • Navigation on the touchscreen doesent work anymore

    after upgrading I pod nano 6.th genertion with version 1.2, the touchscreen doesent work anymore. It^s impossible to navigate.
    Does anybody have an answer for that behaviour?

    Hmm... since it isn't working on either device I'd suggest buying another pair. Perhpas you can try another pair before you buy? Let us know

  • I'm new to Java and can't get javac command working

    Ok first of all hello ( i'm new to the forum ), second i'm reading a book about Java and im trying to compile a sample code from the book, but javac command gained life and it's against me. So the book i'm reading is Sams Teach Yourself Java in 21 Days (YAY), and the code i want to compile is an application that works with another bit of code that mimics what a robot could do inside a volcano. So the Volcano program code is the following ( i'll post the robot code at the end of the post):
    1: class VolcanoApp {
    2: public static void main(String[] arguments) {
    3: VolcanoRobot dante = new VolcanoRobot();
    4: dante.status = ?exploring?;
    5: dante.speed = 2;
    6: dante.temperature = 510;
    7:
    8: dante.showAttributes();
    9: System.out.println(?Increasing speed to 3.?);
    10: dante.speed = 3;
    11: dante.showAttributes();
    12: System.out.println(?Changing temperature to 670.?);
    13: dante.temperature = 670;
    14: dante.showAttributes();
    15: System.out.println(?Checking the temperature.?);
    16: dante.checkTemperature();
    17: dante.showAttributes();
    18: }
    19: }
    Ignore the numbers they are used for explaining stuff in the book, and i din't copy the indentation.
    So what i do is that i creat a file with notepad ( no fancy stuff only plain old notepad ) and i copy this code, remove the numbers and make the indents.
    After that i save as .txt file with the apropriate name ( i know it's case sensitive ). After that i open command prompt and write:
    javac VolcanoApp.java
    And it tells me that "javac is not recognized as an internal or external command operable program or batch file".
    I managed to solve that by going to the control panel and by adding to the system variables for my user in the path variable this :
    ;C:\JAVAJDK\bin
    ( C:\JAVAJDK is where JDK is installed)
    And then i modified the system variables like this:
    In the CLASSPATH i entered this .;%JAVA_HOME%\lib\tools.jar
    In JAVA_HOME i entered this C:\JAVAJDK
    Setting the variables like this made the javac error go away but now when i write in command line
    javac VolcanoApp.java
    It gives me this error
    javac: file not found : VolcanoApp.java
    Usage: javac options source files
    use -help for a list of possible options
    And then i read that i can drop my java file directly in the javac file. So i did.
    When i drop my VolcanoApp.java in the javac file it open a command line window and writes a bunch of stuff in like a milisecond and shuts down. And no file is created.
    I wanted to know what was writen in that window so i did it again and took a print screen and pasted it on paint ( it writed so much text that i only got a little bit but enough to see what hapend)
    I read it and in the print screen it said it had 15 errors ( so far ) and then it point the errors with little arrows and there were characters that weren't present in the original code.
    What hapend the compiler added wierd letters?
    SO, my real question is, how the heck do i get javac working and compiling stuff properly?
    Plz help i'm getting mad at this! ; (
    And the code for the "robot":
    1: class VolcanoRobot {
    2: String status;
    3: int speed;
    4: float temperature;
    5:
    6: void checkTemperature() {
    7: if (temperature > 660) {
    8: status = ?returning home?;
    9: speed = 5;
    10: }
    11: }
    12:
    13: void showAttributes() {
    14: System.out.println(?Status: ? + status);
    15: System.out.println(?Speed: ? + speed);
    16: System.out.println(?Temperature: ? + temperature);
    17: }
    18: }
    Again no indents and ignore the numbers. In the book it only said to compile the VolcanoApp.java , and not the VolcanoRobot.java
    Edit:
    I'm using Windows Vista Home Premium 32 bit.
    Edited by: BBlop on Dec 13, 2009 11:29 AM

    guess what it says java file. So yes i'm sure. Sarcasm. Not the best way to encourage a total stranger to help you. Then there's
    Sorry if i wasn't more clear but was that response needed?No it wasn't needed, but I'm not the one asking for help so I have the luxury of not worrying too much about it. It's extremely frustrating trying to drag relevant information out of someone, and makes one less inclined to bother.
    Anyways, there's still nothing in this thread that actually explicitly says "there is a file called VolcanoApp.java in the directory where I'm running javac from" and I really can't be bothered banging my head against the wall any longer. You've made a silly mistake, or a false assumption. We all do it from time to time. My advice is, take a break, go for a walk and re-visit this in a while. You'll probably spot the mistake right away.

  • Cd c:\java gives me different output and javac doesnt work

    Dear friends;
    once I type cd c:\java it gives me different output and after that javac doesn't work
    Like
    javac filename.java
    doesnt compile.
    Any comments, please.
    C:\Program Files>java
    Usage: java [-options] class [args...]
    (to execute a class)
    or java [-options] -jar jarfile [args...]
    (to execute a jar file)
    where options include:
    -client to select the "client" VM
    -server to select the "server" VM
    -hotspot is a synonym for the "client" VM [deprecated]
    The default VM is client.
    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
    A ; separated list of directories, JAR archives,
    and ZIP archives to search for class files.
    -D<name>=<value>
    set a system property
    -verbose[:class|gc|jni]
    enable verbose output
    -version print product version and exit
    -showversion print product version and continue
    -? -help print this help message
    -X print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
    enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
    disable assertions
    -esa | -enablesystemassertions
    enable system assertions
    -dsa | -disablesystemassertions
    disable system assertions
    C:\Program Files>

    That error means that the file does not exist or you got the filename wrong (which means it does not exist)...
    recheck the location of your file and verify that it actually there...
    Step 2, now that we know that the J2SDK1.4.2_03 is installed in C:\j2sdk1.4.2_03\bin...
    We can now set you path... If you have an Windows 2000 or XP then check this link in the forum...
    http://forum.java.sun.com/thread.jsp?forum=54&thread=491703&tstart=0&trange=15
    So what you do is right click on My Computer (icon) which will give you a menu...
    Select Properties at which point you will see the System Properties Dialog window...
    Select the Advanced Tab (called Details in Win2000) Click on the Environment Variables button...
    Which will open the Environment Variable Dialog window... then in the second little window labeled System Variables, select Path and click on the edit button...
    you will now see the Edit System Variable dialog window...
    in Variable Value goto the the end of that line (make sure that nothing is selected/highlighted), type
    ";c:\j2sdk1.4.2_3\bin
    make sure that you include the semicolon...
    click ok to make the change, and via the ok buttons exit System Properties...
    reopen DOS and now you should be able to run Javac.exe anywhere...
    Hope this helps...
    -MaxxDmg...
    -' He who never sleeps...'

  • Sorry... Newbie need help... Win XP Javac not working

    Hello....I am pretty new at Java programming, and from wut I have heard...I can run Java applications out of Dos... I learn the codes are Javac and appletviewer. but it doesnt seem to work with win XP professional.... it said that the codes are not internal or external command or something like that....can someone please show me the right way...thanks

    I'm assuming you put the path in the Environmental Variables on the Advanced tab in the System settings. You need to put in the path to java bin folder. Make sure you put the right path in - for example on my XP the path I added is c:\j2sdk1.4.0\bin
    You can do a search for a file named javac.exe if you aren't sure where it is installed. Also, reboot after setting.

  • Javac doesnt work

    My javac command does not work. My path is correct because the java command works. I think this problem occurs because I dont have the javac.exe file in my bin folder. So was wondering if there is any place where I can download javac.exe, or if someone was kind enough to upload that file on there server, and then give me the web address where you uploaded it, and I can download it from there. Thank you.

    huh no edit option. edit option? what's that?
    i forgot to ask, if it is
    neccasary for me to have jre. if i have jdk. what is
    the difference except that it takes up more space.aye, there's the rub: "What's the difference between the jre and jdk?"
    JDK = Java Developer's Kit. This is for people who want to develop code.
    JRE = Java Runtime Engine. This is for clients who just want to run a Java JVM.
    "...except that it takes up more space..." - AND you can develop and compile actual code with one and not the other.
    %

  • [code]javac[/code] works, [code]java[/code] does not work.

    I have installed the Java 2 SDK Standard Edition v1.3.1_01. I have set the path in the autoexec.bat file. I created the file WhatsUpDoc.java containing:
    public class WhatsUpDoc{
      public static void main(String[] args){
        System.out.println("What's up Doc?");
    }At the DOS prompt, when I type: javac WhatsUpDoc.java there is no compilation error and the WhatsUpDoc.class file is created. But, when I type java WhatsUpDoc at the DOS prompt, I get:
    Exception in thread "main" java.lang.NoClassDefFoundError: WhatsUpDocI have compiled several applets working just fine on a web page. Why I cannot run this simple application?
    Thank you for your help.
    Michel Cariotis

    I have installed the Java 2 SDK Standard Edition
    v1.3.1_01. I have set the path in the
    autoexec.bat file.What have you set the CLASSPATH to? It should be ".;%JAVA_HOME%\jre\lib\rt.jar". It looks like the CLASSPATH is wrong, so java can't see the class in the current directory. :-/
    Bhav

Maybe you are looking for

  • Java Sound in JRE 1.5.4?

    Hello, I recently installed the Java Run-time envir.. 1.5.4, for windows. Changing from the 1.5.3 version, but in the 1.5.3 version I could play .wav files, but now I cannot. Would anyone know if the wav player has been taken out, and has to be insta

  • Automated Payment Program (F110) error.

    Hi All, I am facing an error while running APP details are below :- when i do the payment proposal creation, and run the log the following error is found: Internal error: doc.balance not zero / comp.code 3992 vendor 1000100230 customer Message no. FZ

  • CS6 not responding

    When I used ps last week I had no problems but today when I open it nothing for a least 5 min and thing it finally opens. The spl;ash screen comes up and it starts loading but then just gets stuck.Ive not added anything new .It does the same when try

  • SEQUENCE TABLE QUESTION

    For the sequencing processing, i tell TopLink to use Native Sequencing in my mapping file. When i generate it, TopLink write in the file : <uses-native-sequencing>true</uses-native-sequencing> <sequence-table>SEQUENCE</sequence-table> <sequence-name-

  • Downloaded flash player and dekstop got deleted

    After I downloaded adobe flash player to my desktop, all my icons on my desktop are gone. Where did my desktop Icons go? I did a search on my computer of the files I was just working with but I could not find them. Using windows 7 professional 32 bit