Cannot find javac.exe in j2se 1.5.0 jdk

hi
i have been installing and reinstalling JDK 5.0, yes it is jdk not jre...
and i cannot find javac.exe
does anyone has any solution?
thanks in advance.

Oh, and btw, you should uninstall everything (J2EE, J2RE/jre, Forte/S1S, and Webstart) - Then install J2SE, followed by J2EE, then S1S.
Don't install J2RE as a separate install - the J2SE install will also install it and Webstart.

Similar Messages

  • Can't find Javac.exe

    I'm new to Java (presently taking a class). I'm very confused and not getting too far. I'm running Win XP and have downloaded the latest version of Java J2SE1.4.0_01 (actually because of repeated problems, I've uninstalled and installed it a few times).
    I can't find javac.exe anywhere on my c drive. I read a past forum posting describing the same problem which suggests downloading the latest version of SDK1.4. Isn't this what I have been downloading? Where can I find this download? If it isn't what I've been downloading, why do I need both and how would I have known this? I understand how to set the path once I get javac.exe but I'm becoming frustrated trying to obtain this file and move forward with my study of java. Thanks for the help.

    If you need only to run a java application then you just need a JRE (Java Runtime Enviorment ). It contains everything that you wanted to run it.
    But, if you want to develop some java application , then you needs something more... you need to have to compile those source files first... For this what you want is a SDK (Software development Kit)... Both is free.. You can download the 1.4sdk from http://java.sun.com/Download6
    After downloading and installing it, set the path corectly to include the bin directory of the installed folder..
    Hope it helped
    appu

  • Cannot find java.exe when executing Sun Java Enterprise 8.1

    I downloaded and installed Sun Java Enterprise 8.1 (actually because I kept getting not enough space messages I downloaded it in 3 parts). When attempting to execute by clicking on the icon I keep getting a message saying "cannot find java.exe". I previously installed the java runtime successfully. Is anyone familiar with this and if so how do I get around it. I am running Win2k SP4 on a laptop. Thank you for any insight you can provide.

    Hi,
    I faced same problem. I had jdk 1.5.0_05 installed on C: drive directly. But When I check the log though the installation found the version it was assuming it to be at 'C:\Program Files\Java' so even after finding the installed JDK it was failing. When I copied the JDK at 'C:\Program Files\Java' and then uninstalled and reinstalled the Sun java studio 8 again, at this time it asked me about which JDK to use! Then there I could point to C:\jdk1.5.0_05. Then everything went through fine. I guess this is some problem in installation code. Try this out.

  • Cannot find javac compiler

    I have recently installed apache tomcat and the J2SE SDk on my windows machine and have managed to get tomcat to run. However, when i try to test a jsp page I get an error saying ii cannot find the javac compiler. The error I amgetting is shown below.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    Unable to find a javac compiler;
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK
         org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106)
         org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
         org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    I have checked my environment variables that I set up and I cannot finad anything wrong with them as they all seem to point to the right directory. Here are my environment variables.
    CLASSPATH = C:\jdk1.5.0_02\lib\tools.jar;C:\Servers\Tomcat 5.0\common\lib\servlet-api.jar;C:\Servers\Tomcat 5.0\common\lib\jsp-api.jar
    JAVA_HOME = C:\jdk1.5.0_02
    PATH = %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\ATI-CPanel;C:\Program Files\Pragma\Clients;C:\Program Files\MySQL\MySQL Server 4.1\bin;C:\jdk1.5.0_02\bin
    Does anyone have any idea what the problem could be? Any solutions would be much appreciated.
    Thanks

    I have recently installed apache tomcat and the J2SE SDk on my windows machine and have managed to get tomcat to run.
    the error i have got is below:
    Exception:
    Unable to find a javac compiler;
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK
         at org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106)
         at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
         at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:282)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:328)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:536)
    Does anyone have any idea what the problem could be? Any solutions would be much appreciated.
    Thanks

  • Cannot find SCANPST.EXE anywhere on my Computer

    Hi,
    I have two computers one running Windows 7 Ultimate, the other running Windows 8.1 Pro.  I have Office Professional Plus 2013 installed on both. On both compters I an unable to locate the SCANPST.EXE file.  I can find the DLL files in the expected
    folder locations but not the .EXE.  Re-installing Office made no difference. My search includes hidden files, system files and exe's to no avail.
    Please help !
    Thanks.

    Hi,
    Scanpst.exe is installed when you install Outlook. The default location of the tool is:
    C:\Program Files|Program Files (x86)\Microsoft Office\Office1
    If you cannot find the Scanpst.exe file by using Search, check the following locations for the file. Where the file is located depends on which version of Windows that you are running:
    <var>disk drive</var>:\Program Files\Microsoft Office\OFFICEnn
    where nn is 10 for Office XP, 11 for Office 2003,
    12 for the 2007 Office system, and 15 for Office 2013
    <var>disk drive</var>:\Program Files\Common Files\System\Mapi\1033\
    <var>disk drive</var>:\Program Files\Common Files\System\Mapi\1033\NT
    <var>disk drive</var>:\Program Files\Common Files\System\MSMAPI\1033
    <var>disk drive</var>:\Program Files(x86)\Microsoft Office\Officenn
    where nn is 10 for Office XP, 11 for Office 2003,
    12 for the 2007 Office system, and 15 for Office 2013
    <var>disk drive</var>:\Program Files(x86)\Common Files\System\Mapi\1033\
    <var>disk drive</var>:\Program Files(x86)\Common Files\System\MSMAPI\1033
    More reference about how to find and use this tool, please refer to this KB article:
    http://support.microsoft.com/kb/287497/en-us
    Regards,
    Ethan Hua
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Just downloaded and Installed, can't find javac.exe

    I think the subject pretty much says it. I've downloaded and installed java. Trying to follow the tutorial, but I cant find a "javac.exe" file on my computer?
    What did i do wrong?

    Dont be impressed of the download-time. Forte is very nice, but you need much RAM and a good processor. I use 300Mhz and 128Ram, in this case it was definately to slow. now I use JCreator 2.0... it�s free and has not such nice functions like Forte, but it opens in 3 seconds, while Forte always needed about 1 min !

  • Oracle 10 express XE cannot find proc.exe

    Hi,
    I am working for a small software-company. A prospective customer of us asked for an oracle-version of our data-migration-tool. The database interface of the tool is iplemented using dynmaic embedded sql (whichis kind of a standard). To get a feeling of how difficult the adaption/extension of the tool would be, I downloaded and installed the free oracle 10g express (XE) package on my WinXp-Box.
    But now, the promblem begins. I cannot find the file proc.exe which contains the embedded sql precompiler. Do I need another package (which might not be free) ??
    I searched in forums and in google and the only hint i found was, to install client-software. So I tried "Oracle Database 10g Express Client" but with no luck.
    This is really a surprise to me, since I thoght, the free oracle express-edition is meant for software-development.
    I really appreciate any help!!
    many thanks in advance

    PRO*C is not included in Oracle XE according to this Re: PROC*C with OracleExpress Edition.

  • Windows cannot find AcroTray.exe

    Hi,
    I'm using adobe acrobat pro 9 and started getting an error message everytime I attempt to create a pdf file using ms office whether it be in word, excel, or even in ms project
    The error message is:
    Windows cannot find 'C:\Program Files (x86)\Adobe\Adobe Acrobat10.0\Acrobat\AcroTray.exe'
    Make sure you  typed the name correctly, and try again.
    This just started to happen last week after using acrobat pro for the last two years with no problems.
    I am using windows 7 home edition.
    Any suggestions on how to fix this would be greatly appreciated as I've had no success
    Garry

    I would run Help>Repair. Then do the updates to AA9 also. That may repair the problem. As suggested, it looks like the AA X trial was installed and then removed. One of the problems of removing a version of Acrobat is that it often breaks the remaining versions. Hopefully, a repair will do the job.
    However, you should be able to find AcroTray in the AA 9 folder also. Check the startup folder to be sure that is the version that is being called. AcroTray should be running in the background to enable PDF creation.

  • Can't find javac.exe file

    After trying to install the J2EE sdk 3 times I'm at a lost. My C:\j2sdkee1.3.1\bin\ directory does not contain the javac.exe or java.exe files. I'm 100% sure I installed the sdk and NOT the JRE. For one reason or another the installations never give me those 2 files.
    I made sure I've downloaded the whole installation file: j2sdkee-1_3_1-win.exe (16.9 MB).
    The one odd thing is that when I search my computer, there are javac.exe and java.exe files in the "/jvm/bin" directory of dreamweaver application. I'n not sure if that has an effect on the installation.
    Can anyone help me?

    Note the following statement:
    This release relies on the Java 2 SDK, Standard Edition ("J2SETM"). The following table lists the required version of the J2SE for each operating system that is supported with this release of the J2EE SDK.
    on this page:
    http://java.sun.com/j2ee/sdk_1.3/
    (you need the j2se download...)

  • My system cannot find javac!!

    This is enough to drive me crazy. I use TextPad to develop Java apps, etc. One nice thing about it is, like other IDE's, you can compile and launch apps from within TextPad itself. One day, it just stopped being able to find the compiler. It finds the interpreter ok (AND THEY ARE IN THE SAME SPOT!). Well, I thought it was TextPad or something, but I just downloaded a web server to run my jsp pages and even though I have the bin folder of the jdk I want to use on my PATH, it (the jsp engine) cannot find the compiler! What the heck is going on? If I open a dos shell and type "java", it runs the interpreter (it finds it). If I type "javac" - I get "Exception in thread 'main' java.lang.NoClassDefFoundError: sun/tools/javac/Main"
    Why can't my system recognize my compiler? I have tried adjusting my path to an different jdk (bin folder) and the same thing happens! Arggh - help, please!

    It seems that u have installed JRE or other s/w like netscape, opera which gives JRE with them.
    Now when u installed it, it overrides (better to say append) the ur system's path / classpath variable, now as u know what is JRE, it has only interpreter java, but not compiler javac.
    So better to put ur jdk/bin path/classpath at last, in ur variable or autoexec.bat, whatever u used.
    let's see what happen?
    Hardik

  • Cannot find javac program

    Hello, I just recently installed Java 2 SDK, version 1.3.1 on my NT computer. After installation (went
    by the book according to the java installation notes) and adding my path, I did a quick check in the
    folder I installed to..in this cas C:\jdk1.3 . I do not see the javac.exe file listed in the bin at all (there is a javaw and java but no javac). I reinstalled it just to see if I was incorrect and I still don't see it at all so of course I can't really run anything as of yet. I downloaded from this website. Can anyone help me?

    you should right-click the folder that contains jdk1.3 and click on "search" and then type the file name to search for wherever it is. Hope that helps any!
    james
    Hello, I just recently installed Java 2 SDK, version
    1.3.1 on my NT computer. After installation (went
    by the book according to the java installation notes)
    and adding my path, I did a quick check in the
    folder I installed to..in this cas C:\jdk1.3 . I do
    not see the javac.exe file listed in the bin at all
    (there is a javaw and java but no javac). I
    reinstalled it just to see if I was incorrect and I
    still don't see it at all so of course I can't really
    run anything as of yet. I downloaded from this
    website. Can anyone help me?

  • Cannot find native2ascii.exe (JDK 1.5.0_05 on Windows)

    Hi,
    I am sorry if this is not the right forum for this issue, but I have a small problem:
    I recently installed JDK 1.5 on my Windows XP box, and I need to use the native2ascii tool. For JDK 1.3 and 1.4, I have found this tool in the bin/ folder of the jdk installation. However, I cannot find the native2ascii tool in my JDK 1.5 installation, even though it is described in the documentation...
    Any ideas?
    Should I try re-installing the 1.5 JDK?

    Never mind, I reinstalled as soon as I got the chance, and there it is, in the bin directory...

  • Cannot find photoshop.exe for my previous cs6 after installing CC

    I owned CS6 before I subscribed to CC. I cannot run my 64 bit cs6 non cc version as the exe file is no longer there.  The 32 bit version has the photoshop.exe file, but  not the file for the 64 bit version. Yes, I am looking in the right places.
    Cc runs fine.
    Apparently Cc overwrote something or?  How do I run my non cc cs6 without the photoshop exe.?  I have looked everywhere in the folders.There is a cs6 folder  I have treid the search function and there is no 64 bit cs6.
    Also, since I cannot get into it, and I did nothing, I cannot deactive it in order to reinstall it.  Or can I not reinstall it without damagng cc?    How can I run both?

    check it on application folder

  • Windows cannot find IGFXTRAY.EXE

    IGFXTRAY.exe
    This question was solved.
    View Solution.

    Last try..
    Download the Intel driver zip file from here..
    Intel® HD Graphics Driver for Windows* 7/8/8.1-64-bit
    Then rename the file name c:\windows\system32\IGFXtray.exe to  c:\windows\system32\IGFXtray1.exe
    Next go to the downloaded zip file and open the graphics folder. Copy the IGFXtray.exe file and paste it in c:\windows\system32\
    Restart and check again..
    Note:
    If you have HP Support Assistant installed on the computer(The Blue Question Mark) then open it ==> Complete all pending Updates & Tuneups==> Restart and Check. It may solve your problem
    Although I am an HP employee, I am speaking for myself and not for HP.
    **Click on “Kudos” Star if you think this reply helped** Or Mark it as "Solved" if issue got fixed.

  • Cannot find javac

    I am running Red Hat 7.3 and I just installed java 2 sdk from Sun's website, I updated the path for the java directory I installed it to, but I cant compile any files. I did a search for the "javac" file and it isnt anywhere on my system. The "java" file is there but not javac. can any one please help this has been driving me crazy for days!

    You may have installed the JRE rather than the JDK, which won't have the javac tool. Check to be sure you downloaded the correct file.

Maybe you are looking for

  • Error Deploying to IntegratedWebLogicServer

    Hello, While deploying a JSF application into IntegratedWebLogicServer, I'm getting the following message. I'm using Jdeveloper Studio Edition Version 11.1.1.3.0 build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660. Can you suggest me what I could be

  • How can I install CS6 on Windows 7 32-bit?

    how can i inst cs6 on win7 32 bit

  • Opening a form with detail information

    Hi all, i have create a matrix contain all Draft is Open and i make double click event on row to view detail form. If omatrix.IsRowSelected(i) = True Then                             Dim Docnum As Integer = omatrix.Columns.Item(1).Cells.Item(pVal.Row

  • Mini on a Samsung TV

    My mac mini (server) is attached to my Samsung TV. It seems after a while, the mini needs to be rebooted. Any ideas on what might be going on here. thanks.

  • Intel gma 4500mhd with displayport

    Hello. I have lenovo t500 (2055-2MG) and Dell 24" ultrasharp U2414H monitor. I connected it with displayport - minidisplayport to the notebook, but it does not work with intel gma 4500Mhd. The display shows No signal. I use Ubuntu 14.04 64 bit versio