Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38136 - java-config --set-system-classpath IOError: [Errno 2] No such file or directory: 'etc/env.d/21java-classpath'
Summary: java-config --set-system-classpath IOError: [Errno 2] No such file or dire...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jason A. Mobarak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 31468
  Show dependency tree
 
Reported: 2004-01-13 21:34 UTC by albanard
Modified: 2004-01-14 20:26 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description albanard 2004-01-13 21:34:08 UTC
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"
Comment 1 albanard 2004-01-13 21:38:24 UTC
Downgrading to 1.1.8-r1 fixes the problem.
Comment 2 Jason A. Mobarak (RETIRED) gentoo-dev 2004-01-14 10:43:00 UTC
It's fixed for me, please re-open if necessary.
Comment 3 Jason A. Mobarak (RETIRED) gentoo-dev 2004-01-14 10:44:07 UTC
Fixed in version 1.2.3 that is, which should be at your local mirror and rsync fairly soon.
Comment 4 albanard 2004-01-14 20:26:35 UTC
Great thanks, its fixed in 1.2.3