- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Error connecting SAP while sapjco3.jar file is in my library path
You need to copy sapjco3.dll in a folder in your Java library path as he t library is not sapjco3.jar and it is a sapjco3.dll file.
You can call in your application usingfollowing:
System.getProperty("java.library.path")
Following approaches can be used:
First is by copying sapjco3.dll into one of the folder which are already in your library path like: C:\WINNT\system32
Second would be to use the same path in Java library path using any of the following options:
By accessing System.setProperty ("java.library.path","C:\path\to\folder\with\dll\") before accessing the SAPJCo
You can set Java command line like this -Djava.library.path=C:\path\to\folder\with\dll\
- Related Articles
- Error while connecting to SAP server from Java application: java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path
- While using SAPJco 3.0.11 with Maven, I can’t rename original archive sapjco3.jar
- Getting an error while previewing swf file from XML data in SAP Dashboard Designer
- Performing different SAP logon check while connecting to HANA
- Getting error- Hard-coded logon parameters not allowed when using a Destination Configuration while connecting to SAP server dynamically
- Error while using LOOP…..WHERE in SAP ABAP
- What is a JAR file?
- Getting error while extracting data from SAP
- Error while connection SAP HANA with .NET
- PHP Soap Client is not supporting WSDL extension while connecting to SAP system
- Error while using enter "!" on selection screen in SAP.
- Getting memory error while doing UNION in SAP HANA
- Getting error while using schema in SAP HANA Modeling
- Error while selecting into field-symbol in SAP ABAP
- Getting error message while using SAP Scripting Tool

Advertisements