Javac.exe giving error

compilation error on jdk1.2.2
error statement " javac.exe has generated errors and will be closed by the windows. you need to restart the computer" .

Hello pallavi_29,
May want to consider giving some more infor mation. Such the operating system, does this happen with every file that you try to compile? What is the effect of restarting your computer?
-Merwyn,
Developer Technical Support,
http://www.sun.com/developers/support.

Similar Messages

  • Sapinst.exe giving error while starting  'port 21213 is already in use'

    Hi
    when we start the sapinst.exe through remote desktop connection to the window 2003 server machine  getting following error
    SAPinst is getting started.
    Please be patient ...
    guiengine: call to listen() for socket 1812 failed. No such file or directory
    ERROR      2008-03-21 01:16:40 [iaxxgenimp.cpp:532]
               init()
    FGE-00006  Attempt to open a communication port connection failed. Check whether the port 21213 is already in use.
    ERROR      2008-03-21 01:16:40
    FCO-00034  An error occurred during the installation. Problem: error in GUI server subsystem.
    Exit status of child: 1
    I check the all the threads posted and did the following
    1. check the another instance is running - no instance running
    2. check port with security team , i come to know that they blocked  this ports security reason.
    so i try with other open ports , even through its giving  the same error.
    so i have one question
    1.is it mandatory to use the same ports 21212 or 21213 etc..
    or can we use any other free ports if so what port numbers we can use?
    becasue i try with different open ports, no use
    as follows"
    c:\sapinst.exe SAPINST_DIALOG_PORT=4238
    Please give any suggestions...
    thnaks in advance
    Gopal

    You reconnect with the GUI to SAPinst and enter the path to the software package or file manually. Then you can continue with the installation.
    You can also change the port nos. 21212 and 21213 to 41212 and 41214
    SAPinst uses the port 21212 during the installation for communication with the SAPinst GUI. If one of these ports is already used by another service you must start SAPinst as follows:
    sapinst SAPINST_DIALOG_PORT=<free_port_number>
    use command  : netstat -s      - > to check the ports being used
    Cheers
    Shaji
    Edited by: Shaji Jacob on Mar 21, 2008 10:53 PM

  • Exe giving error for report generation and LV 8.6.1

    I have created and installed a labview application in a PC(windows XP) where labview is not installed.  (already included NI_Excel.lvclass)
    I have used a report(excel) generation to display the results.
    I am getting following error:
    Error Code: -2147352573
    Member not found in NI_Excel.lvclass:
    I am using MS office Excel 2007 SP1
    NI LabVIEW Run-Time Engine:8.6.1.
    Report generation toolkit version:1.1.3
    phani srikanth
    Solved!
    Go to Solution.
    Attachments:
    Error.JPG ‏10 KB

    search the ni website and a 30 day eval copy can be found. For use beyond this period you would have to buy a license (unless you have one of course)
    compatibility can be found on the following link
    http://digital.ni.com/public.nsf/allkb/C9408B9F08D711E786256F3300701D01 
    hope it helps
    TD 
    Please remember to accept any solutions and give kudos, Thanks
    LV 8.6.1, LV2010,LV2011SP1, FPGA, Win7

  • "Error running javac.exe compiler" when using ant to compile Eclipse plugin

    Hi
    I encounter an error "Error running C:\jdk1.5.0_06\bin\javac.exe compiler" when building my project using ant1.7.
    My project has 10 eclipse plugins, and each plugin is compiled by invoking following ant target
    <!-- ===================================================================
    Compile specified plugin
         target parameters:
              param.plugin.dir: the plugin directory
              param.plugin.targetJarFile: the name of jar file for the given plugin
              param.plugin.src.dir: the folder name of source codes. Note: it is relative path name
              param.fork: indicate if another process is forked to run javac
    =================================================================== -->
    <target name="compilePlugin">
         <!-- Prepare compile environment -->
         <!-- Delete obsolete build folder -->
         <delete dir="${param.plugin.dir}/${build.dir}" quiet="true"/>
         <!-- Delete obsolete jar file -->
         <delete file="${param.plugin.dir}/${param.plugin.targetJarFile}" quiet="true"/>
         <mkdir dir="${param.plugin.dir}/${build.dir}"/>
         <!-- Compile source codes -->
         <javac      srcdir="${param.plugin.dir}/${param.plugin.src.dir}"
                   destdir="${param.plugin.dir}/${build.dir}"
                   failonerror="${javacFailOnError}"
                   verbose="${javacVerbose}"
                   debug="${javacDebugInfo}"
                   deprecation="${javacDeprecation}"
              optimize="${javacOptimize}"
                   source="${javacSource}"
                   target="${javacTarget}"     
                   fork="${param.fork}" memoryInitialSize="256m" memoryMaximumSize="512m">
              <classpath refid="compile.classpath" />
         </javac>
         <!-- Create plugin jar file -->
         <copy todir="${param.plugin.dir}/${build.dir}" failonerror="true">
              <fileset dir="${param.plugin.dir}/${param.plugin.src.dir}" excludes="**/*.java, **/package.htm*" />
         </copy>
         <jar jarfile="${param.plugin.dir}/${param.plugin.targetJarFile}" basedir="${param.plugin.dir}/${build.dir}"/>
         <delete dir="${param.plugin.dir}/${build.dir}" quiet="true"/>
    </target>
    Since each of first 9 plugins contains less than 500 java source files, we always set "param.fork" to false when invoking this ant target.
    For the 10th plugin, it has about 1000 source files. If we set "param.fork" to false, we will get the error "Error running javac.exe compiler". So we have to set "param.fork" to true when compiling it. This week, this plugin contains about 1250 files and we get the same error again when compiling it. I tried to increase the "memoryMaximumSize" to "768", but still couldn't get through it.
    BTW, There are about 150 jar files in our classpath for compiling plugins. Do many jar files cause this problem?
    Any help is highly appreciated.
    Many thanks
    Oceanman

    I encountered a very similar error and I was able to resolve it by removing the following parameters from the javac task:
    fork="${param.fork}"
    memoryInitialSize="256m"
    memoryMaximumSize="512m"My values were not the same as yours, before I removed them, the values were set to:
    fork="true"
    memoryInitialSize="256m"
    memoryMaximumSize="256m" Not sure why this fixed my problem but it did. I was using Ant 1.7 and Java 1.6_07 hope this helps.

  • Error initializing ejb-module; Exception javac.exe not found under

    Dear all,
    I got followings error after i had tried to doing some lab.I had checked the folder "C:\Program Files\Oracle\jre\1.3.1" exists but missed but missing javac.exe. Could anyone can advice me what is going wrong?
    04/04/14 16:44:20 Auto-deploying - web/WEB-INF/classes (No previous deployment found)...
    04/04/14 16:44:20 Error instantiating application 'lab04' at file:/C:/share/oc4j
    /labs/lab04/: Error initializing ejb-module; Exception javac.exe not found under
    C:\Program Files\Oracle\jre\1.3.1, please use a valid jdk or specify the locati
    on of your java compiler in server.xml using the <java-compiler .../> tag
    Thanks in advance!
    Best Regards,
    Chris CHIU

    Dear Chris,
    The answer lies in the error message you got, namely:
    please use a valid jdkAccording to your post, you don't have a JDK, you only have a JRE. The javac compiler is part of the JDK, it is not part of the JRE.
    You can download the JDK from the J2SE Download Web page. Look for the Download J2SE SDK link -- do not choose the Download J2SE JRE link!
    Good Luck,
    Avi.

  • GeoKettle: Error running javac.exe compiler

    Hi,
    I am trying to use GeoKettle exactly as mentioned at
    http://209.85.229.132/search?q=cache:JHfrxCo7y0YJ:forge.osor.eu/docman/view.php/143/250/Kettle_Devel_guide_v0.odt+geokettle+spoon+java+api&cd=2&hl=en&ct=clnk&client=firefox-a
    But when I try to build it, i am getting the following error.
    [javac] Compiling 135 source files to D:\workspace\geokettle\classes-core
    BUILD FAILED
    D:\workspace\geokettle\build.xml:74: Error running javac.exe compiler
    Can anyone guide me please to resolve this problem.
    Best Regards
    Tabbasum

    most likely the javac executable is not on the system path. Try typing 'javac -version' in a command prompt and see what response you get.
    If it is something like 'javac is not a recognized...', locate where the JDK is installed and add its bin subdirectory to the PATH system variable. Restart any command prompt and type javac again.
    You DID have a JDK installed, didn't you?

  • Error during java.exe, javac.exe,etc... execution

    Hi,
    I recently installed JSK1.2.1 on a PC with windows 2000.
    I correctly configured the PATH and CLASSPATH.
    When i compile or try to run java.exe, the system returns the following error in a window:
    "javac.exe has generated errors and will be closed by windows. You will need to restart he program.
    An error log is being created."
    The execution in the dos window stops as if nothing has happenned but the compilation doesn't work.
    What can be the problem?

    Does anyone have an answer to this problem. I am experiencing the same problem trying to use jdk1.1.6 (I know it's old but the contract I'm working on is forcing me to use it). I have done everything possible with the PATH and CLASSPATH. Still, nothing works.

  • Javac.exe Error Message

    Hey there,
    I recently Installed jdk1.2.2 on my home computer and now every time I go to compile a programe I get an error message which says Javac.exe has encountered a problem and needs to shutdown. Please contact windows then it says send error report or dont send?! I recently had to reinstall windows XP :( so would this have anything to do with it? Before I had to re-install XP jdk ran with no problems,
    Anyone with any ans I'd be delighted to hear
    Thanks!

    Do you have a Pentium 4 (or new Celeron) computer? It could be a problem with symcjit.dll. Some versions do not work in Pentium 4 computers. Upgrade your JDK version, or make it work in interpreted mode (
    before calling javac.exe, run the following command in the Command Prompt:
    SET JAVA_COMPILER=none
    Your compiling will be deadly slow, but it could work.

  • Javac.exe ERROR

    I am using JDK 1.2 and when I try to compile HelloWorld. Java using javac HelloWorld.java its pops up a window that says javac.exe has encountered a problem and needs to close. Any ideas on what the problem might be. Thanks!

    No. Is there a reason why you're using such an old version of Java?
    If not, possibly the easiest and quickest resolution would be to download and install a current version, either 1.4.2_06 or 1.5.0
    There have been many improvements that might eliminate the problem.

  • OC4J infinity loop in javac.exe compiling JSP

    Hi,
    i have a very strange problem with OC4J 10.1.3.5.0 and one JSP page. It occurs under Windows/OC4J (dev environment) and under Linux/OAS (in production environment).
    I try to explain as best as possible.
    I have an application running OK in OC4J. In this application I have a simple JSP that contains very little java code, like this:
    <%@ include file="/wtn/gen/checkAccess.jsp" %>
    <%@page info="mySite.com"
            language="java"
            errorPage="/wtn/gen/error.jsp"
            import="java.util.Locale,
                    com.mySite.util.Util,
                    com.mySite.Const,
                    com.mySite.LoginBussines"%>
    <%
        boolean b1 = LoginBussines.isB1(request) ? true : false;
        String domain = LoginBussines.getDomain(request);
        String url = "";
        if (b1) {
           url = "/web/" + locale + "/home.html";
        } else {
           url = "/web/" + locale + "/index.html";
    %>
    <html>
      <head>
          <title>JSP Page</title>
          <% out.println("<meta http-equiv='REFRESH' content='0;url=http://" + domain + url + "' />"); %>
      </head>
      <body>
      </body>
    </html>Well, this JSP don't have any error and it works fine normally.
    Problem ocurred:
    When I delete the precompiled JSP from persistence/_pages for force .java generation and re-compilation, OC4J generate .java correctly and launch a javac.exe process for compile the servlet .java. This compilation through javac.exe don't finish, remain permanent running and the compilation of JSP does not finish.
    The web application remain sleep while javac.exe process perform ghost operations. Finally (after 5 minuts aprox.) the OC4J stop waiting and show blank page.
    The javac.exe remains alive in Operating System.
    *(strange) Cause:*
    I know the cause but I find no explanation :-(...
    The cause is the import of com.mySite.LoginBussines. This class is correctly (compiled by Eclipse and Ant) and run OK when is called from a servlet or another class running in OC4J. But when this class is imported in a JSP, the javac go crazy and remain try to compile permanently...
    *(very strange) Workaround:*
    When I delete any code line of this class (one or more, no matter), arbitrary line of any method in this Class, recompile class and try again, it's work fine!
    NOTE: the size of LoginBussines.class it's around 66.897 bytes. I don't know if it's relevant.
    Please, someone know what's going on? Someone has encountered this problem?
    Thank you so much!
    Edited by: 890752 on 11-oct-2011 4:40
    Edited by: 890752 on 11-oct-2011 6:08

    Robert,
    It appears that you have only installed the Java Runtime Environment (JRE). You need to install the Software Development Kit (SDK). Get version 1.4.2_05, since this is what your version of OC4J requires. Go to the following Web page
    http://java.sun.com/j2se/1.4.2/download.html
    And look for the "Download J2SE SDK" link -- which appears below the heading:
    J2SE v 1.4.2_05 SDK
    Good Luck,
    Avi.

  • Php-cgi.exe - Application Error when Oracle is connected in PHP

    I am connecting Oracle 10g from PHP 5.0 and my OS is win server2003. I uncommented the following line in php.ini file also.
    extension=php_oci8.dll
    It is connecting the oracle and giving the required result also, but everytime the following error is coming.
    php-cgi.exe - Application Error
    The instruction at "0x6067b97e" referenced memory at "0x0114f020". The memory could not be read.
    Click OK to terminate the program.
    Click CANCEL to debug the program.
    Can anyone suggest to rectify this?

    Are you using a php_oci8.dll that is the right version for the version of php you're using? I know that sounds silly, but sometimes people do that.
    ~Jer

  • Javac.exe

    I am running Windows Server 2003 box (work related reasons). I use TextPad 4.7.3 for my editor. When I went to compile a java program it came back with the error:
    C:\WINDOWS\SYSTEM32\javac.exe
    The window cannot find the filed specified
    I have tried to re-install but no luck, any suggestions?

    Did you actually install the JDK/SDK or did you just install the runtime?
    If you installed the JDK/SDK then add the bin where javac is to your PATH.

  • I don't have the javac.exe program file.....

    i install the newest SDK on my windows xp, but when i tried to compile a program, it gives me an error message that says it can't find javac.exe, doing a search for it on my computer reveals no such file exist! what happened here?

    Most likely, you downloaded the JRE instead of the SDK. On the download page there are 2 columns, with the one on the right being the SDK. That's what you need.

  • Program not compiling giving Error : Invalid path, "C:\Program Files\Java--

    I am using jcreator where i am getting this error while compiling
    Error : Invalid path, "C:\Program Files\Java\j2re1.4.2_05\bin\javac.exe" -classpath "C:\Program Files\Xinox Software\JCreatorV3LE\MyProjects\zeroCode\classes" -d C:\Program" Files\Xinox "Software\JCreatorV3LE\MyProjects\zeroCode\classes C:\Program" Files\Xinox Software\JCreatorV3LE\MyProjects\zeroCode\src\BasicServiceLister.java
    Instead of that same program is compiling in textpad/eclipse easily.
    Please tell me what should i do to set what.
    present settings are:
    User Variable:
    classpath C:\Program Files\Xinox JCreatorV3LE\MyProjects\zeroCode\ classes
    Java_HOme: C:\Program Files\Java\j2re1.4.2_05\bin\javac.exe
    Path:C:\Program Files\Java\j2re1.4.2_05\bin
    Classpath is System Variables:
    C:\Program Files\Xinox Software\JCreatorV3LE\MyProjects\zeroCode\ classes
    Path :C:\Program Files\Java\j2re1.4.2_05\bin
    wher i really need to modify the settings:
    May be thorugh command prompt.
    I never did. windowds environment varaibles i can set.
    Thanks
    Vijendra

    ... -d C:\Program" Files\Xinox "Software\JCreatorV3LE\MyProjects\zeroCode\classes ...
    Looks like you are typing in things wrong with the double quotes.

  • Java.exe exception error

    downloading property management software which requires oracle 8.0.5 software to run also. When i go to set-up service through Oracle Net-8 Easy Config it comes back with a Java.exe error and will not let me continue

    I get the I/O exception while reading: D:\Java\HelloApplet (The system cannot find the file specified). I have previously compiled HelloApplet.java into HelloApplet.class using javac.exe
    the two include statements in the sample HelloApplet I'm using are
    import java.applet.*;
    import java.awt.*;
    I also have a ComponentEventTest.java file which I've made into a class with these two
    include statements:
    import java.awt.*;
    import java.awt.event.*;
    I can however compile .java files which have no include statements.
    I take it that my classpath is not set correctly. Like I said earlier, I'm using winxp
    and trying to set the classpath variable under system. I have tried under user too. The path names I've tried setting are C:\Program Files\Java\jdk1.5.0_02\, C:\Program Files\Java\jdk1.5.0_02\lib, C:\Program Files\Java\jdk1.5.0_02\include, and C:\Program Files\Java\jdk1.5.0_02\;C:\Program Files\Java\jdk1.5.0_02\lib;C:\Program Files\Java\jdk1.5.0_02\include.
    How can I correct this? If it's possible, I would like to set a variable in windows
    versus having to type extra commands at the command prompt everytime I try
    to run a java class with java.exe. Any help would be much appreciated

Maybe you are looking for

  • Help - setting up a document for A4 printing

    Hi everyone, I am very new to InDesign - using CS5.5. Trying to set up my first A4 document for printing. I an unsure of the printers settings but just want to check in the document - i need to have my background image right to edge of the bleed (3mm

  • What is the application in the System Application Server

    Hi, I'm a beginner who does not have much knowledge on Application Servers and databases. Would like to ask, when we log in to the Sun Java System Application Server, we can create a database under Connection Pools. So would like to ask, what is the

  • Cisco cfg files parser.

    Hello, dear experts! There was a program called Nipper, which could analyze cisco cfg files and make a html report. It was pretty useful to quickly understand network configuration and analyze network infrastructure. Unfortunately I guess this progra

  • CS5 crashing randomly once I upgraded the PC

    Hello, My system has Intel i5-2400, gigabyte Z68A-D3-B3 MB, 8GB kingston hyperx ram, Nvidia GT520. The system is running at 3.2ghz, which is 0.1 more than normal for that CPU. The system is stable and super fast for everything. PS works great, especi

  • Adding the expression in Item under UI Property

    HI: I was trying to create a Item in a region editing parameters in the create Action properties. I can not edit or add the expression parameters because the elipse icon did not bring the window to give name and write the expression for the parameter