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

Bug 347611

Summary: java wrappers should output more helpful messages when system-vm is not set
Product: Gentoo Linux Reporter: Dennis Schridde <dschridde+gentoobugs>
Component: [OLD] JavaAssignee: Java team <java>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dennis Schridde 2010-12-02 22:40:59 UTC
When the system-vm is not set, /usr/bin/java currently outputs:
---
basename: missing operand
Try `basename --help' for more information.
 * Home for VM '' does not exist:
 * Invalid System VM:
---

The mention of "basename" is confusing, and it does not clearly say that there is *NO* system-vm, or better: How to set it.

Reproducible: Always
Comment 1 Dennis Schridde 2010-12-02 22:41:29 UTC
P.S: This is with dev-java/java-config-2.1.11-r1