Jdk Version Problem

I want to know whether an applet developed by jdk1.2.2 could be used in jdk1.3 or 1.4, if not dirrectly, what should to be done!

Basically yes, only be carful to include all classes you are using in 1.2, and be sure that the syntax is the same (between 1.1 and 1.4 i am aware of differences - I do not know between 1.2 and 1.4)
1.3 and 1.4 is nearly the same, please be careful using AWT and security - there is a bug in 1.3

Similar Messages

  • Jdk version problem  on ibmjs

    I can run tts under jdk1.2.1 but cannot in jdk1.3, why?

    Oo, here is my problem.
    When i install jdk1.2.1, and the ibmjs & runtime, it works. I can run the HelloWorld program.
    But when i unintall the jdk1.2.1, then install with jdk1.3, errors as follows come out.
    Error 1:
    java.lang.NullPointerException
    at HelloWorld.main(HelloWorld.java:17)
    i'm using windows98.
    That is error 1.
    Another error is when i register and set path in the DOS
    Errror below comes out:
    HelloWorld.java:5: package javax.speech does not exist
    import javax.speech.*;
    ^
    HelloWorld.java:6: package javax.speech.synthesis does not exist
    import javax.speech.synthesis.*;
    ^
    HelloWorld.java:13: cannot resolve symbol
    symbol : class Synthesizer
    location: class HelloWorld
    Synthesizer synth = Central.createSynthesizer(
    ^
    HelloWorld.java:14: cannot resolve symbol
    symbol : class SynthesizerModeDesc
    location: class HelloWorld
    new SynthesizerModeDesc(Locale.ENGLISH));
    ^
    HelloWorld.java:13: cannot resolve symbol
    symbol : variable Central
    location: class HelloWorld
    Synthesizer synth = Central.createSynthesizer(
    ^
    HelloWorld.java:25: cannot resolve symbol
    symbol : variable Synthesizer
    location: class HelloWorld
    synth.waitEngineState(Synthesizer.QUEUE_EMPTY);
    ^
    6 errors
    If i have install newer version of jdk, but i want to reinstall with old version, what should i do.
    This is the error found:
    Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
    has value '1.2', but '1.3' is required.
    Error: could not find java.dll
    Error: could not find Java 2 Runtime Environment.
    Thanks a lot.

  • JDK Version req for OIM 9.1.0.1 Installation

    Hi,
    As per Oracle's documentation, we need to use JDK 1_4_2_15 for Oracle Identity Manager 9.1.0.1. Installation. In my machine when I checked Java Version it shows jdk 1.5_0_06. Is there any problem if I go with the default jdk version or I have to change it to 1.4.2_15. Please advise.
    Regards,
    CC

    This is given in docs:
    C:\>java -version
    java version "1.5.0_06"
    http://download.oracle.com/docs/cd/E14049_01/doc.9101/e14062/install_config_oc4j.htm#BGBJAAID

  • How to determine the JDK version required to use a jar?

    Hi all.
    I am using a hosted server that uses JDK 1.4.2 and I cannot upgrade the VM. I have been finding it extremely difficult to install web applications on this server since I find that after installing the app, the web server complains the bytecode used in the jar is newer than the VM can understand (or it complains that the app uses JEE servlet or JSP methods it cannot find).
    To compound the problem, only about 25% of the sites I've visited that provide jars for download mention the minumum JDK version required to use them. (Some do not mention any system requirements at all besides 'requires Java and a Java application server').
    Do any of you know of any tools that can analyze a jar and determine the bytecode version it uses?
    (Another helpful tool would be one that can determine the minimum JEE APIs required to run a web app..., but that's probably wishful thinking :)).
    Thanks for your help.
    Michael N. Christoff

    The major/minor version of the class file is the way to go.
    Also, it's not necessary to write a separate program to get to those. javap prints them out when being passed the -v flag.
    Note, however that "JDK version" is not a correct term, as I can create 1.4-compatible class files with a Java 6 JDK (by passing the -target flag to javac). Those won't look any different than .class files written with a 1.4 JDK.

  • How to change weblogic 10.3 's JDK version

    I installed weblogic 10.3 and its default JDK version is 1.6.0_05, but I want to update the JDK to 1.6.0_18, how should I do it?
    I tried to create a new domain and in "JDK Selection", I select option "Other JDK",path is "C:\Program Files (x86)\Java\jre6", but when start admin server, error "you wrongly used \Java\jre6 "(Which is translated from Japanese).
    How should I do?

    Hi,
    Please refer to the Post: http://weblogic-wonders.com/weblogic/2010/09/03/why-and-how-oracle-jrockit/
    If you want to use a Different Version of Sun JDK then please change the JAVA_VENDOR=Sun as well....in the folowing Image:
    http://weblogic-wonders.com/weblogic/wp-content/uploads/2010/09/setting_JAVA_JOME_In_script.jpg
    Example : (setDomainEnv.cmd) for WINDOWS OS
    set JAVA_HOME=C:\myJDKs\jdk1.6.0_18
    set JAVA_VENDOR=Sun
    =-- = = = = = =-- = = = = = =-- = = = = = =-- = = = = =
    <b><font color=red>Just in case if you still face the same problem then do the following:</font></b>
    In your Windows OS box...
    RightClick on MyComputer ---> Advanced(Tab)---> Envirunment Variables (Button)---->User Variables (Section) add a new variable:
    Variable Name : PATH
    Variable Value : C:\myJDKs\jdk1.6.0_18;%PATH%;
    OK
    Just to verify this now open a fresh command prompt and then Just run the following command:
    java -version
    Thanks
    Jay SenSharma
    http://weblogic-wonders.com/weblogic(WebLogi Wonders Are Here)

  • How to change the jdk version of the sun one appserver 8.1

    hi
    i have installed appserver8.1 with a jdk 1.5 .
    i am facing some problem with the parsers (my application needs to use a crimson parsers which is not supported by jdk1.5 i guess)
    so i am trying to change the jdk version by changing the asenv.conf file
    but the appservers wont start up if i do so.
    help !! please

    This is strange. Setting AS_JAVA to the install location of your jdk instance should work. I have done it many times.
    What kind of errors are you getting in the server log file?

  • Netweaver SR3 on Linux Enterprise 10 - Which JDK Version

    Hello experts,
    we are facing problems installing Netweaver SR3 (Java) on Linux Enterprise. The problem is that the step Import Java Dump hangs and the installation does not continue. According to other forum threads one problem might be a wrong JDK version. We run Linux on 64 Bit AMD.
    Could anyone provide a link for the appropriate JDK version for Linux 64 Bit AMD or further informations (SAP Notes, except 716604)?
    Many thanks in advance.
    Marco

    Hi
    Check note [1172419 - Linux: Supported Java versions on the x86_64 platform|https://service.sap.com/sap/bc/bsp/spn/sapnotes/index2.htm?numm=1172419]
    Symptom
    You need to install a supported and certified Java VM on Linux x86_64 in order run SAP products based on SAP WebAS Java.
    Solution
    The currently required version of the IBM JDK 1.4.2 is SR12.
    Best regards, Michael

  • Certain properties arent beiing set (JDK-Version difference 1.2.1 & 1.3.1)

    Hello alltogether
    I'm extending a software which was once written on the JDK 1.2.1. For my extenstions i choosed to used the JDK 1.3.1. Now that i m done with my part, i remarked that the existing part of the webapplication doesnt run correctly on a server with JDK 1.3.1, and my extensions doesnt run on a server with JDK 1.2.1.
    So what i m gonna do is, i have to make the existing system runnable on JDK 1.3.1, so that the whole system can be run on the server with JDK 1.3.1.
    The problem i have with the existing version, is that the properties arent beeing set.
    An example:
    The request string is:172.16.1.38:8080/SupportSystem/issuelist.jsp?ident=3&command=closed
    issuelist.jsp has uses the bean IssueBean and sets all its properties:
    <jsp:useBean id="issueBean" scope="request" class="ch.msw.support.beans.IssueBean" />
    <jsp:setProperty name="issueBean" property="*" />
    IssueBean's property-setter method for the look like the follows:
    public void setIdent(String newValue) {
      if(newValue != null) {
        try {
          id=Integer.parseInt(newValue);
        } catch (Exception e) {}
    }the command-property and the properties which are part of my enhancements are always beiing set. But the strange thing is that i cant find a difference between the functioning ones and the ones who fail
    My supposition is that the 2 JDK - versions (1.2.1 / 1.3.1) implement different JSP-specifications which are featuring a difference with the property-setter-calling.
    I cant figure how i could solve the problem...
    maybe you can :-)
    Thanks in advance!!!

    What you have should work so I don't have a quick fix, only suggestions on how to track down the problem.
    Presumably you must have recompiled IssueBean to add the new properties, so the java version is irrelevant. Ident is just as much a 1.3.1 property as is command.
    Is the getIdent() method defined correctly? It must be "public String getIdent()" If, say, you are returning an int then the getter/setter pair may not be recognized by jsp:setProperty.
    Try temporarily adding a System.out.println statement to setIdent so you know when it is called. Retest. If it is not called, add an explicit call to your JSP.
    Add code to your JSP to print out all parameters. This will show whether ident is being passed through.
    Good luck.

  • JRC  R2 and JDK Versions

    <p>Hi,</p><p>I use Crystal Report XI R2 JRC on a Web App. </p><p>My application works fine (included all actions with the crystal viewer) with this configuration : </p><p>    -Application Server : WAS Express 5.0 </p><p>    - OS : Windows </p><p>    - platform : Intel </p><p>    - JDK : 1.4</p><p>My application does&#39;nt work fine (some actions with the crystal viewer - button next page, export PDF, etc... return an error 500) with this new configuration :</p><p>    -Application Serveur : WAS 6.1</p><p>    - OS: Linux Red Hat AS4 Updated 4 </p><p>    - Platform : Iseries</p><p>    - JDK : 1.5</p><p> </p><p>This is the error description :</p><p> Error 500: LinkageError while defining class:  com.crystaldecisions.Utilities.LengthLimitedDataInputStream Could not be defined  due to: com.crystaldecisions.Utilities.c This is often caused by having a class  defined at multiple locations within the classloader hierarchy. Other potential  causes include compiling against an older or newer version of the class that has  an incompatible method signature</p><p>If somebody can help me or knows this problem (jdk version ?) with JRC R2, </p><p>Thanks, </p><p>Jerome. </p>

    On our support site we have a document of supported platforms for various Operating systems, including Linux. In the Application server table, it lists the following configurations:
    Application Servers                 JDK
    [] OAS 10G Rel.2 (10.1.2)      1.4.2_x </p><p align="left">Tomcat 5.0.27                        1.4.2_08+ </p><p align="left">[] WebLogic 8.1 SP4            1.4.2_x </p><p align="left">WebSphere 5.1.0.4                 1.4.1_x </p><p align="left">[**] WebSphere 5.1.1.0        1.4.2_x
    WebSphere 6.0.0.2Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â 1.4.2_x
    I would also suggest reviewing the platforms document
    [http://support.businessobjects.com/communityCS/TechnicalPapers/boe_xi_r2_supported_platforms_linux.pdf | http://support.businessobjects.com/communityCS/TechnicalPapers/boe_xi_r2_supported_platforms_linux.pdf]
    In your case it would seem that the issue is related to the platform you are trying to deploy on. Â
    Usually the solution is to deploy on something that is on the supported list; it is one less thing that gets in the way of a successful solution. One thing you might try, is recompiling the JARS using the newer JDK, this is not a guarunteed solution but has been known to work in the past.Â
    I do recommend, as a member of Developer Support, that you have a supported configuration, that way if you find any bugs with the product, we have an escalation path to fixing them.Â
    Merry Enns
    Technical Resource, Developer Support
    Business Objects

  • Service pack versioning problem

    Can anyone help me solve service pack versioning problem please. This
    problem may solve some of my other problems.
    I am trying to check if my service pack has been installed properly or not.
    I issue following command from command prompt:
    C:\>java weblogic.Admin t3://localhost:7001 VERSION
    I get the following error: "Failed to connect to t3://localhost:7001 due to:
    [java.net.ConnectException: No server found at T3://localhost:7001]"
    At this time, I have weblogic 5.1 installed with service pack 2 installed.
    If I run server seems to be running, and connecting to my
    database.Eventually I am planning to upgrade to SP6 and run with jdk1.3.
    2nd problem: When I make JAVA_HOME= JDK1.3, wls does not run.

    Thanks Mike, you are right. The server was not running while I was testing
    service pack test.
    And service pack is installed. Thanks
    WLAS5.1 does not run once I change JAVA_HOME TO "C:\jdk1.3.0_02", that
    where I have jdk1.3
    I get following error message:"wlserver.exe has generated error and will be
    closed by windows. You will need to restart the program."
    John
    "Mike Reiche" <[email protected]> wrote in message
    news:3ac8fe17$[email protected]..
    >
    1) You WLAS does not seem to be listening on port 7001 of your
    localhost. Is it listening on a different port? Running on a
    different machine?
    2) What error message do you get when trying to run WLAS with
    JDK 1.3? WLAS does definitely run with JDK 1.3
    Mike Reiche
    "John" <[email protected]> wrote:
    Can anyone help me solve service pack versioning problem please. This
    problem may solve some of my other problems.
    I am trying to check if my service pack has been installed properly or
    not.
    I issue following command from command prompt:
    C:\>java weblogic.Admin t3://localhost:7001 VERSION
    I get the following error: "Failed to connect to t3://localhost:7001
    due to:
    [java.net.ConnectException: No server found at T3://localhost:7001]"
    At this time, I have weblogic 5.1 installed with service pack 2
    installed.
    If I run server seems to be running, and connecting to my
    database.Eventually I am planning to upgrade to SP6 and run with jdk1.3.
    2nd problem: When I make JAVA_HOME= JDK1.3, wls does not run.

  • How to change JDK version??

    I have a problem, I am running Jdeveloper with out problems, but always, when JDeveloper is started I have this msg:
    JDK version not supported. ...
    JDeveloper executes with Java 1.6.0_51, and at least I need 1.7.0_06.
    I have downloaded the latest JDK and installed it, but nothing happen!!!
    How could I solve this??? I have a Mac OSX when I run
    $ java -version
    java version "1.7.0_25"
    Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
    Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
    I seems to be OK, but how can I indicate Jdeveloper to run this JDK? Not 1.6, I have edited also jdev.conf
    And i found : SetJavaHome @JAVA_HOME@
    How to change Java_Home????

    Hi,
    Always mention your JDev version.
    Have you tried setting SetJavaHome <your_java_home_where_jdk17_installed> in the jdev.conf file and see if it gets opened properly?
    -Arun

  • JDK versions

    I have just finished an application that was written in the JBuilder environment (installed with JDK v1.4.2)
    While it runs fine in JBuilder, when I run in from command line, I receive the exception "java.lang.NoSuchMethodError". I discovered the problem stems from my use of the "split" method of the "String" object. This method was not available until version 1.4 of JDK.
    This led me to believe that I may also have another version of JDK on my system. I did discover a set of jars in my "C:\Windows\java" folder that contained a "String" class with no "split" method.
    How can I ensure that calling the JVM from command line will use the appropriate JDK? I am calling the "java.exe" file from JBuilder JDK, and my environment variables point to the JDK bin folder. Is there something else I need to be doing?
    Jay

    Thanks for the suggestion.
    Sure enough, when checking the version it returns "1.3.1_01"; however, this is really confusing. When searching for "java.exe", I only return two entries: "C:\Programs\JBuilder\jdk1.4\bin\java.exe" and "C:\Programs\JBuilder\jdk1.4\jre\bin\java.exe". These are both in a folder labeled as JDK version 1.4, and are the files that JBuilder is using (which works correctly).
    Is it possible for a "java.exe" to use alternate jar files for its built-in Java functionality? Any other ideas?

  • Java JDK versions and compilation levels

    Hi,
    I have a question about differents java versions and the compilance level. As far as I know, if I am developing an application, for example a swing application or a JSF web project, that will be deployed to run in a JVM 1.6, I must compile my code with similar JDK, in this case, I must compile my code with a 1.6 JDK.
    But, for example, can I use JDK 1.7 with compilance level 1.6 to run code under 1.6 virtual machine?
    Suppose a JSF web project compiled with JDK 1.7 and source level 1.6 can be deployed on a tomcat that run in a 1.6 VM?
    If that is correct, I think that I should always get the last JDK version installed in my computer and choose the different compilance level (example 1.4, 1.5, 1.6 or 1.7) to compile my code based on the target JVM, is that correct?
    Thanks for your help, regards.

    kerule wrote:
    If my project will be executed on a JVM 1.4, I must have installed in my computer a JDK 1.4 and the project must be compiled with 1.4 JDK
    If my project will be executed on a JVM 1.6, I must have installed in my computer a JDK 1.6 and the project must be compiled with 1.6 JDK
    If my project will be executed on a JVM 1.7, I must have installed in my computer a JDK 1.7 and the project must be compiled with 1.7 JDK
    Correct?Yes, and NO: the problem with what you said is "must be". If you compile with 1.7, but use objects that are backwardly compatible with 1.4, then it will work in 1.4 onward, but if you use features of 1.7 that are not compatible or possibly not available in 1.4, then you will not run in 1.4.
    Your statements:
    If my project will be executed on a JVM 1.4, I must have installed in my computer a JDK 1.4 and the project must be compiled with 1.4 JDK
    If my project will be executed on a JVM 1.6, I must have installed in my computer a JDK 1.6 and the project must be compiled with 1.6 JDK
    If my project will be executed on a JVM 1.7, I must have installed in my computer a JDK 1.7 and the project must be compiled with 1.7 JDKare safe, except where/if inconsistancies exist between versions.

  • Setting different JDK versions for Different webapp in Tomcat

    Hi All,
    I have 2 web-applications in Tomcat 5. Now for Java I have j2sdk1.4.2 & j2sdk1.3..
    Now One of my application needs j2sdk1.4.2 while other can run only with
    j2sdk1.3.. (This is an old project & there are java class package norms - like every class should be in a package to import it now. But earlier it was not strict).
    Means this is absoulte for me to run one application with version 1.3 while other with 1.4.
    But I can set Java_Home env. varibale only once. How can I tell my each web-application to take thier own jdk version in compiling & running.
    Is this allowed in J2EE/Web-Containers.
    Please suggest if there is any such setting which makes it possible.
    THanks you all in advance...
    Manoj :confused:

    wouldn't matter if you could.
    The package enforcement is NOT something from J2SDK 1.4 but from the version of Tomcat used.
    Each Tomcat instance will use the same JVM for all webapps running inside it. You'll need a separate Tomcat instance of an older version for the older webapp (or better yet change it around to the new rules).

  • A solution for Secure Static Versioning problem in 1.5.0_10

    Hi,
    I have JRE 1.3.1_09 and 1.5.0_10 on my computer and I think I have solved static versioning problem.
    My test computer:
    - Windows XP sp2
    - Internet Explorer 7 (on another computer also IE 6)
    - Firefox 2.0.0.1
    - JRE 1.3.1_09
    - JRE 1.5.0_10
    I. Solution for Internet Explorer 6 and Internet Explorer 7
    1. Edit registry and add:
    HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Deployment\Policy
    DWORD: EnableSecureStaticVersioning = 0 (Hex)
    2. Restart browser if started.
    3. Start web page with java applet.
    II. Solution for Firefox 2.0.0.1:
    1. Install 1.3 JRE in the same parent directory as 1.5 JRE.
    Because default default installation path for 1.5 JRE is C:\Program Files\Java\jre1.5.0_10 you need to modify
    1.3 installation path from default C:\Program Files\JavaSoft\JRE\1.3.1_09 to C:\Program Files\Java\jre1.3.1_09
    After installation check out that "bin" directory is in the following path:
    C:\Program Files\Java\jre1.3.1_09\bin
    2. Install 1.5 JRE in default installation directory: C:\Program Files\Java\jre1.5.0_10.
    After installation check out that "bin" directory is in the following path:
    C:\Program Files\Java\jre1.3.1_09\bin
    3. Restart browser if started.
    4. Start web page with java applet.
    Note: HTML page must use <object> tabs for Internet Explorer or <embed> tabs for any other browser (e.g. Firefox). You need to specify correct classid in object and/or embed tag.
    P.S. If anyone would like to discuss with me send me an e-mail to [email protected], but please post question to forum and just mail me a link to forum. I will write my answer to forum.
    Hope this helps,
    Grofaty

    I have been trying to find a solution for this issue at our organization for over 6 months. Finally, we have a work around to run multiple java versions for newer and aging java apps.
    Thanks,
    Adunlow

Maybe you are looking for

  • Products are not visible in webshop

    Hi all, i have created a product catalog,variants,views and assigned the products activated at all levels.To the view of the product catalog i have assigned Target group. and also i have initial replicated the same to Index server.Then i went to webs

  • Including External Image in JSP

    Hi all, I need to be able to load a external image (image in a specific loaction on the server but not in the webapp location). Unfortunealty I cannot use servlets and have to code it in the JSP directly. So far I have this code : <%@ page import="ja

  • How to achieve grouping of data based on one column

    Hello PL/SQL Gurus/experts, I am using Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production version I have following table - DROP TABLE T2; create table T2(Manager,Employee) as select 'Nikki','Ram' from dual union all select '

  • Nokia E72 Troubleshoot

    Hello guys, I have a nokia E72 that was working well for almost 2 years 2 days ago after recharging my phone when the battery was empty, I turned my phone on and it took almost 5-8 hours so that my phone starts properly. I tried to reinstall the soft

  • API to purge customers 11.5.0 Oracle 10g

    Hi, Do you know if there is an API's that purge customers and all related objects from the database. Have you an idea? Thanks.