|
-
October 25th, 2010, 03:28 AM
#1
Virtual machine description value is empty
Hi,
A Swing applet is opened in a internet explorer 7 on Windows7 64 bit machine. When i am opening application on IE7 "64bit" and querying virtual machine list by invoking VirtualMachine.list(), i am able to find the "display name" of VirtualMachineDescriptor as "sun.plugin2.main.client.PluginMain" but the same function calling is returning an empty string of display name with IE 32bit. Any help is highly appreciated.
-
October 26th, 2010, 10:10 PM
#2
Re: Virtual machine description value is empty
Maybe it's me just being ignorant but I looked up JDI and VirtualMachine interface has no list() method. What interface are you using? My guess is that whatever it is, there just isn't a 32bit VirtualMachine available -- it's either not installed or just isn't accessible from the context your program is running in, which isn't surprising given that you said it's a 64 bit machine.
-
October 27th, 2010, 05:24 AM
#3
Re: Virtual machine description value is empty
After googling alot i atlast found the solution to my problem. It is the com.sun.tools.attach.VirtualMachine on which i am invoking list(), and the displayName() of VirtualMachineDescriptor is being shown from jre 1.6 update 18 onwards. Earlier i had jre update 13,so it was showing empty string but after installing new jre update 18, its showing properly. Thanks for replying to my post.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|