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.
This was last published in November 2004

Dig Deeper on SAP Basis administration and NetWeaver administration

PRO+

Content

Find more PRO+ content and other member only offers, here.

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.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close