
- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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 Questions & Answers
- 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
- What is a JAR file?
- Performing different SAP logon check while connecting to HANA
- Error while connection SAP HANA with .NET
- Getting error while extracting data from SAP
- PHP Soap Client is not supporting WSDL extension while connecting to SAP system
- Getting an error while previewing swf file from XML data in SAP Dashboard Designer
- Getting error message while using SAP Scripting Tool
- 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
- Error while selecting into field-symbol in SAP ABAP
- Getting memory error while doing UNION in SAP HANA
- Getting error while using schema in SAP HANA Modeling
- How to make seleinum jar file , and how to test using Selenium jar file?
Advertisements