Ticket #11480 (closed defect: obsolete)

Opened 6 years ago

Last modified 2 years ago

Can not run Java from VBox shared folder

Reported by: mikewse Owned by:
Priority: major Component: shared folders
Version: VirtualBox 4.2.6 Keywords:
Cc: Guest type: Windows
Host type: Linux


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)

Change History

comment:1 Changed 2 years ago by aeichner

  • Status changed from new to closed
  • Resolution set to obsolete

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use