Watch, Follow, &
Connect with Us
Public Report
Report From: JBuilder/Runtime System/Application    [ Add a report in this area ]  
Report #:  9346   Status: Reported
Native java application launchers don't work when launching an app from an UNC path
Project:  JBuilder Build #:  11.0.236.0
Version:    2005 Submitted By:   Biker Conrad
Report Type:  Basic functionality failure Date Reported:  10/14/2004 2:13:57 PM
Severity:    Critical / Show Stopper Last Updated:
Platform:    All versions Internal Tracking #:  
Resolution: None  Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: 10
Description
Trying to launch a java application using the native executable that is distributed with JBuilder under the name win32w.bin fails when using an UNC path (a path that has the form: \\server-name\folder1\folder2 ... etc.)
Steps to Reproduce:
1. Create a simple java application that displays a message
and package it under app.jar. Let's assume the name of the
main class is App.

2. Open Windows Explorer

3. Navigate to a server: \\server-name\folder-name
(you have to have such a server in your network
otherwise you won't be able to reproduce this problem). Do not map
the folder name to drive letter.

4. Copy win32w.bin from <jbuilder-directory>\lib directory
to the folder above and rename it to app.exe.
Also copy app.jar in the same folder

5. Create a file app.config with the following content (you have
to replace <jre-home> with the home directory of the jre on your machine; I used
jdk1.4.2_05):

javapath <jre-home>\bin\client\jvm.dll
addpath app.jar
mainclass App

6. Click on app.exe. Nothing happens

7. Now map \\server\folder-name to a letter and click
again on app.exe accessed through the drive letter.
The message displayed by the application will show up.

Workarounds
None
Attachment
None
Comments

None

Server Response from: ETNACODE01