Problem with jEdit and NetRexx

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with jEdit and NetRexx

Jerry McBride-2
   
> Dear All,
>
> Well, here I am back to the list, subscribed from a different email address
> this time.
>

Glad to see you return....

I've got a problem. I can edit and run my netrexx scripts with your plugin and
jedit 4.3... But when I compile or try to generate a .java I get:

opt/sun-jdk-1.6.0.18/jre/bin/java -Xms4M -cp
.:/root/.jedit/jars/NetRexxC.jar:/opt/sun-
jdk-1.6.0.18/jre/../lib/tools.jar::/opt/extras/NetRexxC.jar:/opt/extras/jtools.jar:/opt/extras/nrio.jar:/opt/extras/xclasses.jar:/opt/java/jre/lib/rt.jar:/opt/java/lib/tools.jar:/usr/share/jedit/jedit.jar
COM.ibm.netrexx.process.NetRexxC /opt/netrexx/easyin/EasyIn.nrx
Error occurred during initialization of VM
Too small initial heap for new size specified
=> Aborted <=


It seems I need to increase the heap... but where?

Also, under Utilities/Global Settings there is no netrexx option in the left
pane as mentioned in the html of the netrexxje-1.0.2a archive.

That said, it's nice to be able to use jEdit with my preferred script language
again.

Thank you!


Cheers...

--

*****************************************************************************
                                       
                             From the desk of:
                             Jerome D. McBride
                                       
   20:16:57 up 42 days,  6:51,  3 users,  load average: 0.00, 0.00, 0.00
 
*****************************************************************************
--

*****************************************************************************
                                       
                             From the desk of:
                             Jerome D. McBride
                                       
   20:33:01 up 44 days,  7:07,  3 users,  load average: 0.05, 0.02, 0.09
 
*****************************************************************************
Reply | Threaded
Open this post in threaded view
|

Problem with jEdit and NetRexx

David Requena
Dear Jerry,

First problem is indeed related to heap size. The compiler process jvm is
being initiallized to aminimum heap size of 4MB (-Xms4M) which seems to be
clashing with initial heap size in your system. According to java 1.6u18
(you seem to be running this) changelog:

"The maximum heap size is not actually used by the JVM unless your program
creates enough objects to require it. A much smaller amount, termed the
initial heap size, is allocated during JVM initialization. This amount is at
least 8 megabytes and otherwise 1/64 of physical memory up to a physical
memory size of 1 gigabyte."

So an attempt is made to set minimum heap (4 MB) size lower than the jvm's
initial one (8 MB). I've confirmed this issue exists on Windows jvm 1.6u18
too. Up to now I've been using java 1.6u17.

That could be fixed either by removing the -Xms option, setting it to a
higher than 8M value, or appending an -XX:NewSize option with a lower than
4M value (maybe -XX:NewSize=3M?).

Unfortunately jvm heap defaults are hard coded into the hotspot jvm. Also
unfortunately NetRexxJe compiler process command line is also hard coded. As
this is a show stopper  I'll be releasing shortly new fixed interim binaries
at http://netrexx-misc.kenay.com. Proper announce will be made here at the
list.
Real fix will come latter with updated compiler option pane allowing user
modification of jvm settings.

CURRENT WORKAROUND: Either go back to a previous JRE/JDK version or install
a second JRE at version 1.6u17 or less and point NetRexxDE to this using the
'Path to JVM' option under the plugin options panel.

As for the second issue, you mean the keyboard shortcuts thing? This seems
to be related with some jEdit API change from v. 4.2 up which passed
overlooked up to now. I'll be looking into it but fix will come at a latter
time with next release of NetRexxDE.

Thanks for reporting these. You're awarded first 2 user reported bugs at
NetRexxDE issue tracker. You may follow issue progrees at the following urls

Heap issue - http://kenai.com/jira/browse/NETREXX_MISC-4
Missing UI panel - http://kenai.com/jira/browse/NETREXX_MISC-5
<http://kenai.com/jira/browse/NETREXX_MISC-5>
2010/2/3 Jerry McBride <[hidden email]>

>
> > Dear All,
> >
> > Well, here I am back to the list, subscribed from a different email
> address
> > this time.
> >
>
> Glad to see you return....
>
> I've got a problem. I can edit and run my netrexx scripts with your plugin
> and
> jedit 4.3... But when I compile or try to generate a .java I get:
>
> opt/sun-jdk-1.6.0.18/jre/bin/java -Xms4M -cp
> .:/root/.jedit/jars/NetRexxC.jar:/opt/sun-
>
> jdk-1.6.0.18/jre/../lib/tools.jar::/opt/extras/NetRexxC.jar:/opt/extras/jtools.jar:/opt/extras/nrio.jar:/opt/extras/xclasses.jar:/opt/java/jre/lib/rt.jar:/opt/java/lib/tools.jar:/usr/share/jedit/jedit.jar
> COM.ibm.netrexx.process.NetRexxC /opt/netrexx/easyin/EasyIn.nrx
> Error occurred during initialization of VM
> Too small initial heap for new size specified
> => Aborted <=
>
>
> It seems I need to increase the heap... but where?
>
> Also, under Utilities/Global Settings there is no netrexx option in the
> left
> pane as mentioned in the html of the netrexxje-1.0.2a archive.
>
> That said, it's nice to be able to use jEdit with my preferred script
> language
> again.
>
> Thank you!
>
>
> Cheers...
>
> --
>
>
> *****************************************************************************
>
>                             From the desk of:
>                             Jerome D. McBride
>
>   20:16:57 up 42 days,  6:51,  3 users,  load average: 0.00, 0.00, 0.00
>
>
> *****************************************************************************
> --
>
>
> *****************************************************************************
>
>                             From the desk of:
>                             Jerome D. McBride
>
>   20:33:01 up 44 days,  7:07,  3 users,  load average: 0.05, 0.02, 0.09
>
>
> *****************************************************************************
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>


--
Saludos / Regards,
David Requena
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns.hursley.ibm.com/pipermail/ibm-netrexx/attachments/20100203/bf117e42/attachment.html
Reply | Threaded
Open this post in threaded view
|

Problem with jEdit and NetRexx

Kermit Kiser
David ;

I think Jerry's #2 item refers to this part of the NetRexxDE
(http://kenai.com/projects/netrexx-misc/pages/NetRexxDE) document:
----------------------------------------------------------------------

To set/check/change the paths set by NetRexxDE -

Go to the jEdit menubar and select "Utilities" -> "Global Options..".
----------------------------------------------------------------------
I think that should be  "Plugins=>Plugin Options"...

Also there is a missing line in the NetRexxJe (and probably likewise in
NetRexxDE?) props file:

NetRexxJe.label = NetRexxJe

It eliminates the "NO LABEL PROPERTY" errors in the shortcuts panel. I
have no idea why the jEdit developers did not think it needed to be
documented, but then a lot of their documentation seems to be "read the
code"... ;-(

-- Kermit


David Requena wrote:

> Dear Jerry,
>
> First problem is indeed related to heap size. The compiler process jvm
> is being initiallized to aminimum heap size of 4MB (-Xms4M) which
> seems to be clashing with initial heap size in your system. According
> to java 1.6u18 (you seem to be running this) changelog:
>
> "The maximum heap size is not actually used by the JVM unless your
> program creates enough objects to require it. A much smaller amount,
> termed the initial heap size, is allocated during JVM initialization.
> This amount is at least 8 megabytes and otherwise 1/64 of physical
> memory up to a physical memory size of 1 gigabyte."
>
> So an attempt is made to set minimum heap (4 MB) size lower than the
> jvm's initial one (8 MB). I've confirmed this issue exists on Windows
> jvm 1.6u18 too. Up to now I've been using java 1.6u17.
>
> That could be fixed either by removing the -Xms option, setting it to
> a higher than 8M value, or appending an -XX:NewSize option with a
> lower than 4M value (maybe -XX:NewSize=3M?).
>
> Unfortunately jvm heap defaults are hard coded into the hotspot jvm.
> Also unfortunately NetRexxJe compiler process command line is also
> hard coded. As this is a show stopper  I'll be releasing shortly new
> fixed interim binaries at http://netrexx-misc.kenay.com. Proper
> announce will be made here at the list.
> Real fix will come latter with updated compiler option pane allowing
> user modification of jvm settings.
>
> CURRENT WORKAROUND: Either go back to a previous JRE/JDK version or
> install a second JRE at version 1.6u17 or less and point NetRexxDE to
> this using the 'Path to JVM' option under the plugin options panel.
>
> As for the second issue, you mean the keyboard shortcuts thing? This
> seems to be related with some jEdit API change from v. 4.2 up which
> passed overlooked up to now. I'll be looking into it but fix will come
> at a latter time with next release of NetRexxDE.
>
> Thanks for reporting these. You're awarded first 2 user reported bugs
> at NetRexxDE issue tracker. You may follow issue progrees at the
> following urls
>
> Heap issue - http://kenai.com/jira/browse/NETREXX_MISC-4
> Missing UI panel - http://kenai.com/jira/browse/NETREXX_MISC-5
>
> 2010/2/3 Jerry McBride <[hidden email] <mailto:[hidden email]>>
>
>
>     > Dear All,
>     >
>     > Well, here I am back to the list, subscribed from a different
>     email address
>     > this time.
>     >
>
>     Glad to see you return....
>
>     I've got a problem. I can edit and run my netrexx scripts with
>     your plugin and
>     jedit 4.3... But when I compile or try to generate a .java I get:
>
>     opt/sun-jdk-1.6.0.18/jre/bin/java -Xms4M -cp
>     .:/root/.jedit/jars/NetRexxC.jar:/opt/sun-
>     jdk-1.6.0.18/jre/../lib/tools.jar::/opt/extras/NetRexxC.jar:/opt/extras/jtools.jar:/opt/extras/nrio.jar:/opt/extras/xclasses.jar:/opt/java/jre/lib/rt.jar:/opt/java/lib/tools.jar:/usr/share/jedit/jedit.jar
>     COM.ibm.netrexx.process.NetRexxC /opt/netrexx/easyin/EasyIn.nrx
>     Error occurred during initialization of VM
>     Too small initial heap for new size specified
>     => Aborted <=
>
>
>     It seems I need to increase the heap... but where?
>
>     Also, under Utilities/Global Settings there is no netrexx option
>     in the left
>     pane as mentioned in the html of the netrexxje-1.0.2a archive.
>
>     That said, it's nice to be able to use jEdit with my preferred
>     script language
>     again.
>
>     Thank you!
>
>
>     Cheers...
>
>     --
>
>     *****************************************************************************
>
>                                 From the desk of:
>                                 Jerome D. McBride
>
>       20:16:57 up 42 days,  6:51,  3 users,  load average: 0.00, 0.00,
>     0.00
>
>     *****************************************************************************
>     --
>
>     *****************************************************************************
>
>                                 From the desk of:
>                                 Jerome D. McBride
>
>       20:33:01 up 44 days,  7:07,  3 users,  load average: 0.05, 0.02,
>     0.09
>
>     *****************************************************************************
>     _______________________________________________
>     Ibm-netrexx mailing list
>     [hidden email] <mailto:[hidden email]>
>
>
>
>
> --
> Saludos / Regards,
> David Requena
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns.hursley.ibm.com/pipermail/ibm-netrexx/attachments/20100203/58465196/attachment.html
Reply | Threaded
Open this post in threaded view
|

Problem with jEdit and NetRexx

David Requena
Thanks Kermit,

You're right in both cases. I checked some older jEdit versions and it turns
that instructions in for accessing fir accessing options panel in the doc
haven't been correct since jEdit 4.2. I knew Satguru worked on 4.1 but had
overlooked this change in menu structure.

On the other hand adding the label line to props fixed de NO LABEL issue. I
just noticed that NetRexxDE gets 2 duplicate entries in the shortcuts. Same
thing with NetRexxScript but its not the case with other plugins I have
installed. You happen to know why this might be?

2010/2/3 Kermit Kiser <[hidden email]>

>  David ;
>
> I think Jerry's #2 item refers to this part of the NetRexxDE (
> http://kenai.com/projects/netrexx-misc/pages/NetRexxDE) document:
> ----------------------------------------------------------------------
>
> To set/check/change the paths set by NetRexxDE -
> Go to the jEdit menubar and select "Utilities" -> "Global Options..".
> ----------------------------------------------------------------------
> I think that should be  "Plugins=>Plugin Options"...
>
> Also there is a missing line in the NetRexxJe (and probably likewise in
> NetRexxDE?) props file:
>
> NetRexxJe.label = NetRexxJe
>
> It eliminates the "NO LABEL PROPERTY" errors in the shortcuts panel. I have
> no idea why the jEdit developers did not think it needed to be documented,
> but then a lot of their documentation seems to be "read the code"... ;-(
>
> -- Kermit
>
>
> David Requena wrote:
>
> Dear Jerry,
>
>  First problem is indeed related to heap size. The compiler process jvm is
> being initiallized to aminimum heap size of 4MB (-Xms4M) which seems to be
> clashing with initial heap size in your system. According to java 1.6u18
> (you seem to be running this) changelog:
>
>  "The maximum heap size is not actually used by the JVM unless your
> program creates enough objects to require it. A much smaller amount, termed
> the initial heap size, is allocated during JVM initialization. This amount
> is at least 8 megabytes and otherwise 1/64 of physical memory up to a
> physical memory size of 1 gigabyte."
>
>  So an attempt is made to set minimum heap (4 MB) size lower than the
> jvm's initial one (8 MB). I've confirmed this issue exists on Windows jvm
> 1.6u18 too. Up to now I've been using java 1.6u17.
>
>  That could be fixed either by removing the -Xms option, setting it to a
> higher than 8M value, or appending an -XX:NewSize option with a lower than
> 4M value (maybe -XX:NewSize=3M?).
>
>  Unfortunately jvm heap defaults are hard coded into the hotspot jvm. Also
> unfortunately NetRexxJe compiler process command line is also hard coded. As
> this is a show stopper  I'll be releasing shortly new fixed interim binaries
> at http://netrexx-misc.kenay.com. Proper announce will be made here at the
> list.
> Real fix will come latter with updated compiler option pane allowing user
> modification of jvm settings.
>
>  CURRENT WORKAROUND: Either go back to a previous JRE/JDK version or
> install a second JRE at version 1.6u17 or less and point NetRexxDE to this
> using the 'Path to JVM' option under the plugin options panel.
>
>  As for the second issue, you mean the keyboard shortcuts thing? This
> seems to be related with some jEdit API change from v. 4.2 up which passed
> overlooked up to now. I'll be looking into it but fix will come at a latter
> time with next release of NetRexxDE.
>
>  Thanks for reporting these. You're awarded first 2 user reported bugs at
> NetRexxDE issue tracker. You may follow issue progrees at the following urls
>
>  Heap issue - http://kenai.com/jira/browse/NETREXX_MISC-4
> Missing UI panel - http://kenai.com/jira/browse/NETREXX_MISC-5
>
> 2010/2/3 Jerry McBride <[hidden email]>
>
>>
>> > Dear All,
>> >
>> > Well, here I am back to the list, subscribed from a different email
>> address
>> > this time.
>> >
>>
>> Glad to see you return....
>>
>> I've got a problem. I can edit and run my netrexx scripts with your plugin
>> and
>> jedit 4.3... But when I compile or try to generate a .java I get:
>>
>> opt/sun-jdk-1.6.0.18/jre/bin/java -Xms4M -cp
>> .:/root/.jedit/jars/NetRexxC.jar:/opt/sun-
>>
>> jdk-1.6.0.18/jre/../lib/tools.jar::/opt/extras/NetRexxC.jar:/opt/extras/jtools.jar:/opt/extras/nrio.jar:/opt/extras/xclasses.jar:/opt/java/jre/lib/rt.jar:/opt/java/lib/tools.jar:/usr/share/jedit/jedit.jar
>> COM.ibm.netrexx.process.NetRexxC /opt/netrexx/easyin/EasyIn.nrx
>> Error occurred during initialization of VM
>> Too small initial heap for new size specified
>> => Aborted <=
>>
>>
>> It seems I need to increase the heap... but where?
>>
>> Also, under Utilities/Global Settings there is no netrexx option in the
>> left
>> pane as mentioned in the html of the netrexxje-1.0.2a archive.
>>
>> That said, it's nice to be able to use jEdit with my preferred script
>> language
>> again.
>>
>> Thank you!
>>
>>
>> Cheers...
>>
>> --
>>
>>
>> *****************************************************************************
>>
>>                             From the desk of:
>>                             Jerome D. McBride
>>
>>   20:16:57 up 42 days,  6:51,  3 users,  load average: 0.00, 0.00, 0.00
>>
>>
>> *****************************************************************************
>> --
>>
>>
>> *****************************************************************************
>>
>>                             From the desk of:
>>                             Jerome D. McBride
>>
>>   20:33:01 up 44 days,  7:07,  3 users,  load average: 0.05, 0.02, 0.09
>>
>>
>> *****************************************************************************
>> _______________________________________________
>> Ibm-netrexx mailing list
>> [hidden email]
>>
>>
>
>
> --
> Saludos / Regards,
> David Requena
>
>  ------------------------------
>
> _______________________________________________
> Ibm-netrexx mailing [hidden email]
>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>


--
Saludos / Regards,
David Requena
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns.hursley.ibm.com/pipermail/ibm-netrexx/attachments/20100203/7b82e9f5/attachment-0001.html
Reply | Threaded
Open this post in threaded view
|

Problem with jEdit and NetRexx

Jerry McBride-2
In reply to this post by David Requena
On Wednesday 03 February 2010 08:01:11 you wrote:

> Dear Jerry,
>
> First problem is indeed related to heap size. The compiler process jvm is
> being initiallized to aminimum heap size of 4MB (-Xms4M) which seems to be
> clashing with initial heap size in your system. According to java 1.6u18
> (you seem to be running this) changelog:
>
> "The maximum heap size is not actually used by the JVM unless your program
> creates enough objects to require it. A much smaller amount, termed the
> initial heap size, is allocated during JVM initialization. This amount is
>  at least 8 megabytes and otherwise 1/64 of physical memory up to a
>  physical memory size of 1 gigabyte."
>
> So an attempt is made to set minimum heap (4 MB) size lower than the jvm's
> initial one (8 MB). I've confirmed this issue exists on Windows jvm 1.6u18
> too. Up to now I've been using java 1.6u17.
>
> That could be fixed either by removing the -Xms option, setting it to a
> higher than 8M value, or appending an -XX:NewSize option with a lower than
> 4M value (maybe -XX:NewSize=3M?).
>
> Unfortunately jvm heap defaults are hard coded into the hotspot jvm. Also
> unfortunately NetRexxJe compiler process command line is also hard coded.
>  As this is a show stopper  I'll be releasing shortly new fixed interim
>  binaries at http://netrexx-misc.kenay.com. Proper announce will be made
>  here at the list.
>

Excellent!

> Real fix will come latter with updated compiler option pane allowing user
> modification of jvm settings.
>

Even better than excellent!

> CURRENT WORKAROUND: Either go back to a previous JRE/JDK version or install
> a second JRE at version 1.6u17 or less and point NetRexxDE to this using
>  the 'Path to JVM' option under the plugin options panel.
>

Nice. Thank you.

> As for the second issue, you mean the keyboard shortcuts thing? This seems
> to be related with some jEdit API change from v. 4.2 up which passed
> overlooked up to now. I'll be looking into it but fix will come at a latter
> time with next release of NetRexxDE.
>
> Thanks for reporting these. You're awarded first 2 user reported bugs at
> NetRexxDE issue tracker. You may follow issue progrees at the following
>  urls
>

Not a problem. I love NetRexx and have been an avid user for...dare I say,
"decades"? :')

> Heap issue - http://kenai.com/jira/browse/NETREXX_MISC-4
> Missing UI panel - http://kenai.com/jira/browse/NETREXX_MISC-5
> <http://kenai.com/jira/browse/NETREXX_MISC-5>
> 2010/2/3 Jerry McBride <[hidden email]>
>

Thank you for the links. I'll be watching as workload allows.


Jerry

--

*****************************************************************************
                                       
                             From the desk of:
                             Jerome D. McBride
                                       
   18:22:32 up 45 days,  4:56,  3 users,  load average: 0.04, 0.04, 0.00
 
*****************************************************************************
Reply | Threaded
Open this post in threaded view
|

Problem with jEdit and NetRexx

Kermit Kiser
In reply to this post by David Requena
No. I don't know that one. Let me know if you figure it out.

-- Kermit

David Requena wrote:

> Thanks Kermit,
>
> You're right in both cases. I checked some older jEdit versions and it
> turns that instructions in for accessing fir accessing options panel
> in the doc haven't been correct since jEdit 4.2. I knew Satguru worked
> on 4.1 but had overlooked this change in menu structure.
>
> On the other hand adding the label line to props fixed de NO LABEL
> issue. I just noticed that NetRexxDE gets 2 duplicate entries in the
> shortcuts. Same thing with NetRexxScript but its not the case with
> other plugins I have installed. You happen to know why this might be?
>
> 2010/2/3 Kermit Kiser <[hidden email]
> <mailto:[hidden email]>>
>
>     David ;
>
>     I think Jerry's #2 item refers to this part of the NetRexxDE
>     (http://kenai.com/projects/netrexx-misc/pages/NetRexxDE) document:
>     ----------------------------------------------------------------------
>
>     To set/check/change the paths set by NetRexxDE -
>
>     Go to the jEdit menubar and select "Utilities" -> "Global Options..".
>     ----------------------------------------------------------------------
>     I think that should be  "Plugins=>Plugin Options"...
>
>     Also there is a missing line in the NetRexxJe (and probably
>     likewise in NetRexxDE?) props file:
>
>     NetRexxJe.label = NetRexxJe
>
>     It eliminates the "NO LABEL PROPERTY" errors in the shortcuts
>     panel. I have no idea why the jEdit developers did not think it
>     needed to be documented, but then a lot of their documentation
>     seems to be "read the code"... ;-(
>
>     -- Kermit
>
>
>     David Requena wrote:
>>     Dear Jerry,
>>
>>     First problem is indeed related to heap size. The compiler
>>     process jvm is being initiallized to aminimum heap size of 4MB
>>     (-Xms4M) which seems to be clashing with initial heap size in
>>     your system. According to java 1.6u18 (you seem to be running
>>     this) changelog:
>>
>>     "The maximum heap size is not actually used by the JVM unless
>>     your program creates enough objects to require it. A much smaller
>>     amount, termed the initial heap size, is allocated during JVM
>>     initialization. This amount is at least 8 megabytes and otherwise
>>     1/64 of physical memory up to a physical memory size of 1 gigabyte."
>>
>>     So an attempt is made to set minimum heap (4 MB) size lower than
>>     the jvm's initial one (8 MB). I've confirmed this issue exists on
>>     Windows jvm 1.6u18 too. Up to now I've been using java 1.6u17.
>>
>>     That could be fixed either by removing the -Xms
>>     option, setting it to a higher than 8M value, or appending
>>     an -XX:NewSize option with a lower than 4M value
>>     (maybe -XX:NewSize=3M?).
>>
>>     Unfortunately jvm heap defaults are hard coded into the hotspot
>>     jvm. Also unfortunately NetRexxJe compiler process command line
>>     is also hard coded. As this is a show stopper  I'll be releasing
>>     shortly new fixed interim binaries at
>>     http://netrexx-misc.kenay.com. Proper announce will be made here
>>     at the list.
>>     Real fix will come latter with updated compiler option pane
>>     allowing user modification of jvm settings.
>>
>>     CURRENT WORKAROUND: Either go back to a previous JRE/JDK version
>>     or install a second JRE at version 1.6u17 or less and point
>>     NetRexxDE to this using the 'Path to JVM' option under the plugin
>>     options panel.
>>
>>     As for the second issue, you mean the keyboard shortcuts thing?
>>     This seems to be related with some jEdit API change from v. 4.2
>>     up which passed overlooked up to now. I'll be looking into it but
>>     fix will come at a latter time with next release of NetRexxDE.
>>
>>     Thanks for reporting these. You're awarded first 2 user reported
>>     bugs at NetRexxDE issue tracker. You may follow issue progrees at
>>     the following urls
>>
>>     Heap issue - http://kenai.com/jira/browse/NETREXX_MISC-4
>>     Missing UI panel - http://kenai.com/jira/browse/NETREXX_MISC-5
>>
>>     2010/2/3 Jerry McBride <[hidden email]
>>     <mailto:[hidden email]>>
>>
>>
>>         > Dear All,
>>         >
>>         > Well, here I am back to the list, subscribed from a
>>         different email address
>>         > this time.
>>         >
>>
>>         Glad to see you return....
>>
>>         I've got a problem. I can edit and run my netrexx scripts
>>         with your plugin and
>>         jedit 4.3... But when I compile or try to generate a .java I get:
>>
>>         opt/sun-jdk-1.6.0.18/jre/bin/java -Xms4M -cp
>>         .:/root/.jedit/jars/NetRexxC.jar:/opt/sun-
>>         jdk-1.6.0.18/jre/../lib/tools.jar::/opt/extras/NetRexxC.jar:/opt/extras/jtools.jar:/opt/extras/nrio.jar:/opt/extras/xclasses.jar:/opt/java/jre/lib/rt.jar:/opt/java/lib/tools.jar:/usr/share/jedit/jedit.jar
>>         COM.ibm.netrexx.process.NetRexxC /opt/netrexx/easyin/EasyIn.nrx
>>         Error occurred during initialization of VM
>>         Too small initial heap for new size specified
>>         => Aborted <=
>>
>>
>>         It seems I need to increase the heap... but where?
>>
>>         Also, under Utilities/Global Settings there is no netrexx
>>         option in the left
>>         pane as mentioned in the html of the netrexxje-1.0.2a archive.
>>
>>         That said, it's nice to be able to use jEdit with my
>>         preferred script language
>>         again.
>>
>>         Thank you!
>>
>>
>>         Cheers...
>>
>>         --
>>
>>         *****************************************************************************
>>
>>                                     From the desk of:
>>                                     Jerome D. McBride
>>
>>           20:16:57 up 42 days,  6:51,  3 users,  load average: 0.00,
>>         0.00, 0.00
>>
>>         *****************************************************************************
>>         --
>>
>>         *****************************************************************************
>>
>>                                     From the desk of:
>>                                     Jerome D. McBride
>>
>>           20:33:01 up 44 days,  7:07,  3 users,  load average: 0.05,
>>         0.02, 0.09
>>
>>         *****************************************************************************
>>         _______________________________________________
>>         Ibm-netrexx mailing list
>>         [hidden email] <mailto:[hidden email]>
>>
>>
>>
>>
>>     --
>>     Saludos / Regards,
>>     David Requena
>>
>>     ------------------------------------------------------------------------
>>     _______________________________________________ Ibm-netrexx
>>     mailing list [hidden email]
>>     <mailto:[hidden email]>
>
>     _______________________________________________
>     Ibm-netrexx mailing list
>     [hidden email] <mailto:[hidden email]>
>
>
>
>
>
> --
> Saludos / Regards,
> David Requena
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns.hursley.ibm.com/pipermail/ibm-netrexx/attachments/20100203/43e2dc77/attachment-0001.html
Reply | Threaded
Open this post in threaded view
|

Problem with jEdit and NetRexx

David Requena
Jerry,

Glad to know you worked out it for your self.

As a general note for other users:

- You should replace the old NetRexxJe.jar with the new NetRexxDE.jar file.
- Probably you'll need to set plugin properties for the new
plugin according to what you had for NetRexxJe..
- As far as I know it could be even possible to have both NetRexxJe and
NetRexxDE loaded concurrently.

Best regards,
David

2010/2/4 Kermit Kiser <[hidden email]>

>  No. I don't know that one. Let me know if you figure it out.
>
> -- Kermit
>
> David Requena wrote:
>
> Thanks Kermit,
>
>  You're right in both cases. I checked some older jEdit versions and it
> turns that instructions in for accessing fir accessing options panel in the
> doc haven't been correct since jEdit 4.2. I knew Satguru worked on 4.1 but
> had overlooked this change in menu structure.
>
>  On the other hand adding the label line to props fixed de NO LABEL issue.
> I just noticed that NetRexxDE gets 2 duplicate entries in the shortcuts.
> Same thing with NetRexxScript but its not the case with other plugins I have
> installed. You happen to know why this might be?
>
> 2010/2/3 Kermit Kiser <[hidden email]>
>
>> David ;
>>
>> I think Jerry's #2 item refers to this part of the NetRexxDE (
>> http://kenai.com/projects/netrexx-misc/pages/NetRexxDE) document:
>> ----------------------------------------------------------------------
>>
>> To set/check/change the paths set by NetRexxDE -
>> Go to the jEdit menubar and select "Utilities" -> "Global Options..".
>> ----------------------------------------------------------------------
>> I think that should be  "Plugins=>Plugin Options"...
>>
>> Also there is a missing line in the NetRexxJe (and probably likewise in
>> NetRexxDE?) props file:
>>
>> NetRexxJe.label = NetRexxJe
>>
>> It eliminates the "NO LABEL PROPERTY" errors in the shortcuts panel. I
>> have no idea why the jEdit developers did not think it needed to be
>> documented, but then a lot of their documentation seems to be "read the
>> code"... ;-(
>>
>> -- Kermit
>>
>>
>> David Requena wrote:
>>
>>  Dear Jerry,
>>
>>  First problem is indeed related to heap size. The compiler process jvm
>> is being initiallized to aminimum heap size of 4MB (-Xms4M) which seems to
>> be clashing with initial heap size in your system. According to java 1.6u18
>> (you seem to be running this) changelog:
>>
>>  "The maximum heap size is not actually used by the JVM unless your
>> program creates enough objects to require it. A much smaller amount, termed
>> the initial heap size, is allocated during JVM initialization. This amount
>> is at least 8 megabytes and otherwise 1/64 of physical memory up to a
>> physical memory size of 1 gigabyte."
>>
>>  So an attempt is made to set minimum heap (4 MB) size lower than the
>> jvm's initial one (8 MB). I've confirmed this issue exists on Windows jvm
>> 1.6u18 too. Up to now I've been using java 1.6u17.
>>
>>  That could be fixed either by removing the -Xms option, setting it to a
>> higher than 8M value, or appending an -XX:NewSize option with a lower
>> than 4M value (maybe -XX:NewSize=3M?).
>>
>>  Unfortunately jvm heap defaults are hard coded into the hotspot jvm.
>> Also unfortunately NetRexxJe compiler process command line is also hard
>> coded. As this is a show stopper  I'll be releasing shortly new fixed
>> interim binaries at http://netrexx-misc.kenay.com. Proper announce will
>> be made here at the list.
>> Real fix will come latter with updated compiler option pane allowing user
>> modification of jvm settings.
>>
>>  CURRENT WORKAROUND: Either go back to a previous JRE/JDK version or
>> install a second JRE at version 1.6u17 or less and point NetRexxDE to this
>> using the 'Path to JVM' option under the plugin options panel.
>>
>>  As for the second issue, you mean the keyboard shortcuts thing? This
>> seems to be related with some jEdit API change from v. 4.2 up which passed
>> overlooked up to now. I'll be looking into it but fix will come at a latter
>> time with next release of NetRexxDE.
>>
>>  Thanks for reporting these. You're awarded first 2 user reported bugs at
>> NetRexxDE issue tracker. You may follow issue progrees at the following urls
>>
>>  Heap issue - http://kenai.com/jira/browse/NETREXX_MISC-4
>> Missing UI panel - http://kenai.com/jira/browse/NETREXX_MISC-5
>>
>> 2010/2/3 Jerry McBride <[hidden email]>
>>
>>>
>>> > Dear All,
>>> >
>>> > Well, here I am back to the list, subscribed from a different email
>>> address
>>> > this time.
>>> >
>>>
>>> Glad to see you return....
>>>
>>> I've got a problem. I can edit and run my netrexx scripts with your
>>> plugin and
>>> jedit 4.3... But when I compile or try to generate a .java I get:
>>>
>>> opt/sun-jdk-1.6.0.18/jre/bin/java -Xms4M -cp
>>> .:/root/.jedit/jars/NetRexxC.jar:/opt/sun-
>>>
>>> jdk-1.6.0.18/jre/../lib/tools.jar::/opt/extras/NetRexxC.jar:/opt/extras/jtools.jar:/opt/extras/nrio.jar:/opt/extras/xclasses.jar:/opt/java/jre/lib/rt.jar:/opt/java/lib/tools.jar:/usr/share/jedit/jedit.jar
>>> COM.ibm.netrexx.process.NetRexxC /opt/netrexx/easyin/EasyIn.nrx
>>> Error occurred during initialization of VM
>>> Too small initial heap for new size specified
>>> => Aborted <=
>>>
>>>
>>> It seems I need to increase the heap... but where?
>>>
>>> Also, under Utilities/Global Settings there is no netrexx option in the
>>> left
>>> pane as mentioned in the html of the netrexxje-1.0.2a archive.
>>>
>>> That said, it's nice to be able to use jEdit with my preferred script
>>> language
>>> again.
>>>
>>> Thank you!
>>>
>>>
>>> Cheers...
>>>
>>> --
>>>
>>>
>>> *****************************************************************************
>>>
>>>                             From the desk of:
>>>                             Jerome D. McBride
>>>
>>>   20:16:57 up 42 days,  6:51,  3 users,  load average: 0.00, 0.00, 0.00
>>>
>>>
>>> *****************************************************************************
>>> --
>>>
>>>
>>> *****************************************************************************
>>>
>>>                             From the desk of:
>>>                             Jerome D. McBride
>>>
>>>   20:33:01 up 44 days,  7:07,  3 users,  load average: 0.05, 0.02, 0.09
>>>
>>>
>>> *****************************************************************************
>>> _______________________________________________
>>> Ibm-netrexx mailing list
>>> [hidden email]
>>>
>>>
>>
>>
>> --
>> Saludos / Regards,
>> David Requena
>>
>>   ------------------------------
>>
>> _______________________________________________
>> Ibm-netrexx mailing [hidden email]
>>
>>
>> _______________________________________________
>> Ibm-netrexx mailing list
>> [hidden email]
>>
>>
>>
>
>
> --
> Saludos / Regards,
> David Requena
>
>  ------------------------------
>
> _______________________________________________
> Ibm-netrexx mailing [hidden email]
>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>


--
Saludos / Regards,
David Requena
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns.hursley.ibm.com/pipermail/ibm-netrexx/attachments/20100204/18bf5b46/attachment-0001.html