LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-06-2004, 05:06 PM   #1
drenal
Member
 
Registered: Dec 2003
Location: Poland
Distribution: slackware current
Posts: 53

Rep: Reputation: 15
java.lang.*(Unknown Source), what did I miss?


Hi, I'm trying to work with Sybase ASA 9 demo on my linux. I have
java - (version "1.4.2_04" 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05) Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode) )

First problem is when I run Sybase Central, and program warns me that the libraries: dbput9_r and dbmlput9_r could not be loaded. I found these libs in some lib/ directory in sybase dir, I added path to this lib dir in my /etc/ld.so.conf and done ldconfig, but thereis still the same problem.

Second problem is in apps in sybase, for example when I adding new database and click Finish to create it, some problem appears.
Code:
This program has encountered an internal error (java.lang.UnsatisfiedLinkError)
java.lang.UnsatisfiedLinkError: no dbjodbc9 in java.library.path
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at ianywhere.ml.jdbcodbc.IDriver.try_load(IDriver.java:247)
        at ianywhere.ml.jdbcodbc.IDriver.<clinit>(IDriver.java:216)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at com.sybase.asa.logon.JDBCDrivers.connect(JDBCDrivers.java:289)
        at com.sybase.asa.logon.LogonDialogFactory$SilentDBSource.connect(LogonDialogFactory.java:395)
So, I'm newbie and I wondering what are these "(Unknown Source's)"? I didn't working with java yet, but I think that these libraries are additional plugins or somn. If these are, then where can I get them from?

Similar errors appear when I laughing some other apps.
 
Old 06-07-2004, 08:33 AM   #2
DiWi
Member
 
Registered: Jun 2004
Location: Frankfurt/M Germany
Distribution: SuSE 9.3/10.2/10.3
Posts: 64

Rep: Reputation: 16
Follow the getting started documentation of Sybase.

On Unix you have to set the environment variables before starting the Sybase Central. There's a shell script created during install. Run this (. <shellscript>.sh) before starting Sybase central

Dirk
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
java exception: java.lang.NoClassDefFoundError kath Programming 12 05-11-2006 05:37 AM
java.lang.InstantiationException: java.sql.Connection poeta_boy Programming 2 07-06-2005 09:26 PM
java.lang.NoSuchMethodException: rulirahm Linux - Networking 2 05-02-2005 02:30 AM
java.lang.UnsatisfiedLinkError bjyostna Programming 1 02-16-2005 11:08 AM
miss autoconf.h kernel source? rusmi Linux - Newbie 1 02-15-2005 07:50 AM


All times are GMT -5. The time now is 10:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration