🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#48
From: Scott
Date: Thu, 17 Feb 2005 16:51
88 lines
4084 bytes
This is a VERY common problem with the Caliber SDK.  Probably 20% of the
posts in that forum are about this problem.

In JBuilder, go to the runtime configurations window.  Choose the
configuration you will use to run your Caliber SDK app and hit Edit.  In the
VM parameters text box, enter something like this:

-Djava.library.path="C:\Program Files\Borland\CaliberRM SDK 6.5\lib"

Of course, the actual path will depend on where your jvb.dll file is.

You will need to do this for every application that might use a different
runtime configuration.

BTW, I didn't know how to set this in JBuilder until Lori told me the other
day.

Lori,

Count yourself surprised: I've never spotted anything in the Caliber SDK
that mentions how to fix this error or configure JBuilder to work with
Caliber.  The ST manuals are much better in this regard.

Since the .dll's go with class libraries, it would be nice of JBuilder XI
let you set these things when you configure a library, rather than with each
configuration that uses the library.

Scott


"Lori M Olson [TeamB]" <javadragon@techie.com> wrote in message
news:4210da5e@newsgroups.borland.com...
> Guest wrote:
> >
> >>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)
>
> java.library.path is where java finds system-dependent things like .dll
> files on Windows and .so files on *nix boxes.
>
> Caliber seems to have a need for a file called jvb.dll on Windows.
> You'll need to find it, and then set your java.library.path to point to
> a directory that contains that file.
>
> I'd be surprised if this isn't in the Caliber SDK docs...
>
> -- 
>
> Regards,
>
> Lori Olson [TeamB]
>
> ------------
>
> Save yourself, and everyone else, some time and search the
> newsgroups and the FAQ-O-Matic before posting your next
> question.
>
> Google Advanced Newsgroup Search
>      http://www.google.ca/advanced_group_search
> Other Newsgroup Searches:
>      http://www.borland.com/newsgroups/ngsearch.html
> Joi Ellis's FAQ-O-Matic:
>      http://www.visi.com/~gyles19/fom-serve/cache/1.html
Technical Details
Message-ID: <4214cd2b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!nntp.cifnet.net!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <40ccc897$1@newsgroups.borland.com> <4210cc1f$1@newsgroups.borland.com> <4210da5e@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
Reply-To: "Scott" <scotthpowell@yahoo.com>
From: "Scott" <scotthpowell@yahoo.com>
Newsgroups: borland.public.jbuilder.java.api
References: <40ccc897$1@newsgroups.borland.com> <4210cc1f$1@newsgroups.borland.com> <4210da5e@newsgroups.borland.com>
Subject: Re: java.lang.UnsatisfiedLinkError: no jvb in java.library.path
Date: Thu, 17 Feb 2005 08:51:19 -0800
Lines: 90
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 4.28.245.129
Message-ID: <4214cd2b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1108659499 4.28.245.129 (17 Feb 2005 08:58:19 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!nntp.cifnet.net!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail