DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Wed, 2017-04-26, 18:39

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: What is wrong with this?
PostPosted: Thu, 2006-10-26, 15:16 
Offline

Joined: Wed, 2006-10-25, 18:46
Posts: 5
Hi All,

I am trying to compile the DICOMscope Java Code on Windows XP Pro SP2 using Java 1.3.1. The compilation went OK by running "java -d ..\DICOMscope DICOMscope.java". I was able to get some class files.

However, when I go to DICOMscopre directory and run "java DICOMscope", I got these errors messages:

D:\softwares\dicomscope\source_code\dsgui351\DICOMscope>java DICOMscope
starting DICOMscope
please wait...
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jInterface 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 main.MainContext.<clinit>(MainContext.java:58)
at DICOMscope.main(DICOMscope.java:92)

D:\softwares\dicomscope\source_code\dsgui351\DICOMscope>

What seems to be the problem? what am i missing here? Java Library path? I did set the java lib in path.

also, I am using the default DICOMscope.cfg. No modification has been made to this file whatsoever.

Please help

Newbie.


Top
 Profile  
 
 Post subject:
PostPosted: Fri, 2006-10-27, 09:29 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Tue, 2004-11-02, 17:22
Posts: 1196
Location: Oldenburg, Germany
In addition to the Java code, DICOMscope uses a JNI module containing native code from DCMTK. On Windows platforms, this native module must be provided as a DLL (jInterface.dll), on Posix platforms it is a shared module named libjInterface.so.


Top
 Profile  
 
 Post subject:
PostPosted: Fri, 2006-10-27, 14:22 
Offline

Joined: Wed, 2006-10-25, 18:46
Posts: 5
Hello Marco,

Thanks very much for your reply.
So, what do i need to install to get the dll?
I have to compile the DCMTK to make the dll?

best regards,
Newbie.


Top
 Profile  
 
 Post subject:
PostPosted: Fri, 2006-10-27, 16:52 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Tue, 2004-11-02, 17:22
Posts: 1196
Location: Oldenburg, Germany
Reading the instructions would be a good thing to start with :wink:
The DICOMscope user manual (provided in DICOMscope/docs in the source code package) contains detailed instructions on how to compile DICOMscope from source both on Windows and on Posix (Linux, Solaris) platforms.


Top
 Profile  
 
 Post subject:
PostPosted: Fri, 2006-10-27, 19:41 
Offline

Joined: Wed, 2006-10-25, 18:46
Posts: 5
Thanks Marco. I been reading...

Newbie


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group