JAVA_HOME and JDK

Hi,
I installed the Java SDK a while ago, how do I check that I have the JDK with it? The reason why I ask is because I want to set the JAVA_HOME variable and not sure where I must map it to? When I installed the SDK it installed everything under C:\Sun\SDK\. I am running Windows XP.
What are environmental variables used for? I am a C# developer and I am new to this Java setup.
Regards
Brendan

The compiler with the JDK is called javac and the JVM is invoked with java. You'll find both under the bin directory of your SDK installation.
The JAVA_HOME variable points to your JDK directoryso it'll be the path that you've given. The PATH variable should point to the bin directory under JAVA_HOME so that you can run javac and java and the CLASSPATH variable should be '.' unless you need to add anything else ( like Tomcat's servlet-api.jar).
This link[1] should help you out loads.
[1] http://ist.berkeley.edu/as/ag/technology/howto/install-java-sdk-win.html
Edited by: nogoodatcoding on Oct 20, 2007 10:39 PM

Similar Messages

  • JAVA_HOME, JRE and JDK

    Does anyone know what JAVA_HOME should be pointing to if only the JRE in installed? What it should be pointing to if the JDK is installed?
    On Windows, I notice that c:\program files\JavaSoft gets created after install. For which install does that happen? For the JRE and JDK install? Should JAVA_HOME be pointing to that directory?
    I couldn't find any java.sun documentation about the role of the JAVA_HOME env var. If anyone can piont me to some, that would be appreciated. :-)
    Version: 1.3.1
    Thanks in advance.

    Dear dinogg
    Does anyone know what JAVA_HOME should be pointing to
    if only the JRE in installed? What it should be
    pointing to if the JDK is installed?
    set JAVA_HOME=C:\jdk1.3.1\bin
    On Windows, I notice that c:\program files\JavaSoft
    gets created after install. For which install does
    that happen? For the JRE and JDK install? Should
    JAVA_HOME be pointing to that directory?
    actually it is for jre but when u install jdk it also install jre if you notice there is a part setting up java runtime environment
    I couldn't find any java.sun documentation about the
    role of the JAVA_HOME env var. If anyone can piont me
    to some, that would be appreciated. :-)
    not sure where you can find it
    Version: 1.3.1
    Thanks in advance.
    version 1.4.0 is out and it is nice
    new stuff like scroll mouse, undecorated dialogs, xml transformer better focus management and etc
    Thanks
    Joey

  • SC2 and JDK 1.5

    Okay, I have looked through the posts, and I can't seem to find an answer to my problem.
    I am really excited about SC2, but I am having difficulties getting it to work using JDK 1.5. I have followed the instructions to change the Source Level of the project to 1.5, but it always reverts back to 1.4 as soon as I check project settings again.
    I am using SC on a Windows XP machine. Would this problem have anything to do with a registry setting of some kind? I have both 1.4 and 1.5 installed - do I need to remove 1.4 for some reason? Just grasping at straws here.
    I have seen other people raise this issue, but no real solution was ever presented.
    If I can't get this to work with 1.5, then I'm afraid I will have to continue using other tools.
    Am I missing something? Any help would be greatly appreciated. Thanks.

    Have you checked your environment variables in the control panel >> system>>advanced dialog. You should make sure that your path includes the path to 1.5.x and not to 1.4.x. Also you should create a new entry in the user vaiables (Bottom Box) for JAVA_HOME and point this in the value setting to the path to 1.5.x that you added to path variable above. You can text this using the --version in the command prompt window.
    I hope that his helps and perhaps you have already done this - if so - my apologies.

  • How to point JAVA_HOME to jdk?

    Trying to use Ant, and apparently one requirement is to have your java.home pointing to my jdk..
    currently its pointing to my JRE so i've tried to set it programmatically like:
    System.setProperty("java.home", "C:/Program Files (x86)/Java/jdk1.6.0/");it didnt work.

    hm..
    the problem is i've also tried that..
    i created a new env variable called "JAVA_HOME" and gave that my path to the jdk.
    Then i added that as %JAVA_HOME% to the end of the path variable. Also did it to the PATH and CLASSPATH variables too.. but with no luck too

  • JNDI and JDK 1.2

    Hello everyone,
    I am trying to add entries into an LDAP using JDK 1.2 and JNDI. I have succesfully removed and listed entries(I added the entries by using JDK 1.3), but still cannot add anything to the LDAP.
    I have been using an LDAP browser to verify that the entries that I added with JDK 1.3 where indeed added. In conjuction with JDK 1.2, I have been pointing my classpath to the jndi.jar file. I have also added the providerutil.jar, and ldap.jar file to my classpath.
    Perhaps I am missing another jar file. I have download and put in my classpath, from sun's JNDI website
    (http://www.columbia.edu/~he99/jndi-ext.html) these packages ( meaning all of the jar files contained in
    these packages). I put all of them in one folder and pointed to the folder from my classpath:
    JNDI 1.2.1
    LDAP 1.2.4
    DNS 1.2
    NIS 1.2.1
    FS Context
    COS Naming 1.2.1
    I also tried using the -classpath option while compiling and running my code to explicitly and individually
    point to each jar file. I am aware that there are two different versions of the provierutil.jar file among the
    above mentioned packages. The one that is 79 KB is the only one that works, however. I have also tried
    pointing to only the individual packages from my classpath. Also, I have tried mixing and matching different
    jar files from different packages.
    I get the error message printed below this paragraph when trying to add an entry with JDK 1.2(using JNDI), but no error messages when trying to list or remove an entry. With JDK 1.3, I get none of these error messages (Im using the same exact code for both JDK 1.2 and JDK 1.3, with the exception that I add the JNDI and other necessary jar files when using JDK 1.2).
    javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - attribute not allowed]; remaining
    name 'cn=haro,ou=MDS3'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Compiled Code)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(Compiled Code)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(Compiled Code)
    at com.sun.jndi.ldap.LdapCtx.c_bind(Compiled Code)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_bind(Compiled Code)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.bind(Compiled Code)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.bind(Compiled Code)
    at javax.naming.directory.InitialDirContext.bind(Compiled Code)
    at AddService.main(Compiled Code)
    This may have to do something with what is said here:
    http://www.columbia.edu/~he99/jndi-ext.html
    Particularly the following:
    "When a Reference is read from the naming or directory service and a codebase specifying where to load
    the factory class for the reference has been specified, JNDI will attempt to load the class from the
    locations specified in code base. In order for the class loading to succeed, you must grant the application
    the permissions appropriate for the URLs named in the codebase. For example, if the URL scheme is "http"
    or "ftp", you must grant the application the appropriate java.net.SocketPermission; if the URL scheme is
    "file", you must grant the application the appropriate java.io.FilePermission.
    If you are using JNDI as an installed extension, that is, jndi.jar has been installed in the
    $JAVA_HOME/jre/lib/ext directory, you need to take no further action."
    I have created a directory in unix and made a jre folder with lib and ext as a subfolders and then
    made the variable "$JAVA_HOME" point to that directory, in which I put all of the jar files from those
    packages (with the 79 KB providerutil jar). Still, I get the same error message.
    Does anyone know how to resolve this problem? (My development team has coded everything with JDK 1.2 so far and cannot migrate to JDK 1.3 so late in our implementation).

    ref13E,
    I think it's not because of the jdk. I use jdk1.4 and get the same exception.
    Wht is the LDAP server that you use? We use AD.
    Regards,
    George

  • JAVA_HOME and CLASSPATH

    Hi to everybody,
    I just installed tomcat 4.1 and JDK 1.4.2.
    I can see the welcome page of tomcat and some example run perfectly.
    I cannot see the Hello.jsp page the usual simple page (see the error msg below).
    "bin" directory of JDK is in C:\Program Files\j2sdk_nb\j2sdk1.4.2\bin
    "lib" directory of tomcat is in C:Programmi\Apache Group\Tomcat 4.1\common\lib
    "Hello.jsp" is in C:\Programmi\Apache Group\Tomcat 4.1\webapps\ROOT\w-web (I create w-web directory)
    I set the following environment variable:
    JAVA_HOME=C:\Program Files\j2sdk_nb\j2sdk1.4.2 ---> Is it correct?
    path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\WbemC:\Program Files\j2sdk_nb\j2sdk1.4.2;C:\Program Files\j2sdk_nb\j2sdk1.4.2\bin ---> is it correct?
    CLASSPATH=.;C:\Programmi\Apache Group\Tomcat 4.1\common\lib\servlet.jar;C:\Programmi\Apache Group\Tomcat 4.1\webapps\ROOT\w-web
    Is correct to set them in that way?
    thanks in advance and bye Davide
    =========================ERROR MESSAGE===================================
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    ============================================================================

    in the console shell the error message reported is:
    unable to find javac compiler;
    com.sun.tools.javac.Main is not in the classpath.
    Perhaps JAVA_HOME does not point the JDK
    at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:969)
    Hi to everybody,
    I just installed tomcat 4.1 and JDK 1.4.2.
    I can see the welcome page of tomcat and some example
    run perfectly.
    I cannot see the Hello.jsp page the usual simple page
    (see the error msg below).
    "bin" directory of JDK is in C:\Program
    Files\j2sdk_nb\j2sdk1.4.2\bin
    "lib" directory of tomcat is in C:Programmi\Apache
    Group\Tomcat 4.1\common\lib
    "Hello.jsp" is in C:\Programmi\Apache Group\Tomcat
    4.1\webapps\ROOT\w-web (I create w-web directory)
    I set the following environment variable:
    JAVA_HOME=C:\Program Files\j2sdk_nb\j2sdk1.4.2
    ---> Is it correct?
    path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy
    tem32\WbemC:\Program
    Files\j2sdk_nb\j2sdk1.4.2;C:\Program
    Files\j2sdk_nb\j2sdk1.4.2\bin ---> is it correct?
    CLASSPATH=.;C:\Programmi\Apache Group\Tomcat
    4.1\common\lib\servlet.jar;C:\Programmi\Apache
    Group\Tomcat 4.1\webapps\ROOT\w-web
    Is correct to set them in that way?
    thanks in advance and bye Davide
    =========================ERROR
    MESSAGE===================================
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error
    () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile
    class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    =======================================================
    ====================

  • Oracle 8.1.5 and JDK 1.2 Thin Driver

    We are doing some prototyping with Oracle 8.1.5, BEA WebLogic
    6.1, and JDK 1.3. We needed to know what is the latest version
    supported by the oracle thing client drivers for that
    configuration.
    Or are we the only users doing this and is it mandatory that we
    migrate to Oracle 8.1.7?
    Thanks,
    Nikhil Kumar
    Lead Architect
    Delta Dental Plan of Michigan
    [email protected]

    Check out the SQLJ FAQ at:
    http://technet.oracle.com/tech/java/sqlj_jdbc/htdocs/faq.html
    "ExceptionInInitializerError: NullPointerException"
    (This is likely a general configuration issue, not something specific to your code.)
    If you see the following stack trace:
    unexpected error occurred... java.lang.ExceptionInInitializerError: java.lang.NullPointerException
    at sqlj.framework.ClassFileReader.attribute_info(Compiled Code) ...
    at sqlj.tools.Sqlj.statusMain(Compiled Code)
    at sqlj.tools.Sqlj.main(Sqlj.java:117)
    then you are likely running SQLJ version 8.1.5 or earlier under JDK 1.2.x or later.
    You need to download the SQLJ 8.1.6 SDK patch, which contains a new translator.zip
    version that you can use to replace the translator.zip from 8.0.5/7.3.4 or from JDeveloper 3.0.
    null

  • 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...!!

  • CF7 and JDK 1.4.2 - EV SSL Certificate Issue

    Let me start off by telling the group that we do not use CF for any of our applications.  We are a payments company that hosts a .NET API in IIS that 100's of thousands of customer use.  We have one particular customer using CF7 and JDK 1.4.2 who is currently unable to process against our API.  About a week ago we upgraded our SSL certificates to EV (Extended Validation) and since that time our once happy customer is now unhappy.  I have spent hours working with him, going through FAQs and walk throughs, knowledge bases and forums and have had no luck.  Here are the details:
    EV Certificate issued by DigiCert (4096-bit).
    Customer is on CF7 and JDK 1.4.2.
    When he attempts to process against our API with the new certificate he gets 'Connection Failure: Status code unavailable' message from his CF application.  He is using cfhttp to post his requests.  We found a work around that indicated that the only issue with JDK 1.4.2 was importing the high-bit certificates.  Our customer installed JDK 1.6, imported the certificate (and all intermediate certificates) successfully into the cacerts file, but when attempting to list using JDK 1.4.2 is returns an invalid certificate error and still will not work.
    Please help as we are currently in a work around state for this customer (not long term) and we have exhausted the resources we have access to for solving this issue.
    Thanks in advance to those gurus that reply.  I have attached a sample post from our customers logs with non-essential data removed.
    I can be reached by phone at 801-341-5620 if anyone feels like reaching out to talk.
    - Dave

    Dave,
    I am having a similar issue with CF7 and PayPal's Reporting API which also uses EV SSL.
    I can offer that in my testing, both CF 8 and CF 9 do seem to be able to work when using CFHTTP and EV SSL,
    so the only solution I can offer at this time is to make the suggestion to your customer that they need to upgrade
    to either CF 8 or CF 9 to get the issue quickly resolved.
    I'm still working to see if I can find a solution for CF7 and I've been asking around in the CF community for help, so
    if I do find a solution, I'll definitely post it there for you.
    Cheers

  • JDeveloper 11g and JDK 1.4.2_16

    Hi! I just created a new simple app in JDev 11g and selected the JDK 1.4.2_16 for the model project. I created a set of business components from tables, built the project and them attempted to run the AppModule tester.
    I got the following error:
    /usr/java/j2sdk1.4.2_16/bin/java -server -classpath /opt/app/oracle/product/jdevstudio1111/BC4J/jlib/bc4jtester.jar:/opt/app/oracle/product/jdevstudio1111/BC4J/lib/bc4jsyscat.jar:/opt/app/oracle/product/jdevstudio1111/BC4J/lib/db-ca.jar:/opt/app/oracle/product/jdevstudio1111/jlib/jdev-cm.jar:/opt/app/oracle/product/jdevstudio1111/lib/xmlparserv2.jar:/opt/app/oracle/product/jdevstudio1111/jlib/ohj.jar:/opt/app/oracle/product/jdevstudio1111/jlib/help-share.jar:/opt/app/oracle/product/jdevstudio1111/jlib/share.jar:/opt/app/oracle/product/jdevstudio1111/jlib/jewt4.jar:/opt/app/oracle/product/jdevstudio1111/jlib/oracle_ice.jar:/opt/app/oracle/product/jdevstudio1111/jlib/ojmisc.jar:/opt/app/oracle/product/jdevstudio1111/ide/lib/idert.jar:/opt/app/oracle/product/jdevstudio1111/ide/lib/javatools.jar:/usr/java/j2sdk1.4.2_16/jre/lib/rt.jar:/usr/java/j2sdk1.4.2_16/jre/lib/i18n.jar:/usr/java/j2sdk1.4.2_16/jre/lib/sunrsasign.jar:/usr/java/j2sdk1.4.2_16/jre/lib/jsse.jar:/usr/java/j2sdk1.4.2_16/jre/lib/jce.jar:/usr/java/j2sdk1.4.2_16/jre/lib/charsets.jar:/usr/java/j2sdk1.4.2_16/jre/classes:/home/mcruz/development/11g/SessionTest11g/.adf:/home/mcruz/development/11g/SessionTest11g/Model/classes:/opt/app/oracle/product/jdevstudio1111/BC4J/lib/adf-share-support.jar:/opt/app/oracle/product/jdevstudio1111/BC4J/lib/adf-share-ca.jar:/opt/app/oracle/product/jdevstudio1111/BC4J/lib/adf-share-base.jar:/opt/app/oracle/product/jdevstudio1111/jlib/identitystore.jar:/opt/app/oracle/product/jdevstudio1111/BC4J/lib/bc4jmt.jar:/opt/app/oracle/product/jdevstudio1111/BC4J/lib/bc4jwizard.jar:/opt/app/oracle/product/jdevstudio1111/BC4J/lib/groovy-all-1.0.jar:/opt/app/oracle/product/jdevstudio1111/BC4J/lib/bc4jct.jar:/opt/app/oracle/product/jdevstudio1111/jlib/commons-el.jar:/opt/app/oracle/product/jdevstudio1111/jlib/jsp-el-api.jar:/opt/app/oracle/product/jdevstudio1111/jlib/oracle-el.jar:/opt/app/oracle/product/jdevstudio1111/jlib/resourcebundle.jar:/opt/app/oracle/product/jdevstudio1111/lib/java/api/jaxb-api.jar:/opt/app/oracle/product/jdevstudio1111/lib/java/api/jsr173_api.jar:/opt/app/oracle/product/jdevstudio1111/j2ee/home/lib/activation.jar:/opt/app/oracle/product/jdevstudio1111/lib/java/shared/sun.jaxb/2.0/jaxb-xjc.jar:/opt/app/oracle/product/jdevstudio1111/lib/java/shared/sun.jaxb/2.0/jaxb-impl.jar:/opt/app/oracle/product/jdevstudio1111/lib/java/shared/sun.jaxb/2.0/jaxb1-impl.jar:/opt/app/oracle/product/jdevstudio1111/BC4J/lib/adfshare.jar:/opt/app/oracle/product/jdevstudio1111/BC4J/lib/adfm.jar:/opt/app/oracle/product/jdevstudio1111/BC4J/jlib/adfui.jar:/opt/app/oracle/product/jdevstudio1111/BC4J/lib/adfbinding.jar:/opt/app/oracle/product/jdevstudio1111/adfdt/lib/adfdtatrt.jar:/opt/app/oracle/product/jdevstudio1111/adfdt/lib/adftransactionsdt.jar:/opt/app/oracle/product/jdevstudio1111/adfdt/lib/adfdt_common.jar:/opt/app/oracle/product/jdevstudio1111/mds/lib/mdsrt.jar:/opt/app/oracle/product/jdevstudio1111/j2ee/home/jazn.jar:/opt/app/oracle/product/jdevstudio1111/j2ee/home/jazncore.jar:/opt/app/oracle/product/jdevstudio1111/j2ee/home/jps-api.jar:/opt/app/oracle/product/jdevstudio1111/j2ee/home/jps-common.jar:/opt/app/oracle/product/jdevstudio1111/j2ee/home/jps-internal.jar:/opt/app/oracle/product/jdevstudio1111/j2ee/home/jps-fmw.jar:/opt/app/oracle/product/jdevstudio1111/j2ee/home/jps-unsupported-api.jar:/opt/app/oracle/product/jdevstudio1111/j2ee/home/lib/jacc-api.jar:/opt/app/oracle/product/jdevstudio1111/j2ee/home/lib/oc4j-unsupported-api.jar:/opt/app/oracle/product/jdevstudio1111/jdbc/lib/ojdbc5dms.jar:/opt/app/oracle/product/jdevstudio1111/jlib/orai18n.jar:/opt/app/oracle/product/jdevstudio1111/jlib/ojdl.jar:/opt/app/oracle/product/jdevstudio1111/jlib/dms.jar:/opt/app/oracle/product/jdevstudio1111/BC4J/lib/bc4jdomorcl.jar:/opt/app/oracle/product/jdevstudio1111/BC4J/jlib/bc4jdatum.jar:/opt/app/oracle/product/jdevstudio1111/j2ee/home/lib/servlet.jar:/opt/app/oracle/product/jdevstudio1111/jlib/commons-cli-1.0.jar:/opt/app/oracle/product/jdevstudio1111/j2ee/home/lib/commons-collections.jar:/opt/app/oracle/product/jdevstudio1111/jlib/xmlef.jar:/opt/app/oracle/product/jdevstudio1111/lib/xml.jar:/opt/app/oracle/product/jdevstudio1111/rdbms/jlib/xdb.jar:/opt/app/oracle/product/jdevstudio1111/javacache/lib/cache.jar:/opt/app/oracle/product/jdevstudio1111/diagnostics/lib/ojdl.jar:/opt/app/oracle/product/jdevstudio1111/j2ee/home/lib/pcl.jar:/opt/app/oracle/product/jdevstudio1111/ucp/lib/ucp.jar:/opt/app/oracle/product/jdevstudio1111/lib/java/shared/oracle.javatools/11.1.1.0.0/dafrt.jar:/opt/app/oracle/product/jdevstudio1111/lib/java/shared/oracle.javatools/11.1.1.0.0/javatools-nodeps.jar:/opt/app/oracle/product/jdevstudio1111/BC4J/jlib/bc4jui.jar:/opt/app/oracle/product/jdevstudio1111/dvt/lib/dvt-client.jar:/opt/app/oracle/product/jdevstudio1111/dvt/lib/dvt-utils.jar:/opt/app/oracle/product/jdevstudio1111/jlib/LW_PfjBean.jar: oracle.jbo.jbotester.MainFrame -X 116D6D52C8E -H jar:file:/opt/app/oracle/product/jdevstudio1111/jdev/doc/studio_doc/ohj/bc4j_f1.jar!/bc4j_f1.hs
    Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/jbo/jbotester/MainFrame (Unsupported major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    Process exited with exit code 1.
    Am I to assume that jdk1.4.x is no longer supported in JDeveloper and that I should start using JDK1.5.x? But apps built with JDK1.5.x are not supported in AppServer 10.1.2.0.2, which is J2EE 1.3 compliant... Does that mean that JDeveloper 11g is suitable only for apps deployed on OAS 10.1.3.x and above? (OAS 10.1.3.x is J2EE 1.4 compliant, and OAS 11g will be J2EE 5.x compliant).
    Comments please.
    Thx!

    be on OracleAs 10.1.3 at a minimum<<The problem (for us) with Oracle AS 10.1.3 is that Portal 10.1.4 will not run on it (not certified). We want to take advantage of ADF RC and we hope to be able to produce JSF portlets or "portletized" apps. But at the moment we are "stuck" with 10.1.2.0.2 and JDK 1.4.x/J2EE1.3...
    While you can have a 10.1.2 farm and add a 10.1.3 separate instance it is not a clean/complete integration (you can't manage all services from the 10.1.2 farm EM and others; this is what I've seen so far, IMO).
    We can't wait for OAS 11g to come out and take a look at that. And I certainly hope that Portal will be certifed on 11g so that we can just jump there.
    Another wish: WebCenter functionality in Portal, or Portal/WebCenter rolled out into one.

  • Difference between SUN JDK V1.4.2_05 and JDK V1.4.2_07

    difference between SUN JDK V1.4.2_05 and JDK V1.4.2_07 and I want to the link in SUN for that. I want to know the bug fixes between them.

    Perhaps you should look at the documentation which comes with JDK 1.4.2_08.
    It has the bugs fixed listed.

  • Java Studio Creator and JDK

    I'm trying to create a game application using java and i've downloaded both java studio creator and JDK. However i'm having problems of writing the program. Should i use notepad and compile it using JDK? Or can i simply use the java studio creator and type in my java codings? And i cant seem to type in any codings in the java studio creator.
    Can someone help me please? Thank you.
    Message was edited by:
    burpyjac

    Hello, Burpyjac!
    I don't understand what you want to do exactly. If you would like to write an applet for a website maybe Java Studio Creator is not what you want, it's an IDE for developing web applications running in an application server like Glassfisch, SJSAS, Tomcat and the like.
    If your game need animation, drawings in a panel and the like you would need another IDE like Netbeans for example to develop an applet. Of course you can just use Notepad, but a IDE like Netbeans is much more comfortable (syntax highlighting, project managment, debugging).
    Java Studio Creator is an IDE for web applications and it is based on Netbeans (if you saw both you will notice). If your game can live without graphics maybe you can use it - but be aware that this applications do not run alone, you need an application server.
    Cheers,
    Jan

  • What's the difference between Java SE 6 Update 10 RC and JDK 6 Update 7

    I want to download jdk and do some java development. But I saw "Java SE 6 Update 10 RC" and "JDK 6 Update 7" are both there for me to download. I don't know which one should I download. I used to think JDK is Java SE. Can someone explain it to me? Great thanks!

    [Java 6 Update 10|http://java.sun.com/developer/technicalArticles/javase/java6u10/] provides some nice enhancements for deploying Java to the Desktop, a nice new look and feel and some other nice additions.
    Also, JDK 6 Update 7 is the latest, officially released version at the moment. The Update 10 is only a release candidate (that means it is what might become the final Update 10, but can still change).
    For normal development (and especially when you're just starting to learn) there shouldn't be too much difference, so choose whichever you want.

  • Returning arrays using JDBC 2.0 and JDK 1.2.2

    I am able to return a varray from an PL/SQL stored procedure to a Java program using the Oracle JDBC 8.1.6 driver classes (oracle.jdbc.driver.* and oracle.sql.ARRAY). I want to avoid using the Oracle specific classes to do this and instead just use the standard JDBC 2.0 classes and JDK 1.2.2. Will I still be able to access the varray returned by the PL/SQL SP or am I forced to use the Oracle classes?
    Why I ask this is because the Java code needs to be usable from a Netscape Application Server 4.0/iPlanet Application Server 6.0 servlet or java class. NAS 4.0 uses the JDBC 2.0 classes but I cannot use the Oracle JDBC 8.1.6 classes since NAS 4.0 requires the Oracle 8.0.5 client. iAS 6.0 provides a JDBC 2.0 type 2 driver and uses the Oracle 8.1.5 client but does not support arrays, i.e. CallableStatement.getArray(), ResultSet.getArray(), etc. are not supported.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Craig Knelsen ([email protected]):
    I am able to return a varray from an PL/SQL stored procedure to a Java program using the Oracle JDBC 8.1.6 driver classes (oracle.jdbc.driver.* and oracle.sql.ARRAY). I want to avoid using the Oracle specific classes to do this and instead just use the standard JDBC 2.0 classes and JDK 1.2.2. Will I still be able to access the varray returned by the PL/SQL SP or am I forced to use the Oracle classes?
    Why I ask this is because the Java code needs to be usable from a Netscape Application Server 4.0/iPlanet Application Server 6.0 servlet or java class. NAS 4.0 uses the JDBC 2.0 classes but I cannot use the Oracle JDBC 8.1.6 classes since NAS 4.0 requires the Oracle 8.0.5 client. iAS 6.0 provides a JDBC 2.0 type 2 driver and uses the Oracle 8.1.5 client but does not support arrays, i.e. CallableStatement.getArray(), ResultSet.getArray(), etc. are not supported.<HR></BLOCKQUOTE>
    can u plzz help me as to how u returned the
    null

  • JDBC 8.1.6 (2.0) and JDK 1.2 java.sql.SQLException

    I wrote an applet program and access to Oracle database using JDBC 2.0 (Oracle 8i 8.1.6). When testing, I got errors java.sql.SQLException: No suitable driver.
    Who havd any idea to solve this problems.
    It works fine when I use JDBC 1.2 and JDK 1.2 .
    Chuleerat.

    "No suitable driver" usually means that the
    connect string is incorrect.
    The 8.1.6 driver supports JDK1.1 and JDK1.2.
    If you use JDK1.2, the JDBC 2.0 features
    are available to you.
    null

Maybe you are looking for

  • How do I  share music on external drive with 2 laptops

    We have 2 laptops in our household, my macbook and my partners iBook. Is there a way of keeping all of our music in one folder on the external drive and have it accessible to both computers, each with their own itunes library? Or does each computer n

  • Tricky SQL query... how to get all data in a single query?

    create table employee_definition (def_id number, def_name varchar(50)); insert into employee_definition values (100, 'EMAIL'); insert into employee_definition values (200, 'MOBILE_PHONE'); insert into employee_definition values (300, 'HOME_PHONE'); S

  • How to use result of message mapping as source to another message mapping

    Hi. I need to map iDoc to MT_A (MessageType) using MessageMapping. And then using the result of the above mapping, map MT_A to MT_B using JavaMapping. Can I do this all at once in my scenario or what is the best way to do this? Regards, Hjortur

  • HDV playback with quicktime won't work

    I have some video on a hard drive that was captured in final cut as HDV clips. Even though the clips are .mov files, the video won't play in quicktime. Quicktime tells me that I need to download video components to play the video in full, but it does

  • HT201077 It is not possible to select Photo Stream

    The selection box seems to be inactive. How can I make it active and select the box of Photo Stream?