WSDK 5.0, JDK 1.4 and JSSE

WSDK 5.0 (Web Services Development Kit, by IBM) sample applications show how to set up the environment if using JDK 1.4 and JSSE as a seperate package, however JSSE is now integrated into JDK 1.4 and therefore setting up the environment is different. Eventhough I'm setting the protocol:
System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol")
I'm still getting:
org.uddi4j.transport.TransportException: no protocol
Please if anyone could point me to a sample application that sets up the environment based on JDK 1.4 or let me know what else I need to do to set up the environment, I would really appreciate it.
thanks
Kareem

You can get it done at:
http://www.thesoftwareobjects.com

Similar Messages

  • Urgent Solution needed--Problem in JSP compilation with JDK 1.5 and JDK 1.6

    Hi,
    I m using JDK 1.5 and Tomcat 5.0 the problem is that after starting server when I m going to access my application at that time instead of displaying HomePage it directly display the blank page on screen.
    After analyzing tomcat log I have found that there was a problem with JSP page compilation.
    The exception logged in Tomcat Log is given below
    An error occurred at line: 1 in the generated java file
    The type Collection is not generic; it cannot be parameterized with arguments <? extends E>
    Stacktrace:
    *     at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)*
    *     at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)*
    *     at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)*
    *     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)*
    *     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)*
    *     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)*
    *     at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)*
    *     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)*
    *     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)*
    *     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)*
    *     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)*
    *     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)*
    *     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)*
    *     at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:447)*
    *     at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)*
    *     at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)*
    *     at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:424)*
    *     at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:343)*
    *     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)*
    *     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)*
    *     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)*
    *     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)*
    *     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)*
    *     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)*
    *     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)*
    *     at java.lang.Thread.run(Thread.java:619)*
    After getting this kind of error I have analyzed my code furhter then I came to know that there was problem with static include tag.
    In my jsp page I have used following line which is the main cause of error
    <%@ include file="top.jsp" %>If I ommit this line then it is working properly.
    Instead of static include I have used jsp:include also.
    Still I m getting same problem.
    We have to migrated from JDK 1.5 to 1.6 and Tomcat 5.0.28 to 6.0.14, still same problem is there.
    We have tried a lot but didnt get success to overcome this problem.
    If anybody having any solution then ur each reply will be appreciated.
    Thanks in advance..........!!!!!!!
    Edited by: JBOSS2000 on Jan 15, 2008 9:29 AM

    Hi "mshanu" and "amit" Thanks for ur replies Here I m posting the code of "top.jsp"........!!!!
    <%@ page errorPage="errordisplay.jsp"%>
    <table cellpadding="0"
           cellspacing="0"  height=50 width=780>
           <tbody>
             <tr class="header">
               <td class="logo"><IMG SRC="assets/Logo.gif" BORDER=0 ALIGN=top></td>
               <td align="right"><span class="applicationtitle"><%@ include file="/contents/logo.htm" %></span><br>
               <span class="companyname"><%@ include file="/contents/companyname.htm" %></span></td>
             </tr>
            </tbody>
    </table>To include top.jsp I have tried
    <jsp:include page="top.jsp" flush="true">
    </jsp:include>
             AND       
    <%@ include file="top.jsp"%>but none of this worked.
    If I remove the include then It is working properly.
    But I need inluded file too so that I am wondoring for the solution.
    This problem seems very wiered to me. I dont know why it is happening.
    This problem is started only when I used the TOMCAT 6.14.
    Is it the bug of TOMCAT 6.14 or What somebody Plz help.
    I got stuck here.........!!!!!!!!!!
    It doesn't seem any problem with top.jsp. As per my thinking the problem is there in include due to that it doesn't compile the JSP page in Tomcat 6.0.
    Earlier I am having same code running on the Tomcat 5.0.28 and JDK 1.5.0.
    But problem occured when I have used Tomcat 6.x...!!

  • Relationship between JCE and JSSE providers.

    Howdy,
    I need clarification about the relationships between JCE and JSSE providers.
    Do JSSE providers function independantly of JCE providers. If a JCE provider supplies a specific encryption algorithim, is it used in the JSSE?
    Or are only the JSSE provider encryption algorithims used ?
    Jim Cotsios

    In JSSE 1.0.x, and JSSE in J2SE 1.4 beta 2
    and earlier, the
    JSSE and JCE are completely separate entities.
    The JSSE doe not use any of the JCE algorithms.
    All necessary algorithms are provided either
    in the JSSE jar file, or by obtaining them
    from the J2SE itself with the appropriate
    getInstance().

  • Uninstall SUN JDK 1.6_14 and install SUN JDK 1.6_18 for Weblogic

    My GridControl server has all of a sudden gone wild in consuming 100% of the cpu. The process was java.exe in the Middleware folder. Somebody suggested to verify the JDK and I indeed have an older version than the one recommended.
    Does anybody know where it is documented on how to uninstall and then reinstall SUN JDK 1.6_18 and have Weblogic still work afterward? (Win 2008 32 bit)
    I'd hate to reinstall the entire Gridcontrol 11g because I have the wrong jdk.
    Thanks.

    Hi,
    Uninstalling SUN JDK 1.6_14 from your Box is optional step....Most of the Servers are flexible enough ...they provide us the facility to change the JDK at any point of time...Without reinstalling the Product from the scrap....
    You can directly install SUN JDK 1.6_18 in your WebLogic Server Box. Then you need to make a small change in the *"<DOMAIN_HOME>\bin\setDomainEnv.cmd"* file ...to change the JAVA_HOME variable value...That's all.
    Next time whenever you will start your WebLogic Servers it will pick up the SUN JDK 1.6_18 version only.
    I am pasting few lines from *"setDomainEnv.cmd"*
    @REM *************************************************************************
    set WL_HOME=C:\bea103\wlserver_10.3
    for %%i in ("%WL_HOME%") do set WL_HOME=%%~fsi
    set BEA_JAVA_HOME=C:\bea103\jrockit_160_05
    <b><font color=red>set SUN_JAVA_HOME=C:\all_Jdks\JDK 1.6_18</font></b>
    set JAVA_OPTIONS=%JAVA_OPTIONS% -Dwhat.is.your.name=Jay_SenSharma
    if "%JAVA_VENDOR%"=="BEA" (
         set JAVA_HOME=%BEA_JAVA_HOME%
    ) else (
         if "%JAVA_VENDOR%"=="Sun" (
              set JAVA_HOME=%SUN_JAVA_HOME%
         ) else (
              set JAVA_VENDOR=Sun
              set JAVA_HOME=C:\bea103\jdk160_05
    @REM We need to reset the value of JAVA_HOME to get it shortened AND
    @REM we can not shorten it above because immediate variable expansion will blank it
    set JAVA_HOME=%JAVA_HOME%
    Thanks
    Jay SenSharma
    http://weblogic-wonders.com/weblogic (WebLogic Wonders Are here)

  • Incompatibility between JDK 1.4 and Windows XP Fax and Picture Viewer

    I have noticed an incompatibility between JPG files that are output from Windows XP Fax and Picture Viewer and read in by JDK 1.4 (or 1.4.1). In particular, when an image is transfered from a digital camera to a Windows XP machine, then rotated and saved in the Windows XP Fax and Picture Viewer, the resulting image file appears with corrupted colors when read and saved by the ImageIO class in JDK 1.4.
    Here is my code:
         import java.awt.image.BufferedImage;
         import javax.imageio.ImageIO;
         BufferedImage buffImg = ImageIO.read (new File ("in.jpg"));
         ImageIO.write (buffImg, "jpg", new File ("out.jpg"));
    I have also output the file with graphics format PNG and seen similar apparent corruption of colors.
    This is an image that was loaded onto Windows XP from a digital camera then rotated 90 degrees and saved with the Windows XP Fax and Picture Viewer:
    http://www.adigitalsolution.net/pics/verticalOrig.jpg
    Here is the same image read and written by JDK 1.4 ImageIO.read() and ImageIO.write():
    http://www.adigitalsolution.net/pics/verticalJavaOut.jpg
    Note that the colors appear corrupted in the above image.
    This is an image copied directly from a Sony Cybershot DSC - P71 digital camera:
    http://www.adigitalsolution.net/pics/horizontalOrig.jpg
    Here is the same image read and written by JDK 1.4 ImageIO.read() and ImageIO.write():
    http://www.adigitalsolution.net/pics/horizontalJavaOut.jpg
    It appears fine (brilliant tropical colors).
    Note that both images contain the "EXIF" header, which is the JPEG-like format used by many digital cameras. Some may say that the JDK 1.4 spec does not support EXIF, but the image not touched by Windows XP was read successfully. And other image editing programs read in both successfully, such as PaintshopPro and the Mozilla 1.0 web browser. But there is a specific incompatibility with JDK 1.4.
    I have reproduced this problem on Windows NT 4 and Red Hat Linux 7.3 using an image file that was saved on Windows XP.
    Here is a warning from Nikon about the behavior of Windows XP Fax and Picture Viewer:
    http://www.dpreview.com/news/0112/01121402nikonxpwarnings.asp
    Does anybody know a workaround?

    This is scary and explains why some of my Exif headers are trashed.
    I would guess the problem has something to do with XP not writing the file back out 100% true to the JPEG spec.
    Really annoying that they do this. They think they can just hack up and change standards that are not their own. Take their FTP client in Windows XP. Talk about a broken client.
    My suggestion is to dis-associate jpegs with XP's image and fax viewer. Instead associate them with Mozilla.

  • WL 5.1sp9 and patches for JDK 1.3 and Solaris 2.8patches

    Are there any patches needed to run WL 5.1 sp 9 with solaris 2.8, JDK 1.3.0, and clarify 10.1. Any response to any topic would be appreciated.

    see http://java.sun.com for patches required for the JVM
    Mike
    Dennis P. Meek <[email protected]> wrote:
    Are there any patches needed to run WL 5.1 sp 9 with solaris 2.8, JDK
    1.3.0, and clarify 10.1. Any response to any topic would be appreciated.

  • JDK 1.5 and Axis 1.2.1 Issue

    I am facing the following problem with JRE 1.5.0_5 runtime and Axis 1.2.1 when running an application compiled with JDK 1.4.2_04
    When the very first class from Axis is accessed within the application, an exception is thrown as below:
    class "org.apache.axis.utils.Messages"'s signer information does not match signer information of other classes in the same package
    However when using JRE 1.4.2_04 runtime this problem doesnt occur. Using "jarsigner" the jars were verified successfully.
    Please help.

    One should not fiddle with sun.* classes and there should be no need for this either. What do you exactly need?

  • PKCS12 - Different resutls on JDK1.4 and JDK 1.5 and above

    Hi guys, i've recieved a PKCS12 file which contains a certificate and private key that i am supposed to extract. As im new to certificates and the whole PKI infrastructure i attempted to write a small program to try and view the contents of the PKCS#12 file.
    A password is required to retrieve the certificate and the private key from the pkcs12 file. A password was provided to me and the instructions state that the password is the MD5 hash of the password that was provided to me.
    I am having two weid prolems with this implementation. If i run this class on a JDK1.5 VM the password is rejected with the following error.
    java.io.IOException: Integrity check failed: java.io.IOException: getSecretKey failed: Password is not ASCII
            at com.sun.net.ssl.internal.ssl.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1314)
            at java.security.KeyStore.load(KeyStore.java:1150)
            at pkcs12.Certificaten.extractKeys(Certificaten.java:44)
            at pkcs12.NewClass1.main(NewClass1.java:47)I am not sure why it is insisting that the password should be ASCII. Does anyone know why this is the case?
    If i run the same class on JDK 1.4, i can open the PKCS12 file so the password is accepted. as shown below
    Alias : 257811
    Adding key for alias 257811
    Private key
    RSA
    java.lang.ClassCastException
            at pkcs12.Certificaten.extractKeys(Certificaten.java:59)
            at pkcs12.NewClass1.main(NewClass1.java:47)
    Exception in thread "main" The exception in 1.4 is to do with this line i think
    cert =   (Certificate) myStore.getCertificate(strAlias);I havent found out the resolution to the above problem but im a bit worried on teh error if i ran it on 1.5. As i dont have control of the format of the password, i cant just change it to be an ASCII password. Is there a way i can get it to accept a non-ascii password?
    Here are the classes i used to test the above.
    public class NewClass1 {
        public static byte[] MD5(byte[] bytes) throws NoSuchAlgorithmException{
              MessageDigest md;
              md = MessageDigest.getInstance("MD5");
              byte[] md5hash = new byte[8];
              md.update(bytes);
              md5hash = md.digest();
              return md5hash;
        public static void main(String[] main) throws NoSuchAlgorithmException, UnsupportedEncodingException, IOException, Exception{
            byte[] originalStringInBytes = "Baltimore1,".getBytes("ISO-8859-1");
            byte[] md5;
            md5 = MD5(originalStringInBytes);
            System.out.println(md5);       
            String tstString = new String(md5,"ISO-8859-1");
            System.out.println(tstString);
            Certificaten newCert = new Certificaten("E:\\Documents and Settings\\ziggy\\My Documents\\NetBeansProjects\\PKCS12\\src\\pkcs12\\257811.p12");
            newCert.extractKeys(tstString);                    
    }I used this class written by somebody else to extract the keys
    public class Certificaten {
        private FileInputStream in_cert = null;
    //private InputStream cert = null;
        private KeyStore myStore = null;
        private PrivateKey kr = null;
        private PublicKey ku = null;
        private java.security.Certificate cert = null;
        Enumeration eAliases = null;
    //constructors
        public Certificaten() //default constructor
        public Certificaten(String certPath) //overloaded constructor
            try {
                in_cert = new FileInputStream(certPath);
            } catch (FileNotFoundException e) {
                e.printStackTrace();
        public void extractKeys(String passw) throws Exception {
            try {
                myStore = KeyStore.getInstance("PKCS12");
                myStore.load(in_cert, passw.toCharArray());
                eAliases = myStore.aliases();
                while (eAliases.hasMoreElements()) {
                    String strAlias = (String) eAliases.nextElement();
                    System.out.println("Alias : " + strAlias);
                    if (myStore.isKeyEntry(strAlias)) {
                        System.out.println("Adding key for alias " + strAlias);
    // retrieve private key from PKCS12 certificate
                        kr = (PrivateKey) myStore.getKey(strAlias,
                                passw.toCharArray());
                        System.out.println("Private key");
                        System.out.println(kr.getAlgorithm());
    //check for occurence of error!!
                        if (kr == null) {                       
                        cert =   (Certificate) myStore.getCertificate(strAlias);
    //check for occurence of error!!
                        if (cert == null) {
    //retrieve public key from certificate
                        ku = cert.getPublicKey();
                        System.out.println(ku.getAlgorithm());
    //check for occurence of error!!
                        if (ku == null) {
            } catch (KeyStoreException e) {
                e.printStackTrace();
            } catch (NoSuchAlgorithmException e) {
                e.printStackTrace();
            } catch (CertificateException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace();
            } catch (UnrecoverableKeyException e) {
    // TODO Auto-generated catch block
                e.printStackTrace();
        public PrivateKey getPrivateKey() {
            return kr;
        public PublicKey getPublicKey() {
            return ku;
        }

    Dude - instead of posting something, and then editing it like eleventy-bajillion-thousand times afterwards,
    why don't you click the "preview" tab and look over it, before clicking the "post" button? eh?

  • [Upgrading to 2.1.0.63.73] JDK 1.6 and Oracle 10 server XP 32 issue

    Hi,
    I wonder if I will still be able to use Oracle 10 server if I install JDK 1.6 (mandatory to upgrade SqlDeveloper) ?
    Here is the output of java -version in the Oracle server directory
    D:\oracle\product\10.2.0\db_1\jdk\bin>java -version
    java version "1.4.2_08"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
    Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
    And in the Sqldeveloper directory
    D:\oracle\product\10.2.0\db_1\sqldeveloper\jdk\jre\bin>java -version
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
    Is it sure to trust the install to place java 1.6 in the sqldeveloper\jdk\bin directory?
    Many thanks if you can help

    If you're worried about messing up other software, why not download the SQL Developer bundled with the JDK? It resides inside the SQLDeveloper folder and to my knowledge it won't interfere with any of your other JDK installs.
    You'll want to put newer installs of SQL Developer in their own folder, and not in the existing SQL Developer Folder.
    Edited by: DylanB123 on Mar 23, 2010 11:39 AM

  • Annotation processing using JDK 1.6 and Apache Ant

    Hello,
    I am trying to run my annotation processor using ant.
    I already built the processor, the javax.annotation.processor.Processor file is in the correct place with the correct content.
    The jar with the processor is in the classpath (i can see it in ant -v), but it does not process my classes. in fact, i get the warning:
    warning: Annotation processing without compilation requested but no processors were found.Do i have to specify -processor or -processorpath or can i just leave it to the default classpath scanning?
    I think everything is in the correct place, because when i compile with maven instead of ant, specifying the processor, it runs nicely. My pom contains:
                   <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-compiler-plugin</artifactId>
                        <configuration>
                             <source>1.6</source>
                             <target>1.6</target>
                             <compilerArguments>
                                  <processor>br.com.sonner.infra.seguranca.SegurancaAnnotationProcessor</processor>
                             </compilerArguments>
                        </configuration>
                   </plugin>i am using jdk 1.0.6_02 and ant 1.7.0.
    Can anyone help me find out what am i doing wrong?

    Julio.Faerman wrote:
    Hello,
    I am trying to run my annotation processor using ant.
    I already built the processor, the javax.annotation.processor.Processor file is in the correct place with the correct content.
    The jar with the processor is in the classpath (i can see it in ant -v), but it does not process my classes. in fact, i get the warning:
    warning: Annotation processing without compilation requested but no processors were found.Do i have to specify -processor or -processorpath or can i just leave it to the default classpath scanning?When -processor is not given, a service loader is used to find the annotation processors (if any). In addition to the class files of the process, to allow your processor to be found as a service, make sure you've also provided the needed META-INF data in the jar file. The general service file format is described in
    http://java.sun.com/javase/6/docs/api/java/util/ServiceLoader.html
    That said, I'd recommend setting an explicit processor path separate from your general classpath.

  • Debug JDK 1.2 and Technet Tracks Availability

    I already have the JDeveloper2.0 Beta CD, and am interested in
    obtaining the production version of JDeveloper 2.0 via the
    technology tracks available from Oracle Technet.
    Does anyone know up until when the tracks are avaiable for
    purchase or download?
    Does the production version allow you to debug when you swtich
    to JDK 1.2? (Beta did not allow this)
    Thanks,
    John Salvo
    null

    The production version of JDeveloper 2.0 will allow you to debug
    JDK 1.2 applications.
    Your question about the availability of the technology tracks can
    best be posted to the OTN folks. Please use the "Contact OTN"
    link on the technet site.
    Thanks.
    Jesus M. Salvo Jr. (guest) wrote:
    : I already have the JDeveloper2.0 Beta CD, and am interested in
    : obtaining the production version of JDeveloper 2.0 via the
    : technology tracks available from Oracle Technet.
    : Does anyone know up until when the tracks are avaiable for
    : purchase or download?
    : Does the production version allow you to debug when you swtich
    : to JDK 1.2? (Beta did not allow this)
    : Thanks,
    : John Salvo
    null

  • Java 1.6 update breaks JDK 1.5 and 1.4 - any way out of this?

    Hi,
    For my job I need to build some projects with JDK 1.5 - however the recent 1.6.0_22 update from OSX broke compatibility - I can no longer see these in my Java Preferences utility.
    Any workaround?
    Thanks,
    Guy
    PS @apple: at least you should mention these kind of things before installation; would save people a great deal of trouble - thanks
    Message was edited by: Guy Pardon

    Start with http://developer.apple.com/library/mac/#releasenotes/Java/JavaSnowLeopardUpdate3 LeopardUpdate8RN/NewandNoteworthy/NewandNoteworthy.html%23//appleref/doc/uid/TP40010380-CH4-DontLinkElementID2 and http://reviews.cnet.com/8301-13727_7-10344625-263.html?tag=mfiredir

  • Cannot connect using URLConnection and JSSE

    Hi,
    I am using the following code:
    System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    I also pass -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol
    as argument to the java VM. However, the code below throws IOException with the message: "HTTPS hostname wrong: should be <mail.yahoo.com>"
    URLConnection con;
    URL url = new URL("https://mail.yahoo.com");
    con = url.openConnection();
    con.connect();
    What can I do?

    Write your own HostnameVerifier, it sounds like mail.yahoo.com isn't sending
    a properly formed certificate.
    P.S. If you're using JSSE in 1.4 or above, the SunJSSE is already installed, and
    the setProperty/addProvider shouldn't be done.

  • Different complining result between SUN JDK 1.4 and IBM JDK 1.3.1

    Hi! I simplifed my code as following:
    public class TestException2 {
        public Object test() {
            java.sql.Connection cn = null;       
            try {
                 // 1st. close
                cn.close();
            catch (java.sql.SQLException se) {
                 // 2nd. close
                cn.close();
            finally {
                return new Object();
    }But I get different compiling result betwueen SUN JDK 1.4.2 and IBM JDK 1.3.1 (I have to deploied my app to the websphere 5.0)
    In Sun JDK 1.4.2, I only got a warning:
    [e:\work\test]javac TestException2.java
    TestException2.java:14: warning: finally clause cannot complete normally
            ^
    1 warningIn IBM JDK 1.3.1, I got an error:
    TestException2.java:10: unreported exception java.sql.SQLException; must be caught or declared to be
    thrown
                cn.close();
                  ^
    1 errorWhat happend? Who is right?
    Thank you!
    [ I believe the code should not pass the compilation ... ]

    Many other people agree with you, including some Sun engineers.
    Perhaps Sun just feels an obligation to continue to allow it for legacy reasons.
    You might also investigate the compiler that comes with Eclipse.
    http://www.eclipse.org/
    It has a more flexible approach: for some cases, it lets you decide what is a warning and what is an error.

  • Copy/Paste worked in JDK 1.4 and does not work more for Java 1.4.1_01

    Hi all,
    in JDK 1.4.0 we can use the copy/paste between the java applets and other windows applications but in JDK 1.4.1_01 it does not work more!!!
    there is a simple JApplet code:
    import java.awt.*;
    import javax.swing.*;
    public class JApplet1 extends JApplet
         public void init()
              getRootPane().putClientProperty("defeatSystemEventQueueCheck", Boolean.TRUE);
              getContentPane().setLayout(null);
              setSize(426,266);
              getContentPane().add(JTextField1);
              JTextField1.setBounds(72,72,283,64);
         javax.swing.JTextField JTextField1 = new javax.swing.JTextField();
    and the start html page the the Japplet
    <HTML>
    <HEAD>
    <TITLE>Autogenerated HTML</TITLE>
    </HEAD>
    <BODY>
    <OBJECT classid="clsid:CAFEEFAC-0014-0001-0000-ABCDEFFEDCBA"
    width="500" height="200" >
    <PARAM name="code" value="JApplet1.class">
    <PARAM name="codebase" value=".">
    <PARAM name="type" value="application/x-java-applet;jpi-version=1.4.1">
    <PARAM name="scriptable" value="true">
    No Java 2 SDK, Standard Edition v 1.4.1 support for APPLET!!
    </OBJECT>
    </BODY>
    </HTML>
    Any ideas?
    Best regards

    Hi,
    I have found out the cause for the issue: before you install 1.4.1_01.exe you must deinstall all JRE's on your computer (1.3.XX, 1.4.0.XX) than works that well the Copy/Paste.
    that is confusingly because we don't have to make that in JRE 1.4.0.
    Best regards

Maybe you are looking for

  • I need to install OS X 10.7 Lion on my iMac

    i need to install a brand new version of OS X 10.7 lion for the new iMac i need a link to the download page becouse i hade a local it repair technician to fix the problem i was having i could not update the OS X Lion software so i call the it technic

  • Efficient method to insert large number of data into table

    Hi, I have a procedure that accepts an input parameter, that contains, a comma seperated values as input. Something like G12-UHG,THA-90HJ,NS-98039,........There can be more than 90,000 values in that comma seperated input paramter. What is the most e

  • Range Parameter in report heading

    Post Author: Kara CA Forum: Formula Hi, I am using version 9. I have designed a report with a date range parameter that I would like to display in the report header. To get both the 'from' and 'to' dates to appear I am trying to write a formula, but

  • Cant Insert non-ascii characters?

    I need to insert and retrieve non-ascii characters from Oracle8i using PHP. How is this done? Do I need to change the NLS settings? How is this done? I also using PHP. Thanks Pete

  • Firefox sync does not show up under "sync" on the computer I originally set it up on. How do I get it back?

    When I try and add new devices, I go to the options on Win7 and hit the sync tab and there are no scripts showing I have an account nor a script to add device. If I try to create a new account to have it show up on this computer, it won't allow me, s