Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

build error in model

Hi,

I created a DC and created model in it. I called rfc function in model. i get the error regarding java compiler . i read other posts on sdn and accoridngly changed my environment variables. but still the error is seen

kindly help - thanks.

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

environment variables :

JAVA_HOME: C:\j2sdk1.4.2_12

CLASSPATH: ;.;C:\j2sdk1.4.2_12\lib\tools.jar

PATH: ;C:\j2sdk1.4.2_12\bin

windows - prefrence - java - installed jre - C:\j2sdk1.4.2_14

windows vista system

nwds 6.0 version

-thanks.

Former Member
Former Member replied

Hi

if u'll remove env. variable from classpath it'll remove it from ur project only..this will still remain in ur java classpath variables of NWDS..so not to wrry abt it..

once u remove ,u agan add it agn from proj property-> java build path-> add varible

C:/Program Files/SAP/IDE/IDE70/eclipse/plugins/com.tssap.ext.libs.j2ee_1.3.0/

path shud b like this for varible if JDK is properly installd

Regards

Khushboo

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question