Q
Problem solve Get help with specific problems with your technologies, process and projects.

Problem using JCo 2.1.3

We are using SAP R/3 4.6C. I downloaded the JCo 2.1.3 and did the necessary installations as stipulated in the help PDF. When I tried to do the example provided the following compilation error is given. (USING JAVA j2sdk1.4.2_05) Please advise me.

C:java>javac JcoCon.java

JcoCon.java:2: package com.sap.mw.jco does not exist
import com.sap.mw.jco.*;

JcoCon.java:12: package JCO does not exist
JCO.Client mConnection;

JcoCon.java:13: cannot resolve symbol
symbol : variable JCO
location: class JcoCon

mConnection = JCO.createClient("015", "DDDAP", "SAPD", "EN", "SA PDEV", "00");

3 errors

You need to make sure the JCo jar file is part of the class path when compiling or running any JCo application.

Dig Deeper on SAP Basis

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchContentManagement

SearchHRSoftware

Close