Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 69351

Summary: /etc/init.d/zetagrid progress fails with java.lang.NoClassDefFoundError
Product: Gentoo Linux Reporter: Yogesh <ysharma>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED WONTFIX    
Severity: normal CC: java, tantive
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Yogesh 2004-10-28 22:31:11 UTC
# /etc/init.d/zetagrid progress
 * Showing zetagrid progress (Cancel with ^C) ...

Exception in thread "main" java.lang.NoClassDefFoundError: zeta/ShowProgress



Reproducible: Always
Steps to Reproduce:
1. start zetagrid as root /etc/init.d/zetagrid start
2. /etc/init.d/zetagrid progress


Actual Results:  
Exception in thread "main" java.lang.NoClassDefFoundError: zeta/ShowProgress


Expected Results:  
It should show progress

# which java
/opt/blackdown-jdk-1.4.1/bin/java

# java -version
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.1-01)
Java HotSpot(TM) Client VM (build Blackdown-1.4.1-01, mixed mode)

# qpkg -I -v zetagrid
app-sci/zetagrid-1.9.1
Comment 1 Yogesh 2004-10-29 08:56:51 UTC
*** Bug 69418 has been marked as a duplicate of this bug. ***
Comment 2 Yogesh 2004-10-29 09:51:53 UTC
Change
java -Djava.library.path=. -cp zeta_client.jar zeta.ShowProgress
to
java -Djava.library.path=. -cp zeta_progress.jar zeta.JShowProgress
Comment 3 Olivier Fisette (RETIRED) gentoo-dev 2005-06-05 10:10:59 UTC
On my system it's worse than that. I get "java: command not found" from 
"zeta_progress.sh". If I correct this by adding "${JAVA_HOME}/bin/" I can 
reproduce your bug. If I apply your patch, I get: 
 
Exception in thread "main" java.awt.HeadlessException 
        at java.applet.Applet.<init>(Applet.java:44) 
        at javax.swing.JApplet.<init>(JApplet.java:97) 
        at zeta.JShowProgress.<init>(JShowProgress.java:12) 
        at zeta.JShowProgress.main(JShowProgress.java:247) 
 
I'll CC tantive on this since he's all over the ChangeLog ;) and also the Java 
team. 
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-05-28 11:42:04 UTC
Removed from portage wrt Bug 134642.