After updating to java-config 1.2.2 I get the following error after calling --set-system-classpath java-config --set-system-classpath=whatever Traceback (most recent call last): File "/usr/bin/java-config", line 121, in ? run(option_list) File "/usr/bin/java-config", line 41, in run func(args) File "/usr/lib/python2.2/site-packages/java_config/jc_options.py", line 609, in __call__ file(os.path.join('etc', 'env.d', '21java-classpath'), 'w').write( IOError: [Errno 2] No such file or directory: 'etc/env.d/21java-classpath' Reproducible: Always Steps to Reproduce: 1.emerge oro (or whatever you want to add to classpath) 2.emerge -u java-config 3.java-config --set-system-classpath=oro Actual Results: Traceback (most recent call last): File "/usr/bin/java-config", line 121, in ? run(option_list) File "/usr/bin/java-config", line 41, in run func(args) File "/usr/lib/python2.2/site-packages/java_config/jc_options.py", line 609, in __call__ file(os.path.join('etc', 'env.d', '21java-classpath'), 'w').write( IOError: [Errno 2] No such file or directory: 'etc/env.d/21java-classpath' Expected Results: System classpath set You may want to update your enviroment by running: "/usr/sbin/env-update && source /etc/profile"
Downgrading to 1.1.8-r1 fixes the problem.
It's fixed for me, please re-open if necessary.
Fixed in version 1.2.3 that is, which should be at your local mirror and rsync fairly soon.
Great thanks, its fixed in 1.2.3