Opened 12 years ago
Closed 8 years ago
#11480 closed defect (obsolete)
Can not run Java from VBox shared folder
Reported by: | Mike Wilson | Owned by: | |
---|---|---|---|
Component: | shared folders | Version: | VirtualBox 4.2.6 |
Keywords: | Cc: | ||
Guest type: | Windows | Host type: | Linux |
Description
Running Java installed in a VBox shared folder fails with an error. I have tried with Java 5, 6 and 7 and it is the same for all.
To reproduce:
- Create a guest and install Windows XP
- Set up a shared folder as D:
- Download a JRE or JDK and install to D:
- Run the java command
Here is my output when installing on D:
D:\jdk-1.5.0\bin>java -version Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object
Here is the output when installing on C:
C:\jdk-1.5.0\bin>java -version java version "1.5.0_11" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03) Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
Note:
See TracTickets
for help on using tickets.
Please reopen if still relevant with a recent VirtualBox release.