[Info-vax] Developing VMS applications on VMS or on Linux/Windows ?, was: Re: x86 Cross Tools Kit

VAXman- at SendSpamHere.ORG VAXman- at SendSpamHere.ORG
Tue Mar 5 19:33:28 EST 2019


In article <q5mqvj$j6j$1 at gioia.aioe.org>, =?UTF-8?Q?Arne_Vajh=c3=b8j?= <arne at vajhoej.dk> writes:
>On 3/5/2019 12:47 PM, VAXman- at SendSpamHere.ORG wrote:
>> In article <q5kpba$12el$1 at gioia.aioe.org>, =?UTF-8?Q?Arne_Vajh=c3=b8j?= <arne at vajhoej.dk> writes:
>>> On 3/4/2019 5:22 PM, VAXman- at SendSpamHere.ORG wrote:
>>>> Let me know if you can figure out how to get OpenRocket to run.  I get its
>>>> initial graphic splash when it starts but then, it aborts.
>>>
>>> It is using a special jar inside jar classloader, which seems not to
>>> work well on VMS.
>>>
>>> Try unpack the jar file with
>>>
>>> jar xvf OpenRocket-15^.03.jar
>>>
>>> And then run with:
>>>
>>> java  -Xmx800m -cp .:lib/* -Djava.awt.headless=false
>>> net.sf.openrocket.startup.OpenRocket
>>>
>>> I get something to start.
>
>> I unpacked the .JAR as you suggested and then, I executed using your long ...
>> 
>>   "java .... net.sf.openrocket.startup.OpenRocket"
>> 
>> command.  The thing puked up a lengthy morass of error messages and tracing
>> info and terminated with:
>> 
>> %DEBUGBOOT-W-EXPGFLQUOTA, exceeded pagefile quota
>> %CMA-F-EXIT_THREAD, current thread has been requested to exit
>> 
>> I didn't see any such error message(s) previously!
>> 
>> I increased the account's PGFLQUOTA to 2,000,000 and executed your command
>> again.
>
>-Xmx800m means that Java can allocate up to 800 MB of heap space
>for data from the OS.
>
>That is 1.6 million blocks. And then add for the rest and 2 million
>blocks seems warranted.
>
>Note that I do not have any reason to believe that it actually
>need that much, but I did not want troubleshooting to be bogged
>down by running out of memory.
>
>>         OpenRocket eventually fired up.
>> 
>> I then went back and tried:
>> 
>> $ java -Xmx800m -Djava.awt.headless=false -jar OpenRocket-15^.03.jar
>> 
>> OpenRocket fired up and even faster too.  I suppose I can now free up some
>> of that disk that contains everything that I'd extracted.
>
>Interesting. So it was only the first time it needed to be unpacked
>(I still believe due to the jar in jar classloader).
>
>Arne

I deleted the tree of everything unpacked.  However, using your longer java
comment did show the need for PGFLQUO because it showed me error messages.
Plain '$ java -jar OpenRocket-15^.3.jar' returned no errors whatsoever.

Anyway, thanks.  I've got it running and that's what I was looking to do.
I do wish there was Java for Android so I could just run it natively on my
tablet.

-- 
VAXman- A Bored Certified VMS Kernel Mode Hacker    VAXman(at)TMESIS(dot)ORG

I speak to machines with the voice of humanity.



More information about the Info-vax mailing list