1 2 Previous Next 26 Replies Latest reply: Mar 31, 2008 1:44 PM by 807601 Go to original post RSS
      • 15. Re: Missing javac file in bin directory
        807601
        I deleted C:\jdk1.6.0_05 and then re-ran jdk-6u5-windows-i586-p.exe

        These are the *.exe files in C:\jdk1.6.0_05

        C:\jdk1.6.0_05\bin
        java-rmi
        java
        javacpl
        javaw
        javaws
        jucheck
        jureg
        jusched
        keytool
        kinit
        klist
        ktab
        orbd
        pack200
        policytool
        rmid
        rmiregistry
        servertool
        tnameserv
        unpack200


        C:\jdk1.6.0_05\jre\bin
        java-rmi
        java
        javacpl
        javaw
        javaws
        jucheck
        jureg
        jusched
        keytool
        kinit
        klist
        ktab
        orbd
        pack200
        policytool
        rmid
        rmiregistry
        servertool
        tnameserv
        unpack200
        • 16. Re: Missing javac file in bin directory
          807601
          I just re-downloaded the jdk-6u5-windows-i586-p.exe file and ran it on someone else?s computer and they also do not have a javac.exe file.

          Is there an executable in addition to jdk-6u5-windows-i586-p.exe that I need to download and run to create the javac.exe file?
          • 17. Re: Missing javac file in bin directory
            807601
            BillyUofI wrote:
            I deleted C:\jdk1.6.0_05 and then re-ran jdk-6u5-windows-i586-p.exe

            These are the *.exe files in C:\jdk1.6.0_05

            C:\jdk1.6.0_05\bin
            java-rmi
            java
            javacpl
            javaw
            javaws
            jucheck
            jureg
            jusched
            keytool
            kinit
            klist
            ktab
            orbd
            pack200
            policytool
            rmid
            rmiregistry
            servertool
            tnameserv
            unpack200


            C:\jdk1.6.0_05\jre\bin
            java-rmi
            java
            javacpl
            javaw
            javaws
            jucheck
            jureg
            jusched
            keytool
            kinit
            klist
            ktab
            orbd
            pack200
            policytool
            rmid
            rmiregistry
            servertool
            tnameserv
            unpack200
            crazyy... Both have the same executables, yet one folder is for the jdk and the other for the jre.

            Are you sure that u downloaded the jdk, and downloaded the jdk on the other persons computer and not the runtime??

            also, how big was the download (in MB)?
            • 18. Re: Missing javac file in bin directory
              807601
              VBKing wrote:

              crazyy... Both have the same executables, yet one folder is for the jdk and the other for the jre.

              Are you sure that u downloaded the jdk, and downloaded the jdk on the other persons computer and not the runtime??

              also, how big was the download (in MB)?
              The file I downloaded says jdk "jdk-6u5-windows-i586-p.exe" and I downloaded it from the JDK links:

              "JDK 6 Update 5" link from this page:
              http://java.sun.com/javase/downloads/?intcmp=1281

              Then

              "Windows Offline Installation, Multi-language " link from this page:
              https://sdlc5b.sun.com/ECom/EComActionServlet;jsessionid=9EE09D09A62F48B9F3F97673BC9D05AD

              The jdk-6u5-windows-i586-p.exe file is 71.39 MB
              • 19. Re: Missing javac file in bin directory
                DarrylBurke
                Are you trolling? I just downloaded and installed from the same 71.39 MB file, and this is the output of dir *.exe:
                {color:black}
                Directory of C:\PROGRA~1\Java\jdk1.6.0_05\bin

                22-02-2008  02:12            25,600 appletviewer.exe
                22-02-2008  02:12            25,600 apt.exe
                22-02-2008  02:12            25,600 extcheck.exe
                22-02-2008  02:33            45,056 HtmlConverter.exe
                22-02-2008  02:12            25,600 idlj.exe
                22-02-2008  02:12            25,600 jar.exe
                22-02-2008  02:12            25,600 jarsigner.exe
                22-02-2008  02:12            25,088 java-rmi.exe
                22-02-2008  02:12           135,168 java.exe
                22-02-2008 02:12 25,600 javac.exe
                22-02-2008  02:12            25,600 javadoc.exe
                22-02-2008  02:12            25,600 javah.exe
                22-02-2008  02:12            25,600 javap.exe
                22-02-2008  02:12           135,168 javaw.exe
                22-02-2008  02:33           139,264 javaws.exe
                22-02-2008  02:12            26,112 jconsole.exe
                22-02-2008  02:12            25,600 jdb.exe
                22-02-2008  02:12            25,600 jhat.exe
                22-02-2008  02:12            25,600 jinfo.exe
                22-02-2008  02:12            25,600 jmap.exe
                22-02-2008  02:12            25,600 jps.exe
                22-02-2008  02:12            25,600 jrunscript.exe
                22-02-2008  02:12            25,600 jstack.exe
                22-02-2008  02:12            25,600 jstat.exe
                22-02-2008  02:12            25,600 jstatd.exe
                22-02-2008  02:12            25,600 keytool.exe
                22-02-2008  02:12            25,600 kinit.exe
                22-02-2008  02:12            25,600 klist.exe
                22-02-2008  02:12            25,600 ktab.exe
                22-02-2008  02:12            25,600 native2ascii.exe
                22-02-2008  02:12            25,600 orbd.exe
                22-02-2008  02:12            25,600 pack200.exe
                22-02-2008  02:33            73,728 packager.exe
                22-02-2008  02:12            25,600 policytool.exe
                22-02-2008  02:12            25,600 rmic.exe
                22-02-2008  02:12            25,600 rmid.exe
                22-02-2008  02:12            25,600 rmiregistry.exe
                22-02-2008  02:12            25,600 schemagen.exe
                22-02-2008  02:12            25,600 serialver.exe
                22-02-2008  02:12            25,600 servertool.exe
                22-02-2008  02:12            26,112 tnameserv.exe
                22-02-2008  02:12           122,880 unpack200.exe
                22-02-2008  02:12            25,600 wsgen.exe
                22-02-2008  02:12            25,600 wsimport.exe
                22-02-2008  02:12            25,600 xjc.exe
                              45 File(s)      1,650,176 bytes
                               0 Dir(s)  25,782,677,504 bytes free

                C:\PROGRA~1\Java\jdk1.6.0_05\bin>
                {color}
                Ah well if you're deliberately selecting install options to not run
                this or that from your hard drive...

                To add anything more would be a waste of time.

                db
                • 20. Re: Missing javac file in bin directory
                  807601
                  Darryl.Burke wrote:
                  Are you trolling? I just downloaded and installed from the same 71.39 MB file, and this is the output of dir *.exe:
                  Ah well if you're deliberately selecting install options to not run
                  this or that from your hard drive...

                  To add anything more would be a waste of time.

                  db
                  The only option I changed was the directory the program installs to.

                  Is there a windows xp option I need to change before install?
                  • 21. Re: Missing javac file in bin directory
                    807601
                    I figured it out. I just re-downloaded it again and left the directories at default.

                    The installer first ask me to install the
                    JAVA SE Development kit 6
                    update 5
                    private jre 6 update 5

                    I was changing the directory to C:\jdk1.6.0_05

                    Then the installer ask me to install the
                    Java SE Runtime Environment

                    I was also placing this in C:\jdk1.6.0_05 because I figured I would keep all the java files together. Unfortunately, this was overwriting the JDK bin file.

                    Since C:\jdk1.6.0_05 has a jre subdirectory it did not occur to me that the jre install was overwriting the C:\dk1.6.0_05/bin directory.

                    Thank you everyone for your help.
                    • 22. Re: Missing javac file in bin directory
                      DarrylBurke
                      Thank you for sharing this, it may someday help someone who makes the same mistake.

                      luck, Darryl
                      • 23. Re: Missing javac file in bin directory
                        807601
                        Thts good to hear
                        • 24. Re: Missing javac file in bin directory
                          807601
                          I just downloaded and installed the same version of the SDK, and there is no javac.exe .
                          • 26. Re: Missing javac file in bin directory
                            807601
                            Oh. I did the same thing - gave the same directories for the SDK and the JRE.

                            You should specify not to install the JRE, because you're going to get the same complete JRE under jdk1.6.0_05/jre anyway. Asking to install the JRE gives you 2 copies of the same JRE, at about 180M each.
                            1 2 Previous Next