java.io.IOException: CreateProcess: javac -nowarn -classpath

Discussions

XML & Web services: java.io.IOException: CreateProcess: javac -nowarn -classpath

  1. Hi,

    When i build compile the source file, i get this error.
    I have search thru the internet about this problem but no vail. Someone please help me

    [java] java.io.IOException: CreateProcess: javac -nowarn -classpath D:\uobm\ejbcgen;D:
    \bea\jdk131\jre\lib\rt.jar;D:\bea\jdk131\jre\lib\i18n.jar;D:\bea\jdk131\jre\lib\sunrsasign.
    jar;D:\bea\jdk131\jre\classes;D:\bea\jdk131\lib\tools.jar;D:\bea\wlserver6.1\lib\weblogic.j
    ar -d D:\uobm\ejbcgen D:\uobm\ejbcgen\com\oe\ejb\*.java D:\uobm\ejbcgen\com\OLSV2\acs\ejb\*
    .java error=2

    Regards,
    Myra
  2. Try this:

    http://forum.java.sun.com/thread.jsp?thread=416069&forum=423&message=1837936

    Or this one:

    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=67&t=000327
  3. I had a similar problem while trying to deploy a J2EE application. After some investigations, and following the links provided above, I found that I am not setting the JAVA_HOME environment variable probably. It should point to right jdk directory, i.e javac.exe should exist in %JAVA_HOME%\bin directory.
  4. After a few days of head banging, I found this link that explained perfectly the problem and pointed a working solution: http://marc.theaimsgroup.com/?l=xmlbeans-user&m=107118014101801&w=2 HTH others with the same problem.