| Summary: | java-config-1.3.6 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Ben De luca <bedel> |
| Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | 2006.1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
gemini ~ # java-config-1 -S blackdown-jdk-1.4.2.03 Traceback (most recent call last): File "/usr/bin/java-config-1", line 123, in ? run(option_list) File "/usr/bin/java-config-1", line 41, in run func(args) File "/usr/lib/python2.4/site-packages/java_config/jc_options.py", line 657, in __call__ set_vm(args, system=True) File "/usr/lib/python2.4/site-packages/java_config/jc_options.py", line 540, in set_vm vm_ok_for_system(vm_name, genv) File "/usr/lib/python2.4/site-packages/java_config/jc_options.py", line 518, in vm_ok_for_system find_exec(exe, java_home=java_home) File "/usr/lib/python2.4/site-packages/java_config/jc_util.py", line 107, in find_exec exec_0 = jh+'/bin/'+exe **fix** def find_exec(exe, java_home): """ Find executable 'exe' and return it, search the /bin and /jre/bin dirs of current JVM. Raises an error if the command isn't executable or if it can't be found """ jh = java_home # <-- fix exec_0 = jh+'/bin/'+exe exec_1 = jh+'/jre/bin/'+exe should pboably change jh to be java_home, or vice versa