cancel
Showing results for 
Search instead for 
Did you mean: 

JAVA_HOME does not point to the JDK Error.

senthil_kumar29
Participant
0 Kudos

Hello Friends,

I unable build my local DC due problem with JAVA_HOME Parameter.

I am using j2sdk1.4.2_08. Is this a problem. (JDK Version).

I have checked the file C:\usr\sap\J2E\JC00\work\dev_server0

I got the following error when try to build DC.

-


Ant build finished with ERRORS

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

Error: Build stopped due to an error: 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

Build plugin finished at 2007-09-09 16:21:38 GMT+08:00 (SGT)

Total build plugin runtime: 5.453 seconds

Build finished with ERROR

-


Cheers.. Sam

View Entire Topic
Former Member
0 Kudos

Hi,

Goto My COmputer> Right Click(Properties)>Advanced>Environment Variable>Just see that you have the variable named JAVA_HOME(case sensitivity) and its value is set to correct path eg. C:\j2sdk1.4.2_08

Regards,

Murtuza

senthil_kumar29
Participant
0 Kudos

Hi,

Thank you for ur time.

I don't find JAVA_HOME Variable.

There are 2 kind of variables.. System Variable n User Variable in Environment Variable window.

Under which one I have to add.

Cheers.. Sam

Former Member
0 Kudos

Hi Sam,

You need to add a <b>new</b> variable there with the name JAVA_HOME and the value will be the path of your jdk eg. C:\j2sdk1.4.2_08

Regards,

Murtuza

former_member185029
Active Contributor
0 Kudos

Hi,

You will have to add under Env Variable.

The path should be like

Variabe Name JAVA_HOME

Variable Value C:\j2sd_1.4.2_08 <---The path where JDK is installed.

Ashu