Re: Is Java Viewer compatible with new version of Java?
"Grady Vogt" <[email protected]>
| Newsgroups | gmane.network.vnc.ultravnc.general |
|---|---|
| Message-ID | <[email protected]> |
For feature requests and bug reports RC15 RC16. Please use the forum at http://forum.ultravnc.net/ I have removed my self from this list but I keep getting them... Is there a problem with the removal service?? Sorry.. Grady. ----- Original Message ----- From: "Barry Nelson" <[email protected]> To: <[email protected]> Sent: Tuesday, March 01, 2005 4:44 PM Subject: [Ultravnc-list] Is Java Viewer compatible with new version of Java? For feature requests and bug reports RC15 RC16. Please use the forum at http://forum.ultravnc.net/ I got this reply from sun on how we can compile the java VNC viewer using 1.4 or 1.5 and still have the result run on the old MS JVM or sun java 1.3 machines... If this works, we should build the new viewer into the next RC (20?) Hi Barry Nelson, Thank you for submitting a bug using our bug submit page. I see that the issue you re seeing is that if you compile with the newer 1.4.0 and 1.5.0 version you cannot seem to run the applet. This is mostly because you are trying to run the applet with an old JRE which was 1.1.8 for Microsoft VM and in possibly using the old Java plugin from Sun (i.e. versions < 1.4.0). The idea is that if you want people with older runtimes to be able to view your compiled applet you should use the "-target" flag. So essentially even if you compile with 1.4.2 or 1.5.0 if you use the "-target 1.3" flag then the resulting Applet and class files will run on all runtimes which are 1.3 or higher. Hope this makes things clearer. Thanks, Girish ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NOTICE: This message, including any attachments, is for the intended recipient(s) only. If you are not the intended recipient(s), please reply to the sender, delete this message, and refrain from disclosing, copying, or distributing this message. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ----------------- Report ------------------- category : java release : 1.4.2 subcategory : compiler type : bug synopsis : Java 1.4 and later compiler not class compatible with windows. description : FULL PRODUCT VERSION : java version "1.4.0_03" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_03-b04) Java HotSpot(TM) Client VM (build 1.4.0_03-b04, mixed mode) java version "1.4.1" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21) Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode) Also newer versions.... Not compatible with Microsoft (R) VM for Java, 5.0 Release 5.0.0.3810 Where java 1.3 used to work. ADDITIONAL OS VERSION INFORMATION : Microsoft Windows XP [Version 5.1.2600] A DESCRIPTION OF THE PROBLEM : I have just experienced the same issue described below. Additionally I noticed this: >From: Jian Gao <jgao@op...> > Java Viewer Issue >2004-11-11 21:05 > > Hi, > > I recompiled the Java Viewer using version 1.3, it works fine. But if > recompile using 1.4.2 or 1.5.0, then the Applet is blank. > > Is Java Viewer compatible with new version of Java? > > Thanks, > Jian Additionally I noticed this: 1) The version I compiled with java 1.4 worked on my Linux box running Mozzilla, but not on windows. 2) The error I got on windows was similar to "VncViewer.class class not found" 3) After recompiling using Java 1.3, it worked on both platforms. ??? STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : CVS download the java viewer from the ultravnc project at sourceforge.net, compile with javac 1.4 or later, then try to run the resulting applet in IE. It will fail. Try it on Linux or Sun and it works. Then compile the same code using javac 1.3. The resulting classes will work on both platforms. In other word, javac 1.3 is more portable than javac 1.4 or later? I thought java was supposed to be getting MORE portable, not less? EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - Expected classes compiled with the newer java compiler to work on all the platforms that the older version had worked on. ACTUAL - Java 1.3 compiled classes worked on all platforms. Java 1.4 and later did not. ERROR MESSAGES/STACK TRACES THAT OCCUR : Class not found??? REPRODUCIBILITY : This bug can be reproduced always. ---------- BEGIN SOURCE ---------- http://ultravnc.sourceforge.net Java VNC viewer ---------- END SOURCE ---------- CUSTOMER SUBMITTED WORKAROUND : Compile using java 1.3 or older. workaround : suggested_val : cust_name : Barry Nelson cust_email : [email protected] jdcid : language : English keyword : webbug company : Baptist Health South Florida hardware : x86 OSversion : win_xp bugtraqID : 0 dateCreated : 2004-11-24 09:28:45.7 dateEvaluated : 2005-03-01 14:41:18.359 ************************************************************************************************** This message originates from Baptist Health South Florida (BHSF). It contains information that may be confidential or privileged and is intended only for the individuals or entity named above. It is prohibited for anyone else to disclose, copy, distribute or use the contents of this message. This message may not be copied or distributed without this disclaimer. All personal messages express views solely of the sender, which are not to be attributed to BHSF. If you received this message in error, please notify us immediately at [email protected] ** BHSF scanned this email for viruses, vandals and malicious content ** ************************************************************************************************** ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click