Java SDK  on sun machine

How do i find out the Java SDK is installed or not in the sun machine ?
What is the command to find the version of the SDK ?
Thanks .

Hi, i have set my environment variables for java
JAVA_HOME : C:\Program Files\Java\jdk1.5.0_15
path: C:\Program Files\Java\jdk1.5.0_15\bin
It still points to 1.4. By the way, i never install 1.4 version into my machine personally. I think it comes with vista

Similar Messages

  • Installation Problem - Java SDK 1.4.1

    I have a problem with installing Java on my machine at home that you may be able to help me with.
    Here are the Details: 1) I installed the most recent java SDK on my machine. 2) I set the Autoexec file with the correct PATH statement. 3) Set the correct CLASSPATH statement 4) The "Java -Version" statement gives the correct reply that it is version 1.4.
    Below is my AutoExec.bat file
    SET windir=C:\WINDOWS
    SET winbootdir=C:\WINDOWS
    SET COMSPEC=C:\WINDOWS\COMMAND.COM
    SET PATH=C:\PROGRA~1\MICROS~3\OFFICE;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\ATF
    SET CLASSPATH=C:\J2SDK1_4\LIB\TOOLS.JAR;.;
    SET PROMPT=$p$g
    SET TEMP=C:\WINDOWS\TEMP
    SET TMP=C:\WINDOWS\TEMP
    Problem: Trying to compile a simple "HelloWorld" Program with "javac Helloworld.java" produces the error "Bad Command or File name".
    Issues: Command Line in Windows ME requires 8.3 format. Inserts tilde "~" and a number into the names of the files. even using a short name such as "HelWrld.java" inserts a tilde because of the "java" extension. Have tried using a "jav" extension but that does not work as the error is the same.
    Question: How can I get rid of the "Bad Command or File Name"?

    My First Java Progam (for Windows with Java 2 SDK v1.4.1)
    Follow these instructions EXACTLY.
    1. Download and install the Java 2 SDK, Standard Edition. You can find it here:
    http://java.sun.com/j2se/downloads.html
    Select the download for your operating system and be sure to download the SDK (rightmost column) and not the JRE. (The JRE is only the Java Runtime Environment, which does not include the Java compiler and other tools needed for software development).
    2. Read the README and installation instructions! Read these instead of asking questions about installation etc. in the Java forums.
    README for Java 2 SDK v1.4.1: http://java.sun.com/j2se/1.4.1/README.html
    Java 2 SDK v1.4.1 for Windows installation: http://java.sun.com/j2se/1.4.1/install-windows.html
    Things to note:
    - After installing, add the bin directory of the SDK to your PATH environment variable. For example, if you installed the SDK in C:\j2sdk1.4.1_01, add the directory C:\j2sdk1.4.1_01\bin to your PATH. (If you don't know what an environment variable is and how to set it, read the documentation of Windows; if you're using Windows XP, this might be useful: http://support.microsoft.com/default.aspx?scid=KB;EN-US;q310519& ).
    3. Open Notepad and type in your first program:
    public class HelloWorld {
    public static void main(String[] args) {
    System.out.println("Hello World!");
    Save this program somewhere with the filename "HelloWorld.java".
    Things to note:
    - The case of text is important. Don't type "Helloworld", "helloworld" or anything else. Also the case of the filename is important (even though Windows has case-insensive filenames!).
    - Watch out that Notepad doesn't append ".txt" to the filename. The file should be named "HelloWorld.java", not "HelloWorld.java.txt".
    4. Open a command prompt and go to the directory that contains the file "HelloWorld.java" (with the CD command).
    5. Compile the progam with the following command:
    javac HelloWorld.java
    Things to note:
    - If you get something like "Unknown command: javac" or "Bad command or filename", you did not (correctly) add the bin directory of the SDK to the PATH (see step 2).
    6. Run the program. If you didn't get any compile errors, you now have a new file "HelloWorld.class" in the same directory. Run the program with the following command:
    java HelloWorld
    Things to note:
    - If you get: "Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld/class", you have typed "java HelloWorld.class". Leave off the ".class" at the end. You are typing a class name here, not a filename.
    - If you get something like: "Exception in thread "main" java.lang.NoClassDefFoundError: helloworld (wrong name: HelloWorld)", you have typed the class name wrong. Note that the case is important (i.e., don't type "helloworld" but "HelloWorld")!
    - You don't need to set any classpath here. In Java 1.4, the current directory is included in the classpath automatically. For older versions of Java, you may need to add the current directory (".") to the classpath, like this:
    java -classpath . HelloWorld
    7. Congratulations with your first working Java program. Now follow these links:
    Java Tutorial
    http://java.sun.com/docs/books/tutorial/
    New to Java Programming Center
    http://developer.java.sun.com/developer/onlineTraining/new2java/
    FAQ
    http://java.sun.com/products/jdk/faq.html
    How Classes are Found
    http://java.sun.com/j2se/1.4/docs/tooldocs/findingclasses.html
    Setting the class path
    http://java.sun.com/j2se/1.4/docs/tooldocs/win32/classpath.html
    JavaTM 2 SDK Tools and Utilities
    http://java.sun.com/j2se/1.4/docs/tooldocs/tools.html
    Jesper

  • Java SDK version 5 update 5 incompatible with J2ME WTK1.0.4_02? Help!

    Hi guys,
    Total newb here, and frustrated beyond measure at my own ignorance. I'm trying to write some basic java apps for a cellphone.
    I have downloaded the latest Java SDK from Sun, and the Wireless Development Toolkit.
    Sadly, following the instructions to the letter, the demos all fail to compile with an error
    javac: target release 1.1 conflicts with default source release 1.5I've spent the last three hours combing this forum and the web for a solution and I'm stumped. The best advice I've found is to download the 1.4.2 SDK (but that doesn't appear to be available any more... anyone?) or to some command line arguments like -source or -target. Problem there is that the WTK doesn't seem to provide the option of passing arguments to the compiler.
    Could somebody please put me out of my misery and advise me what the best way past problem is?
    Thanks
    -A

    Download 1.4.2 SDK here:
    http://java.sun.com/j2se/1.4.2/download.html

  • Having trouble with creation of a cloud service with multiple virtual machines using java sdk.

    I am creating a cloud service on azure with 2 virtual machines using java sdk API. Service created successfully.
    My input endpoint details are as follows.
    INPUT ENDPOINTS
    Head : 191.238.144.47:2400
    Head : 191.238.144.47:22
    Node0 : 191.238.144.47:43211
    For Head instance port 2400 is for HTTPS and port 22 is for SSH and for Node0 instance port 43211 is for SSH.
    But I am having problem with doing a ssh on Head instance. Sometimes it works sometimes doesn't. Same problem with HTTPS also.
    I have some application running over there but when i try to access it thru browser sometimes it works but most of the time doesn't. When I restart the instances from azure portal, its works after
    that(not always but most of the time). 
    Now I am confused what is going on there. I am creating cloud service and virtual machines using java sdk and setting input endpoints also. After creation of all instances i restart every instance programmatically .
    I am not sure whether restart is required or not. It must be something to do with input endpoints only but not able to get the right thing i guess. When i do the same thing thru azure portal(creation of cloud service with virtual machines and setting up input
    end points) everything works fine but not achieving the result when implementing it by java sdk API. Please help me.

    HI Nithin,
    Thanks for your reply. I am setting the endpoints after creating my instances using update call. Here's the code snippet.
    AzureService aServ = new AzureService(session);
     if(aServ.checkNameAvailability(clusterName)) {
               aServ.createHostedService(clusterName, "dbX cluster");         
             // Creating head instance
             aServ.createHead(clusterName, imgName, headType, userName, pswd);  
            // Setting end points for head node
             String name = "ssh";
             int port = 22;
             aServ.updateVMInputEndpoint(clusterName, "Head", name, port);
             // Restarting head instance
             aServ.restartVM(clusterName, "Head");
           String roleName = "Node";
           String tmpRoleName = "";
           for(int i=0; i<noi; i++) {
                      port = 43210+(i+1);
                      tmpRoleName = roleName + i;
                   // Creating node instance
                    aServ.createVM(clusterName, tmpRoleName, imgName, nodeType, userName, pswd);
                  // Setting end points for node instance
                   aServ.updateVMInputEndpoint(clusterName, tmpRoleName, name, port);
                  // Restarting node instance
                 aServ.restartVM(clusterName, tmpRoleName);
          // Method to update the input endpoint details 
          public void updateVMInputEndpoint(String clusterName, String vmName, String name, int port)
            throws Exception {
                    VirtualMachineGetResponse resp = computeManagementClient.getVirtualMachinesOperations().
                                                            get(clusterName, clusterName, vmName);
                    VirtualMachineUpdateParameters updateParameters = new VirtualMachineUpdateParameters();
                    //get the configuration list
                    ArrayList<ConfigurationSet> configlist = resp.getConfigurationSets();
                    //get inputendpoint list and update it
                    ArrayList<InputEndpoint> endpointlist = configlist.get(0).getInputEndpoints();
                    InputEndpoint inputEndpoint = new InputEndpoint();
                    inputEndpoint.setEnableDirectServerReturn(false);
                    inputEndpoint.setPort(port);
                    inputEndpoint.setLocalPort(port);
                    inputEndpoint.setName(name);
                    inputEndpoint.setProtocol(InputEndpointTransportProtocol.TCP);
                    endpointlist.add(inputEndpoint);
                    // Open port for https on head node
                    if(vmName.equals("Head")) {
                            inputEndpoint = new InputEndpoint();
                            inputEndpoint.setEnableDirectServerReturn(false);
                            inputEndpoint.setPort(2400);
                            inputEndpoint.setLocalPort(2400);
                            inputEndpoint.setName("https");
                            inputEndpoint.setProtocol(InputEndpointTransportProtocol.TCP);
                            endpointlist.add(inputEndpoint);
                    updateParameters.setConfigurationSets(configlist);
                    //required for update
                    OSVirtualHardDisk osVirtualHardDisk = resp.getOSVirtualHardDisk();
                    updateParameters.setOSVirtualHardDisk(osVirtualHardDisk);
                    updateParameters.setRoleName(resp.getRoleName());
                    OperationResponse updtResp = computeManagementClient.getVirtualMachinesOperations().update(clusterName, clusterName, resp.getRoleName(), updateParameters);
    And every time i am creating a new cloud service along with head and node instances. Region is "South Central US".
    I am setting ProvisionGuestAgent field to true at instance creation time. Thank you.

  • How to run UNIX command to a remote SUN machine through Java from Windows

    Dear All:
    I want to write one Java program which will be run on my Windows Machine.
    My Java program will will login in a SUN machine remotely say telnet and run some command.
    I want all those command output in my client windows PC for futher processing.
    Can anyone help me doing this?
    BR,
    P. Gupta

    import java.net.*;
    import java.io.*;
    import java.util.*;
    public class TelnetSocketDemo {
    static String list="";
    static String listArr[], hostArr[];
    static String host="", lhost="";
    public static void main(String[] args)throws IOException
    ExecuteUnixCmd obj=new ExecuteUnixCmd();
    // InetAddress localMachine = InetAddress.getLocalHost();
    // host=localMachine.getHostName();
    list=obj.ExecuteUnixCmdMain();
    int port=getPort(list,"Live");
    System.out.println(port);
    Socket sock = null;
    String prompt=">";
    String output = null;
    try
    // Connect to the PoleStar process.
    sock = new Socket("localhost",port);
    sock.setSoTimeout(60000);
    // Get the I/O streams for the socket.
    PrintWriter out = new PrintWriter(sock.getOutputStream(), true);
    InputStream in = sock.getInputStream();
    // Get to the silent console port.
    // out.println("S");
    // readToPrompt(in,area);
    // Fetch the response to the command.
    out.println("list all");
    output = readToPrompt(in,prompt);
    //System.out.println(output);
    //out.println("quit");
    //output=readToPrompt(in);
    catch (Exception ex)
    String msg = "unable to get Connection for PoleStar";
    finally
    try
    // close socket
    sock.close();
    catch (Exception ex)
    System.out.println(output);
    private static String readToPrompt(InputStream in,String prompt)throws IOExcepti
    on
    byte[] mByte = null;
    int iStrt = 0, iLen = 2000, nBytes = 0;
    StringBuffer buf = new StringBuffer();
    String s = null;
    boolean bNotFinished = true;
    do
    mByte = new byte[2000];
    nBytes = in.read(mByte, iStrt, iLen);
    if (nBytes == -1)
    break;
    // lost our TCP/IP connection
    // bNotFinished = false;
    // Convert byte stream to a string
    s = new String(mByte, 0, iStrt + nBytes);
    if (prompt.equals("") == false)
    if (prompt.equals(">"))
    if (s.indexOf(0x04) != -1)
    bNotFinished = false;
    // the hub sends the prompt at the beginning and the end
    else if (s.indexOf(prompt) != -1)
    bNotFinished = false;
    buf.append(s);
    } while (bNotFinished);
    return buf.toString();
    public static int getPort(String list, String area)
    int port;
    String listArr[],hostArr[];
    String lhost="";
    listArr=list.split(",");
    for(int i =0; i < listArr.length ; i++)
    lhost=listArr;
    hostArr=lhost.split("#");
    if((hostArr[1].equalsIgnoreCase("connectDev20"))&&(hostArr[0].indexOf(area)!=-
    1))
    port=Integer.parseInt(hostArr[2]);
    return port;
    else
    continue ;
    return 0;

  • Java SDK in Fedora Core 3 (64 bit)

    Ok, I'm running on an AMD 64 so to install the java sdk I downloaded j2sdk-1_4_2_06-linux-ia64-rpm.bin. Next, I followed the instuctions located here: http://java.sun.com/products/archiv...tml#install-pkg
    This is what my terminal looked like:
    [root@localhost uphu]# chmod a+x j2sdk-1_4_2_06-linux-ia64-rpm.bin
    [root@localhost uphu]# ./j2sdk-1_4_2_06-linux-ia64-rpm.bin
                  Sun Microsystems, Inc.
              Binary Code License Agreement
                       for the
    JAVATM 2 SOFTWARE DEVELOPMENT KIT (J2SDK), STANDARD
    EDITION, VERSION 1.4.2_X
    [BLAH BLAH BLAH]
    Do you agree to the above license terms? [yes or no]
    yes
    Unpacking...
    Checksumming...
    0
    0
    Extracting...
    ./j2sdk-1_4_2_06-linux-ia64-rpm.bin: line 370: ./install.sfx.4032: cannot execute binary file
    Done.
    [root@localhost uphu]#So, any idea what's the matter?

    You write that you are running on the linux-amd64 platform:
    Ok, I'm running on an AMD 64 so to install the javaBut you grabbed the linux-ia64 (Itanium) install:
    sdk I downloaded j2sdk-1_4_2_06-linux-ia64-rpm.bin.That won't fly, as you discovered.
    ./j2sdk-1_4_2_06-linux-ia64-rpm.bin: line 370:
    ./install.sfx.4032: cannot execute binary file
    So, any idea what's the matter?You need linux-amd64 binaries to run on your amd64 machine This support was first released in the Tiger/1.5.0/5.0 release. If you must stay with 1.4.2, note that you can also run the linux-x86 binaries in 32-bit mode.
    ---To get the 32-bit Linux release (which will run on your AMD64
    machine), go to:
    http://java.sun.com/j2se/1.4.2/download.html
    click on Download J2SE SDK, accept the license, and look for:
    Linux Platform
    RPM in self-extracting file (j2sdk-1_4_2_06-linux-i586-rpm.bin, 33.63 MB)
    self-extracting file (j2sdk-1_4_2_06-linux-i586.bin, 34.73 MB)
    ---To get the native 64-bit SDK for linux-amd64, go to:
    http://java.sun.com/j2se/1.5.0/download.jsp
    click on Download JDK, accept the license, and look for:
    Linux AMD64 Platform
    Linux AMD64 RPM in self-extracting file (jdk-1_5_0-linux-amd64-rpm.bin, 39.14 MB)
    Linux AMD64 self-extracting file (jdk-1_5_0-linux-amd64.bin, 40.11 MB)

  • SetDiagnosticDirectory(Diagnostics.java:54) [32-bit java on 64-bit machine]

    On 64-bit LucidLynx Linux, If I run Oracle SQL Developer using 64 bit java, all is fine.
    If I use 32-bit java, it doesn't start up and I get this fatal error:
    java.lang.IllegalArgumentException: Cannot create <pwd>/?/.sqldeveloper/system1.5.5.59.69/o.ide/diagnostics
         at oracle.javatools.logging.Diagnostics.setDiagnosticDirectory(Diagnostics.java:54)
         at oracle.ide.IdeCore.startupImpl(IdeCore.java:1293)
    <pwd> represents the current directory that I am in. That question mark appears as is.
    If I run this as `sudo`, it works, cause it gets past the "permissions" problem. (but that's a red herring).
    It should be trying to create the ".sqldeveloper/..." directory under my home directory, not in the present
    working directory, and certainly not with a question mark as another directory name.
    It appears that when using the 32 bit java (on a 64 bit machine), that whatever function
    Oracle is using/spawning to determine the user and its
    home directory, is failing, and the code just says, plop the diagnostics directory right here.
    How does one debug this?
    (I tried running `jdb` but setting break points doesn't seem to have an effect)
    ( Aside: on a 32-bit LucidLynx Linux machine, using 32-bit java, SQL Developer works fine.
    I have all the necessary 32-bit libs, as we use 32-bit Java on 64 bit machines for other apps as well.)

    I'm pretty new to java and this is the first
    first time i'm making a post here. I want to know, if
    i write a java program in a 32 bit environment will
    the same code work in a 64 bit Environment too. Does
    java abstract the architecture too?Only if there's a JVM available for the target environment.
    Note for example that Sun supports 64 bit AMD processors but not Intel. But when they do your Java code will work without changes.

  • Downloading and Installing Java SDK for AIX

    Could anyone please tell me where can i download Java SDk for AIX and how to install it before installing SAP?
    Thanks in Advance

    Hi Mega,
    You can downloads Java SDK 1.4.2 from this location, just choose the OS,
    https://sdlc5d.sun.com/ECom/EComActionServlet;jsessionid=CA558AF3F6842F61D26641D9A6853DCA
    installation is very simple, just copy the downloaded file and execute by running <b>./<name of the file>.sh</b> at the command prompt.
    Regards
    Juan
    Please reward with points if helpful

  • Java SDK ME on 64bit Vista?

    I'm trying to pick up some programming skills in Java so that I can make apps for my phone, I require Java SDK ME to do so. I've seen a lot of people saying that Java SDK ME won't work on 64bit Vista and they're right, it doesn't. However, some people said there was a way to make it work, but they didn't seem to be very good at giving instructions so I'm still lost.
    At the moment, I have no Java developer tools installed because none of them worked. Could someone point me in the right direction to getting Java SDK ME to work on 64bit Vista?

    Hopefully this can help you:
    [http://blogs.sun.com/javamesdk/entry/vista_64_bit|http://blogs.sun.com/javamesdk/entry/vista_64_bit]
    Edited by: RadkoN on Feb 25, 2010 12:09 AM

  • BOXI sever unavailable after Java SDK install

    I recently installed the Java SDK on a platform running BOXI 3.1 SP3. During the install, I de-selected the Enterprise options (per the install doc). Subsequent to the install, I no longer had access to the BOXI. Upon review, it seems that the custom install removed the exec files for all of the client programs, along with the exec for SIA, CMC.url, InfoView.url, and Tomcat.
    However, with the exception of the above files and service, the installation directory in intact, along with the File Store and CMSC. What is the recommended procedure to restore the missing elements? I figure I'll have to initiatie the custom install to recapture Tomcat, but what about the exec files? Will a custom install add only the missing elements, or re-install the entire server? Thanks in advance for you help.
    Mark

    The instructions you followed were likely for installing on a new machine, not for an existing install.  The items that are selected are what will be installed after you run the installation, so removing options I believe will remove those from the installation.  It may be best to ask this in the architecture forum [here|Business Intelligence Solution Architecture; or to create a case with support.

  • Error "java.lang.NoClassDefFoundError: sun/security/provider/Sun" in 10.1.2

    Hi,
    I developed an ADF UIX application in JDeveloper 10.1.2. It works fine when I run on embedded oc4j in my machine.
    I deployed it to Oracle Application Server 10g in AIX. When I run the application from the Application Server and try to open a uix page with data I get the following error:
    500 Internal Server Error
    java.lang.NoClassDefFoundError: sun/security/provider/Sun     at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:280)     at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:482)     at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165)     at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java(Compiled Code))     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java(Compiled Code))     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java(Compiled Code))     at oracle.adf.model.BindingContext.get(BindingContext.java(Compiled Code))     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)     at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)     at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:59)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:58)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:47)     at oracle.adf.model.binding.DCBindingContainerDef.createIterBindings(DCBindingContainerDef.java(Compiled Code))     at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java(Compiled Code))     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java(Inlined Compiled Code))     at oracle.adf.model.BindingContext.get(BindingContext.java(Compiled Code))     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)     at oracle.adf.model.binding.DCUtil.findBindingContainer(DCUtil.java:536)     at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:121)     at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)     at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:51)     at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)     at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))     at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java(Compiled Code))     at java.lang.Thread.run(Thread.java:568)
    Can anybody tell/help why I am getting this error?
    Thanks
    Syed

    I believe this counts to be a bug in adf. I met with such errors as well in migration 1012 from NT to AIX platform, and after decompiling adf jar code and tak a look at it, the following code block indicates that In class- oracle.jbo.client.Configuration
    , it is hard coded to get secure provider- sun/security/provider/Sun, as listed below...
    import sun.security.provider.Sun;
    static void checkSecurityProviders()
    Provider aprovider[] = Security.getProviders();
    boolean flag = false;
    for(int i = 0; i < aprovider.length; i++)
    if(!aprovider.getName().equals("SUN"))
    continue;
    flag = true;
    break;
    if(!flag)
    try
    Sun sun = new Sun();
    Security.addProvider(sun);
    catch(Exception exception)
    exception.printStackTrace();
    Adam

  • Java sdk location

    Running Kbuntu dapper
    When installing i did not enter the correct path to the java sdk, not when i start i get an error message,
    I have tired download a new copy but the problem still persists, does anyone know how to set the location of the java sdk. I have had a poke around in the .conf files but cant seem to find anything.
    Many thanks
    Karl Smolka

    Don't use de JDK that comes whit kubuntu. Download the selfextracting package from Sun. The install it in your home user directory.
    Delete the file .sqldeveloper from your home user directory.
    When you start sqldevelor point it to the JDK in your home directory, it'll work.
    By the way having that JDK around will help for other things, the JDK package of kubunto installs all in the distribution directories what is really right, but some aplications ask for the full JDK in one exact location. So it's better to have it around.
    FJA

  • Java sdk debian ppc

    Hello,
    Im running Debian's PPC version of its OS. The only java sdk i can find for PPC
    is blackdown sdk 1.3.1 here ... http://penguinppc.org/projects/java/
    However , I write a lot of Swing apps :( Does anyone know if ther are any other
    SDKs avaliable for Linux PPC (One that supports swing and web start)
    Thanks,
    jd

    I did have the same problem until now,
    My System is a Sun Ultra 2, with Solaris 7 and a fresh installation of J2SE 1.4.1.
    After installation, I had the following problem
    $ java -version
    Error: failed /usr/j2se/jre/lib/sparc/client/libjvm.so, because ld.so.1: java: f
    atal: relocation error: file /usr/j2se/jre/lib/sparc/client/libjvm.so: symbol __
    1cG__CrunSregister_exit_code6FpG_v_v_: referenced symbol not found
    I just realized that Sun posted Patches for Java on Solaris.
    One of the Patches solved this problem.
    Here's the URL:
    http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/patch-access
    Happy patching
    --PK

  • Searching Java Compiler from Sun

    Hello
    I have Download the JAVA SDK 1.4 Standard from SUN. I have find 4 demo Java Applications but no JAVA Compiler.
    Now someone how I can get the full Java compiler with all librarys and Documentation?
    Kind regards
    Sven

    If you install the JDK1.4 you should have the compiler. You'll see it under {JAVAHOME}\bin. To compile a java file, you'll have to use javac.
    The API documentation is a seperate download.

  • Sybase ESP java sdk, SQL parser exception for all queries

    Hi,
    I am new to Sybase ESP java sdk. Trying to use sdk projection subscription, but getting for all the queries including blank string:-
    com.sybase.esp.sdk.exception.ProjectErrorException: SQL parsing error
    at com.sybase.esp.sdk.impl.SubscriberImplV3.doSubscribe(Unknown Source)
    at com.sybase.esp.sdk.impl.SubscriberImpl.subscribeSql(Unknown Source)
    My Example code :-
    Credentials creds = new Credentials.Builder(Credentials.Type.USER_PASSWORD).setUser("user").setPassword("pwd").create();
      Project project = s_sdk.getProject(uri, creds);
      project.connect(WAIT_TIME_60000_MS);
      Subscriber subscriber = project.createSubscriber();
      //subscriber.subscribeStream("Trades");
      subscriber.connect();
                    subscriber.subscribeSql("select UserMaxCpu from wSBW912");
    I am new to sdk and not sure what I am doing wrong here, please suggest.
    Thanks,
    Venkatesh

    The problem you're experiencing is due to your JNDI configuration not matching the JavaDB database where you created the tables.
    If you look at the config for DerbyPool in the Admin Console, you'll see that DerbyPool points to:
    jdbc:derby://localhost:1527/sun-appserv-samples
    In the Admin Console click Resources->Connection Pools->DerbyPool, then click Additional Properties (9.1) or look at the page (9.0).
    You can either modify DerbyPool's config to point to:
    jdbc:derby://localhost:1527/BookDB
    Or you can create the tables in sun-appserv-samples. The create-tables ant task included with the Java EE 5 Tutorial will create the tables in the correct database.
    -ian

Maybe you are looking for

  • Update Photoshop CC 2014 failed Error U44M1I210

    Hello Forum members, does anyone have a solution? It seems to me, that there is a wrong entry in the registry of my Laptop. No one of the suggested Actions of Adobe was successfull. Ideas and Solutions would be very appreciated. Hermann

  • Itunes help plz respond asap

    ok so when i try to play my songs on itunes no matter where it was downloaded from (itunes or another source) it wont play. it will act like it was going to play and then freeze at 00:00. i tried re-installing it and deleting my itunes library and pu

  • Burning Error 4000 - itunes 7.7 Bug???

    I have never had any trouble burning with itunes until I updated my itunes from 7.6 to 7.7 . When I tried burning a CD with itunes 7.7 for the first time, I could not burn the CD and recieved the error 4000 message. Like I said, I have never had any

  • Hi my ipod was restoring but then i had to leave wi-fi and it paused i havent been able to get it started again. is there something i can do ?

    hi i was restoring  my iPod but while i was i had to leave wifi that paused the restoring  and i haven't been able to restart it again. i had photos i need to restore. how can i finish restoring the iPod?

  • Ago & To_date

    Could ant one give me the idea Is there any logic to get the results with out using the both the functions Ago & To_date. Thanks & Regards pallis