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!

JWS Malformed URL Exception

991014Feb 14 2013
Hi,
I recently deployed a desktop app using JWS. On my first deployment, I faced this exception - "Java.net.MalformedURLException . no protocol . socket". I resolved this, by changing my network settings to Direct Connection via Java Control Panel. Cool. But when I deploy this to customer sites, I don't want the users to face this exception. The users being users, I don't want them opening Java control panel (if they have JDK, that too) and do all this workaround.
My question is, is there a way to avoid this problem, on my side via JNLP or java code? What is the root cause here?

I used JRE 6 for my entire development. But when it came to deployment, I upgraded to JRE/JDK 7. Does this bug have something to do with backward compatibility?

Thanks for the suggestions,
Sanjeev Mk
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 14 2013
Added on Feb 14 2013
0 comments
418 views