What is wrong with this?

Compilation and installation of DICOMscope

Moderator: Moderator Team

Post Reply
Message
Author
trato01
Posts: 5
Joined: Wed, 2006-10-25, 18:46

What is wrong with this?

#1 Post by trato01 »

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.

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1435
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#2 Post by Marco Eichelberg »

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.

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

#3 Post by trato01 »

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.

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1435
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#4 Post by Marco Eichelberg »

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.

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

#5 Post by trato01 »

Thanks Marco. I been reading...

Newbie

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest