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

EXTERNAL: About the JVM and how to modify it

  • September 24, 2013
  • 3 replies
  • 1021 views
Ugh, spoke too soon.

Now the path is correct, but Arbortext is saying: "Cannot create a Java
virtual machine from..." showing the correct path and dll.

Back to the drawing board I guess.

Thanks for the help though, I'll try hardcoding some paths to see if this
is some kind of directory limitation, or something inherent to the custom
dir.


    3 replies

    berard1-VisitorAuthor
    1-Visitor
    September 24, 2013
    Ok, take 3, and I apologize to everyone else for the spam, but I think this
    will be helpful to have in the archive.

    So it turns out my overly optimistic and naive assumption that
    client\jvm.dll would be sufficient was way off. Looks like it needs the
    full structure, including dlls/jars in ..\bin and ..\lib.

    While I could copy all of these, I still know that a given JVM is installed
    on each client, so I'll just point to that. The only thing left is to
    determine whether it's in "Program Files" for 32-bit, or "Program Files
    (x86)" for 64-bit.

    I also finally found my old prog_guide.pdf and customizing_guide, but to
    save me some searching, do you know if there is there some simple
    dir_exists() or file_exists() type thing so I can conditionally set my
    javavmpath accordingly? Are those PDFs the best place for ACL reference?


    18-Opal
    September 24, 2013
    Hi Keith--

    The function you're looking for is access(). It's one of those ones you'd be hard pressed to find if you didn't already know what it's called.

    --C
    berard1-VisitorAuthor
    1-Visitor
    September 24, 2013
    Success!

    Thanks to Clay, I was able to use the access("<dir>","<flag>") acl function.

    I now check first if the jvm.dll is located in Program Files, else I check
    in Program Files (x86) and set javavmpath accordingly.

    Woohoo.

    - keith