Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bad path element warning in Java build transcript



Andrea \"XFox\" Govoni wrote:

>warning: [path] bad path element "/Users/xfox/Library/Java": no such
>file or directory
>warning: [path] bad path element "/Network/Library/Java": no such file
>or directory
>2 warnings
>
>They appears right after the JavaCompile.default transcript block.
>The build goes fine but they are annoying.
>If I create a new Java Tool project and compile the template I don't get
>any warnings, so I think it's a project-related issue.
>The project has been updated from an earlier Xcode version.
>Who have an idea of where these warnings come from?

I was seeing them in my own recently updated project because the Java
compiler had been set to 'jikes' instead of 'javac'.  When I switched to
'javac', the warnings disappeared.  Switch back to 'jikes' and they
reappear.

I think the warnings themselves are because 'jikes' needs an explicit list
of extensions directories on its command-line, while 'javac' has built-in
defaults determined by the JVM.  The detailed build commands might show
more, um, detail.

The pathnames cited in the warnings are precursors leading to
~/Library/Java/Extensions and /Network/Library/Java/Extensions, neither of
which exist unless they've been specifically created.

  -- GG


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.