JDK-4621090 : "javaw.exe - No Disk" message on file open from Web Start application
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 1.0,1.0.1
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: windows_nt,windows_2000
  • CPU: x86
  • Submitted: 2002-01-09
  • Updated: 2002-07-24
  • Resolved: 2002-07-24
Related Reports
Duplicate :  

Name: dk106046			Date: 01/09/2002

Operating system: Windows NT 4.0 SP 5

Full JDK version:
java version "1.4.0-rc"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-rc-b89)
Java HotSpot(TM) Client VM (build 1.4.0-rc-b89, mixed mode)

WebStart Version: 1.0.1

Problem Description:
When I try to open a file through my Java Web Start application, a message box pops up with the title "javaw.exe - No Disk". 
Problem found with JDK 1.4 (beta  version) on Windows NT. But it's working fine with JDK 1.3 & JRE 1.2.2.

Minimal source code that demonstrates the problem:
import javax.jnlp.*;

public class fos
 public static void main(String args[])
  FileOpenService f = null;
  try {
   f = (FileOpenService)ServiceManager.lookup("javax.jnlp.FileOpenService");
  } catch (UnavailableServiceException e) {

  try {
   String[] ext = { "txt", "java"};
   FileContents fc = f.openFileDialog(System.getProperty("user.home"), ext);
  } catch (Exception e) {

Exact steps to reproduce:
1. Compile the above java file and make the jar file of it and place it in htdocs of Webserver.
2. Create the jnlp file and in that mention above jar file name and application main class file name.
3. Provide link to jnlp on html page, so that application can be run from the webpage.
4. Make sure that the application manager makes uses of JDK 1.4 beta version.
5. When trying to launch the application by clicking on the webpage an error message box is displayed:
title: "javaw.exe - No Disk"
message: "There is no disk in the drive. Please insert a disk into drive A:."
buttons: Abort/Retry/Ignore

It is trying to access the A drive, but instead it should be opening the user home directory.


EVALUATION what about this instance of the Drive a problem ? ###@###.### 2002-04-25 cannot reproduce. tried with WinNT, JRE 1.4.0-rc-b89, javaws 101_02 ###@###.### 2002-04-25