cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

EXTERNAL: About the JVM and how to modify it

berard
1-Visitor

EXTERNAL: About the JVM and how to modify it

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 3
berard
1-Visitor
(To:berard)

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?


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
berard
1-Visitor
(To:berard)

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


Announcements

Top Tags