DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Sun, 2017-04-23, 20:44

All times are UTC + 1 hour




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: These are the details
PostPosted: Wed, 2005-08-31, 15:45 
Offline

Joined: Wed, 2005-08-31, 15:26
Posts: 4
Regarding the DICOMscope 3.5.1 tool.

When i compile the source using the statement given in the manual

(F:\DICOMscope\dsgui351\tkgui>javac -d ../DICOMscope DICOMscope.java)

i get the following errors

[
StudyMan.java:76: cannot find symbol
symbol : class DICOMscope
location: class browser.StudyMan
private DICOMscope parent;
^
StudyMan.java:99: cannot find symbol
symbol : class DICOMscope
location: class browser.StudyMan
public StudyMan(jDVInterface dvi, DICOMscope parent,Hashtable config)
^
Note: StudyMan.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors
]

please help me on this

Even when i compile the StudyMan.java file alone i get the Same error.
All the other files are able to compile individually and generate class files
except StudyMan.java file.

I also tried putting all the generated classfiles into one jar file with
same directory structure and giving it as a classpath to StudyMan.java
i still have the same problem.


All the Directory stuctures are preserved as per the manual.

i.e
[
dsgui351->DICOMscope
->interface
->tkgui

tkgui ->about
->browser
->jtoolkit
->de
->j2ci
->viewer
->main
->dicomprint
->processCommunication
]

i also tried using the 'ant' command still i land up with the same error.

[
compile:
[javac] Compiling 221 source files to C:\DICOMDEMO\classes
[javac] C:\DICOMDEMO\source\browser\StudyMan.java:76: cannot resolve symbol
[javac] symbol : class DICOMscope
[javac] location: class browser.StudyMan
[javac] private DICOMscope parent;
[javac] ^
[javac] C:\DICOMDEMO\source\browser\StudyMan.java:99: cannot resolve symbol
[javac] symbol : class DICOMscope
[javac] location: class browser.StudyMan
[javac] public StudyMan(jDVInterface dvi, DICOMscope parent,Hashtable co
nfig)
[javac] ^
[javac] 2 errors

]

mailto:raviyuvaraj2004@yahoo.co.in


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 2005-09-01, 11:17 
Offline
ICSMED DICOM Services
ICSMED DICOM Services

Joined: Fri, 2004-10-29, 21:38
Posts: 2217
Location: Oldenburg, Germany
Which version of the JDK do you use? We know that DICOMscope 3.5.1 does not compile with JDK 1.4 so you should try version 1.3. We already solved this issue in DICOMscope 3.6 but this version is not yet available for download.


Top
 Profile  
 
PostPosted: Thu, 2005-09-01, 13:46 
Offline

Joined: Wed, 2005-08-31, 15:26
Posts: 4
Since DICOMscope.java and StudyMan.java are interdependent we tried putting classes in StudyMan.java into DICOMscope.java and it seems to work that way do u recommend it for jdk v1.5

will this bring any bugs?


Top
 Profile  
 
 Post subject:
PostPosted: Wed, 2005-11-23, 15:34 
Offline

Joined: Wed, 2005-11-23, 15:25
Posts: 1
hi, yuvarajrc.
could you send me a copy of DICOMscope which you have modified and can be compiled using jdk1.5? my mail address is wzhh@ustc.edu.

thanks in advance


Top
 Profile  
 
 Post subject: Re:
PostPosted: Wed, 2013-08-14, 12:17 
Offline

Joined: Tue, 2013-07-23, 12:15
Posts: 8
Location: Chennai, India
Jörg Riesmeier wrote:
Which version of the JDK do you use? We know that DICOMscope 3.5.1 does not compile with JDK 1.4 so you should try version 1.3. We already solved this issue in DICOMscope 3.6 but this version is not yet available for download.


Hi,

As i have seen your discussion above,
I am having a question..
Now i have tried DICOMscope 3.5.1..
I am getting the same error as above.
i am not able to compile other than jdk 1.3.
Still this issue is there or it is rectified?
Looking for your reply...

thanks,
Guna

_________________
Thanks and Regards
Guna


Top
 Profile  
 
PostPosted: Thu, 2013-08-15, 08:35 
Offline
DCMTK Developer

Joined: Tue, 2011-05-03, 14:38
Posts: 1805
Location: Oldenburg, Germany
Maybe, the source code of DICOMscope 3.6.0 helps: http://dicom.offis.de/download/dscope/dscope360/


Top
 Profile  
 
PostPosted: Thu, 2013-08-15, 17:28 
Offline

Joined: Tue, 2013-07-23, 12:15
Posts: 8
Location: Chennai, India
Hi

Thanks for your reply. I will try with dicomscope3.6.0 and get back to you.


Regards
Guna

_________________
Thanks and Regards
Guna


Top
 Profile  
 
PostPosted: Fri, 2013-08-16, 08:15 
Offline

Joined: Tue, 2013-07-23, 12:15
Posts: 8
Location: Chennai, India
J. Riesmeier wrote:
Maybe, the source code of DICOMscope 3.6.0 helps: http://dicom.offis.de/download/dscope/dscope360/



I tried DICOMscope 3.6.0 with DCMTK 3.5.3.

When i compile using following command

E:\Dicomscope\dsgui3.6.0\tkgui>javac -d ..\DICOMscope dicomscope\DICOMscope.java

I am getting following message

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

But DICOMscope class files created in dicomscope folder.

Then i try to run the class file DICOMscope.class using following command

E:\Dicomscope\dsgui3.6.0\DICOMscope>java dicomscope\DICOMscope

I am getting following error.
****************************************************************
Exception in thread "main" java.lang.NoClassDefFoundError: dicomscope\DICOMscope (wrong name: dicomscope/DICOMscope) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
****************************************************************

Used Jdk1.6.0_45 and jre6.


Kindly do the needful.


Regards
Guna

_________________
Thanks and Regards
Guna


Top
 Profile  
 
PostPosted: Fri, 2013-08-16, 09:51 
Offline

Joined: Tue, 2013-07-23, 12:15
Posts: 8
Location: Chennai, India
Hi

Solution:

Try with the following command

E:\Dicomscope\dsgui3.6.0\DICOMscope>java dicomscope.DICOMscope

Its working now. Thanks for the help.


Regards
Guna

_________________
Thanks and Regards
Guna


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 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:  
cron
Powered by phpBB® Forum Software © phpBB Group