Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Toolchains jdkHome inconsistency between Tycho and plain Maven

> Is
> it because bootclasspath needs to be set explicitly, as Tycho uses the
> JDT compiler rather than the javac that's part of the "JDK home" and
> which hence implicitly knows the bootclasspath?

yep, exactly. 

JDT requires the compiler bootclasspath to be set explicitly.
We don't fork the compiler process and need to know the bootclasspath of a given JDK without running the compiler in it (where it would be known as ${java.home}).

Why ${java.home} for a JDK started in $JDK_HOME seems to be mostly $JDK_HOME/jre is IMHO an implementation detail we can't really rely on.
Hence "heuristics".


> Best wishes,
> Andreas
> --
> Codetrails GmbH
> The knowledge transfer company
> Robert-Bosch-Str. 7, 64293 Darmstadt
> Phone: +49-6151-276-7092
> Mobile: +49-170-811-3791
> Managing Director: Dr. Marcel Bruch
> Handelsregister: Darmstadt HRB 91940
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit

Back to the top