VirtualBox

Ticket #6596 (closed defect: obsolete)

Opened 7 years ago

Last modified 4 months ago

Java's jar tool fails when extracting on shared folder

Reported by: rkennke Owned by:
Priority: major Component: other
Version: VirtualBox 3.1.6 Keywords:
Cc: Guest type: Windows
Host type: Linux

Description (last modified by aeichner) (diff)

I can't extract a JAR file onto a VirtualBox shared folder. It fails with 'cannot create directory' error message.

Steps to reproduce:

  • I am using Windows XP Pro as guest and Ubuntu 9.10 as host
  • Install JDK ( I tried with latest JDK6)
  • Mount a shared folder (let's say on z:)
  • Extract a JAR to the shared folder, for example:

%JDKPATH%\bin\jar.exe xvf %JDKPATH%\lib\jconsole.jar

replace %JDKPATH% with the directory where you installed the JDK.

I tracked this to a call to java.io.File.mkdirs() in Java, but I'm not sure what it does in terms of system calls.

I *was* able to do the same on a Samba-mounted share. (This is a workaround: setup Samba to share the needed folder, and mount this instead.)

Change History

comment:1 Changed 4 months ago by aeichner

  • Status changed from new to closed
  • Resolution set to obsolete
  • Description modified (diff)

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use