Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

WebStart and folder redirection

843802Aug 27 2003 — edited Jun 15 2004
Dear all,

I post this problem here a second time, as nobody from Sun seems to have an interest in responding to this issue which I reported a month ago in the BugParade.

In a current project at a customer here in Germany we use Java and Java Web Start. The customer is using a Terminal Server farm and redirects system folders under Windows 2000.

Web Start normally looks for cache files and config stuff under:

\Documents and Settings\<username>\.javaws

The customer redirects the folder in the following way:

Application Data -> \<fileshare1>\%username%\Application Data
Temporary Internet Files -> \<fileshare1>\%username%\Local Settings\Temporary Internet Files
Cookies -> \<fileshare1>\%username%\cookies
Desktop -> \<fileshare2>\<customer ID>\Desktop
Favorites -> \<fileshare2>\<customer ID>\Favorites
Histroy -> \<fileshare2>\<customer
ID>\History
Local Application Data -> \<fileshare1>\%username%\Local
Application Data
Local Settings -> \<fileshare1>\%username%\Local
Settings
My Pictures -> \<fileshare2>\<customer ID>\My
Pictures
My Documents -> H:\My Documents
Programs Path ->
\<fileshare1>\%username%\StartMenue\Programs
Recent -> \<fileshare1>\%username%\Recent
Nethood -> \<fileshare2>\<customer ID\NetHood
Printhood -> \<fileshare2>\<customer ID\PrintHood
Send To -> \<fileshare2>\<customer ID\SendTo
Start Menu -> \<fileshare1>\%username%\StartMenue
Startup ->
\<fileshare1>\%username%\StartMenue\Programs\Startup
Templates -> \<fileshare2>\<customer ID\Templates


Now the strange thing happens:
Java WebStart now looks for the ".javaws" directory in

\<fileshare2>\<customer ID>

So, for my opinion, it resolves the wrong registry key, goes one dir up and ends up in a directory which is not accessible for the user.

For your information: %USERPROFILE% still points to
\Documents and Settings\<username>\

For me it looks like that with folder redirection switched on, the Java "user.home" property is set in a wrong way.

Question:
- why does this happen? It's a bug isn't it?
- what information does WebStart use to calculate the path to ".javaws" directory? Is it one of the registry keys above?

It's quite urgent for the customer.
Any help is appreciated.

Best regards and thank you,
Matthias Stoll
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 13 2004
Added on Aug 27 2003
9 comments
409 views