• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bad path element warning in Java build transcript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bad path element warning in Java build transcript


  • Subject: Re: Bad path element warning in Java build transcript
  • From: Greg Guerin <email@hidden>
  • Date: Tue, 9 May 2006 12:58:16 -0700

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Bad path element warning in Java build transcript
      • From: "Andrea \"XFox\" Govoni" <email@hidden>
  • Prev by Date: Re: Run Script dependency
  • Next by Date: Re: Run Script dependency
  • Previous by thread: Bad path element warning in Java build transcript
  • Next by thread: Re: Bad path element warning in Java build transcript
  • Index(es):
    • Date
    • Thread