Skip to main content
1-Visitor
September 19, 2013
Question

About the JVM and how to modify it (Arbortext Editor)

  • September 19, 2013
  • 15 replies
  • 3586 views

Hello experts!

Ok, so I've been playing with the jvm and I would like to know the
flexibility provided by Arbortext in order to modify or not use the
jvm.dll provided by default in the installation folder. Until now I have
the idea that by first instance Arbortext Editor will always use the one
provided by default, is that correct? Do you know how many ways do I
have in order to personalize my jdk version according to my Arbortext
Editor? Is that possible? and also I would like to know, is that
recommended? In my case I have the Arbortext 6.0 32-bit and in my
computer I just installed the 32-bit Java7.

Thank you soo much for your time and suggestions/responses. Have a
wonderful day! 🙂



P.D. (I would like to know also if it's possible to know if my Arbortext Editor is using a 32-bit or a 64 version. Do you know any command to get this information using ACL?)

Paulette Zorrilla

    15 replies

    18-Opal
    September 24, 2013
    Hi Keith--

    A couple of other things you can try:


    1) You can use a numeric index in lieu of an application name to get alternate custom directory locations. You could try checking get_custom_dir(1), get_custom_dir(2), etc. Eventually you should find the .../aptcache/zc location.

    2) You can get the location of the file that is executing with the caller_file() function. Pass the parameter 0 and it will give you the file name of the file containing the currently executing function.

    --Clay
    1-Visitor
    September 24, 2013
    Man, you rock.

    get_custom_dir(1) did the trick perfectly. I'll use that one for now, and
    if I ever run into any snags, I know I can use the caller_file() as a
    fallback.

    Thanks again!

    - keith


    pzorrilla1-VisitorAuthor
    1-Visitor
    September 25, 2013

    Paulette Zorrilla

    pzorrilla1-VisitorAuthor
    1-Visitor
    September 25, 2013

    Guys! Maybe my next question would be more related with my computer's environment, however, when I was trying to set my jvm manually using the following ACL command "set javavmpath" I apparently didn't receive any positive response, since Arbortext seems to give priority to the jdk installed on my computer, the jvm that I was trying to set was in a different directory and of a different version of the which one installed on my computer; so I was thinking, How can I tell to Arbortext to ignore the Java version installed on my computer and use anyother? Any ideas?



    Best regards!


    Paulette Zorrilla

    18-Opal
    September 25, 2013
    Hi Paulette--

    You have to catch this pretty early in the startup cycle, or Arbortext will have already started up its own JVM. Once Arbortext starts its own, it's too late to ask for a different one.

    You probably need to have this in an ACL file in your custom/init folder for it to fire early enough to take effect.

    --Clay