🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #152

java.lang.UnsatisfiedLinkError: no jvb in java.library.path

#152
From: Scott
Date: Sun, 13 Jun 2004 18:28
80 lines
3640 bytes
I am trying to write a program that access Borland's Caliber RM using the
product's Java API.

I imported the relevant class libraries in JBuilder through the Project
Properties.Paths.Required
Libraries tab.

All meaningful code in the app is copied from the documentation distributed
with the Caliber RM.

I'm getting the error message java.lang.UnsatisfiedLinkError: no jvb in
java.library.path when the program gets to listProjects.

But have no idea what this error means.  The complete code and full error
message trace are below.

Thanks

******************************************
Error
******************************************
java.lang.UnsatisfiedLinkError: no jvb in java.library.path
 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
 at java.lang.Runtime.loadLibrary0(Runtime.java:788)
 at java.lang.System.loadLibrary(System.java:834)
 at com.starbase.caliber.external.Integration.<clinit>(Integration.java:32)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:141)
 at
com.starbase.caliber.external.IntegrationID.class$(IntegrationID.java:18)
 at
com.starbase.caliber.external.IntegrationID.<init>(IntegrationID.java:16)
 at com.starbase.caliber.Project.<init>(Project.java:93)
 at
com.starbase.caliber.ProjectManager.getFromServer(ProjectManager.java:279)
 at
com.starbase.caliber.ProjectManager.getAllProjects(ProjectManager.java:151)
 at com.starbase.caliber.Session.getProjects(Session.java:715)
 at TestCaliber.listProjects(TestCaliber.java:29)
 at TestCaliber.main(TestCaliber.java:24)
Exception in thread "main"

**************************************
Program
**************************************
import com.starbase.caliber.*;
import com.starbase.caliber.server.*;
public class TestCaliber {
        static CaliberServer server;
        static Session session;
        /**
         *
         */
        public static void main(String[] args) {
                connect();
                listProjects();
        }

        public static void listProjects(){
                try{
                        Project[] arrayOfProjects = session.getProjects();
                        for(int i = 0; i < arrayOfProjects.length; i++) {

System.out.println(arrayOfProjects[i].getName());
                        }
                }
                catch(RemoteServerException rse)  {
                        rse.printStackTrace();
                }
        }

        public static void connect(){
                server = new CaliberServer("foo");
                try {
                        session = server.login("admin", "admin");
                } catch(RemoteServerException rse) {
                        rse.printStackTrace();
                }
        }
}
Technical Details
Message-ID: <40ccc897$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,2afc029343905bd7,start
X-Google-Attributes: gid1089d0,public
Reply-To: "Scott" <scotthpowell@yahoo.com>
From: "Scott" <scotthpowell@yahoo.com>
Newsgroups: borland.public.jbuilder.java.api
Subject: java.lang.UnsatisfiedLinkError: no jvb in java.library.path
Date: Sun, 13 Jun 2004 14:28:49 -0400
Lines: 83
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 208.54.15.1
Message-ID: <40ccc897$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1087162519 208.54.15.1 (13 Jun 2004 14:35:19 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail