Ah OK, thanx for the tip, Erik, never thought of that [building hotspot]
either - my, oh my, what a weeks it's been ... and it's not over yet by a
long chalk.

I only asked because of the observation that David made and you re-iterated
- I just wondered if there might be a properties file, or similar, from
which the version info could be gleaned since there appears to be a
jvm.cmptag in the IBM JVM that I'm trying to use for the build.


--
Dave Pointon FIAP MBCS

Now I saw, tho' too late, the folly of beginning a work before we count the
cost and before we we judge rightly of our strength to go thro' with it -
Robinson Crusoe


On 8 May 2014 14:03, Erik Joelsson <erik.joels...@oracle.com> wrote:

>  Hello,
>
>
> On 2014-05-08 13:55, Dave Pointon wrote:
>
>  Hi Erik ,
>
>  Thanx for that, bizarrely, I never even considered that JIRA might
> choose to apply a little re-formatting but it undoubtedly has.
>
> Anyway, I'm a not little uncertain of your assertion 'The problem then is
> that there will be no java launcher present to query for version
> information' - would you happen to know if there is a definition of the
> (expected) contents of a hotspot build - as you can probably tell, I rather
> assumed that a bin directory (and indeed bin/java) would be in there.
>
>   If you build hotspot, look what it produces in the dist sub directory
> in the build output.
>
> David Holmes also has a valid point. The bin/java in the imported hotspot
> might not even be runnable if we are cross compiling. In that case we also
> need to refrain from trying to run it.
>
> /Erik
>
>   ​TIA & rgds ,​
>
>   ​​
> --
> Dave Pointon FIAP MBCS
>
> Now I saw, tho' too late, the folly of beginning a work before we count
> the cost and before we we judge rightly of our strength to go thro' with it
> - Robinson Crusoe
>
>
> On 8 May 2014 08:56, Erik Joelsson <erik.joels...@oracle.com> wrote:
>
>> Hello Dave,
>>
>> Adding this information certainly makes sense. While probably not a very
>> common usecase, it is currently possible to point "--with-import-hotspot"
>> to the dist directory of a Hotspot build. The problem then is that there
>> will be no java launcher present to query for version information. Could
>> you please add a condition on the existance of
>> $with_import_hotspot/bin/java before trying to run it? If it's not there,
>> the version will simply be unknown.
>>
>> The patch looks like it's missing indentation. This might be because of
>> formatting in JIRA, but in case it's not, please indent the if statements
>> properly with 2 spaces.
>>
>> /Erik
>>  ​<snip>
>>
>
>

Reply via email to