Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129522 - datavision will not run after installation
Summary: datavision will not run after installation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-10 13:34 UTC by Ed Davison
Modified: 2006-12-04 17:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to fix automatic classpath generation (datavision.patch,392 bytes, patch)
2006-04-11 09:40 UTC, Ed Davison
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Davison 2006-04-10 13:34:33 UTC
I get the following when I try to run datavision:

~ $ datavision
Could not find package datavision
Could not find package minml2
Could not find package jcalendar
Exception in thread "main" java.lang.NoClassDefFoundError:
jimm/datavision/DataVision ~ $

I definitely have datavision, minml2 and jcalendar installed as you can
see here:

*  dev-java/minml2
      Latest version available: 0.3
      Latest version installed: 0.3

*  dev-java/jcalendar
      Latest version available: 1.2.2
      Latest version installed: 1.2.2

*  dev-java/datavision
      Latest version available: 0.8.2
      Latest version installed: 0.8.2


Any thoughts or ideas?
Comment 1 Ed Davison 2006-04-11 09:29:30 UTC
Additional info from running datavision with the bash '-x' option:

$ datavision
++ java-config -J
+ JAVA=/opt/sun-jdk-1.4.2.10/bin/java
+ localclasspath=.
++ java-config -p datavision
Could not find package datavision
+ localclasspath=.:
++ java-config -p minml2
Could not find package minml2
+ localclasspath=.::
++ java-config -p jcalendar
Could not find package jcalendar
+ localclasspath=.:::
++ java-config -p jruby
+ localclasspath=.::::/usr/share/jruby/lib/jruby.jar
++ java-config -p gnu-regexp-1
+ localclasspath=.::::/usr/share/jruby/lib/jruby.jar:/usr/share/gnu-regexp-1/lib/gnu-regexp.jar
++ java-config -p itext
+ localclasspath=.::::/usr/share/jruby/lib/jruby.jar:/usr/share/gnu-regexp-1/lib/gnu-regexp.jar:/usr/share/itext/lib/iTextAsianCmaps.jar:/usr/share/itext/lib/iTextAsian.jar:/usr/share/itext/lib/iText.jar:/usr/share/itext/lib/iTextXML.jar:/usr/share/itext/lib/iTextHYPH.jar
++ java-config -p jdbc-mysql
+ localclasspath=.::::/usr/share/jruby/lib/jruby.jar:/usr/share/gnu-regexp-1/lib/gnu-regexp.jar:/usr/share/itext/lib/iTextAsianCmaps.jar:/usr/share/itext/lib/iTextAsian.jar:/usr/share/itext/lib/iText.jar:/usr/share/itext/lib/iTextXML.jar:/usr/share/itext/lib/iTextHYPH.jar:/usr/share/jdbc-mysql/lib/jdbc-mysql.jar
+ /opt/sun-jdk-1.4.2.10/bin/java -cp .::::/usr/share/jruby/lib/jruby.jar:/usr/share/gnu-regexp-1/lib/gnu-regexp.jar:/usr/share/itext/lib/iTextAsianCmaps.jar:/usr/share/itext/lib/iTextAsian.jar:/usr/share/itext/lib/iText.jar:/usr/share/itext/lib/iTextXML.jar:/usr/share/itext/lib/iTextHYPH.jar:/usr/share/jdbc-mysql/lib/jdbc-mysql.jar jimm.datavision.DataVision
Exception in thread "main" java.lang.NoClassDefFoundError: jimm/datavision/DataVision
$ 

Comment 2 Ed Davison 2006-04-11 09:40:11 UTC
I was able to get datavision to work by applying the attached patch.  For some reason, the packages stated as missing in the original post are included in the java-config environment with version numbers and in the datavision script they are not.  Maybe this is a recent change in these java-config packages but I would not know.
Comment 3 Ed Davison 2006-04-11 09:40:47 UTC
Created attachment 84451 [details, diff]
patch to fix automatic classpath generation
Comment 4 William L. Thomson Jr. (RETIRED) gentoo-dev 2006-12-04 17:08:34 UTC
This should be resolved with the recently committed 1.0.0 version. If not please re-open bug. Otherwise it ran for me just after install. So all should be well now, closing bug.