Article View: borland.public.jbuilder.java.api
Article #45Re: java.lang.UnsatisfiedLinkError: no jvb in java.library.path
From: Guest
Date: Mon, 14 Feb 2005 16:04
Date: Mon, 14 Feb 2005 16:04
87 lines
3885 bytes
3885 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();
> }
> }
> }
>
>
>
User submitted from AEWNET (http://www.aewnet.com/)
Technical Details
Message-ID:
<4210cc1f$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40ccc897$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1089d0,2afc029343905bd7 X-Google-Attributes: gid1089d0,public X-Google-Language: ENGLISH,ASCII-7-bit From: Guest <Guest@aew_nospam.com> Newsgroups: borland.public.jbuilder.java.api References: <40ccc897$1@newsgroups.borland.com> X-Newsreader: AspNNTP 1.50 (aewnet.com) Subject: Re: java.lang.UnsatisfiedLinkError: no jvb in java.library.path Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 63.161.67.173 Message-ID: <4210cc1f$1@newsgroups.borland.com> Date: 14 Feb 2005 08:04:47 -0800 X-Trace: newsgroups.borland.com 1108397087 63.161.67.173 (14 Feb 2005 08:04:47 -0800) Lines: 87 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail