BugReport: Berkeley DB 6.1.19 lang/java/libdb_java/db_java_wrap.c

When using Berkeley DB 6.1.19. with Java API (JNI) there is a bug that prevents users from calling "Environment.lockVector()":
Setting a lock timeout for the LockRequest and defining "LockRequestMode.GET_TIMEOUT" is not correctly mapped in the JNI implementation. Instead of setting "timeout", "op" is getting set. I found the error and fixed it for my local Installation:
source file: lang/java/libdb_java/db_java_wrap.c line 1868 (Java_com_sleepycat_db_internal_db_1javaJNI_DbEnv_1lock_1vec):
wrong:
case DB_LOCK_GET_TIMEOUT:
    /* Needed: mode, timeout, obj. Returned: lock. */
prereq->op = (db_lockop_t)(*jenv)->GetIntField(
        jenv, jlockreq, lockreq_timeout_fid);
must be fixed to:
prereq->timeout = (db_lockop_t)(*jenv)->GetIntField(
        jenv, jlockreq, lockreq_timeout_fid);

Hi,
Thanks for reporting the issue.
We will take a look and  fix it if there is a bug here.
Regards,
Winter, Oracle Berkeley DB

Similar Messages

  • News server not found!! news:comp.lang.java.programmer HELP

    I trying to join newsgroup comp.lang.java.programmer
    but keep getting news server not found.
    Please help.

    No it's the name of the news group. You may add news1.sinica.edu.tw as the news server and select the group from those listed.

  • Berkeley DB master-slave replication basic java code example

    Hi,
    I am new user of berkeley db and I have limited knowledge of Java programming. Can someone help me with basic Java example code of how to do master-slave replication without elections.
    Thanx,
    Jani

    Hello,
    Please clarify a few points about your program:
    1. What platform and Berkeley DB version are you using?
    2. Are you planning on using the replication framework
    or base replication API for your application?
    3. When you say you want replication without elections,
    what exactly does that mean. For example, if you are using
    the replication framework elections are held transparently
    without any input from your application's code. In this case,
    DB will determine which environment is the master and which
    are replicas. Is that what you are thinking about or
    something else?
    Thanks,
    Sandra

  • Test suites for Java.lang, java.util ?

    Does anyone known a good (free) test suite for java.lang and java.util ?
    I heard about "Mauve project" and was wondering how good it is...
    any others equivalent projects ?
    Thanks a lot !
    Eg\\*

    Hi,
    because I will have to test a specific implementation of these package (on an embedded device).
    Eg\\*

  • Applet Permissions - lang.java.RuntimePermission exitVM.0

    Hello All,
    I am new to java and working on java applet. I have an applet, of which functionality I wanted to extend in my java class. The applet requires so many permissions, which I have added in .java.policy file through java policy tool. But unfortunately it giving me following exception:
    java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM.0)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkExit(Unknown Source)
         at javax.swing.JFrame.setDefaultCloseOperation(Unknown Source)
         at SketchApplet_new.createAndShowGUI(SketchApplet_new.java:56)
         at SketchApplet_new.init(SketchApplet_new.java:45)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I have added the java.lang.RuntimePermission exitVM but it is throwing an exception for exitVM.0, which I haven't got in policy tool.
    Please help me to add this permission to allow my applet execute properly.

    I'm having the same problem i've used this tutorial to sign the jar file http://forums.sun.com/thread.jspa?threadID=174214, and i'm not being able to solve the problem

  • NoSuchMethodError When Running Java Examples (Berkeley DB 4.5)

    Hi Guys,
    I have to confess that I am a newbie. Please don't blame if the question is stupid. :P
    When I was running a Berkeley DB 4.5 example under java (1.5.0.08), I received the following error message:
    $ java -cp $CLASSPATH:$LD_LIBRARY_PATH -Djava.library.path="/usr/local/BerkeleyDB.4.5/lib/" db.GettingStarted.ExampleDatabaseLoad
    Exception in thread "main" java.lang.NoSuchMethodError: com.sleepycat.bind.serial.StoredClassCatalog.<init>(Lcom/sleepycat/db/Database;)V
    at db.GettingStarted.MyDbs.setup(MyDbs.java:78)
    at db.GettingStarted.ExampleDatabaseLoad.run(ExampleDatabaseLoad.java:64)
    at db.GettingStarted.ExampleDatabaseLoad.main(ExampleDatabaseLoad.java:45)
    I assume that it was my fault, e.g. not compiling correctly (I used CFLAG="O2" enable-java enable-cxx)?
    Any suggestion would be helpful.
    Thanks in advance.
    Yun

    Hi Yun,
    I don't think dbexamples.jar is installed in /usr/local/BerkeleyDB.4.5/lib/ . I did the following on SUSE 10, your command MAY VARY slightly depending on your platform. I placed the two text files in build_unix for convenience. The jar files, dbexamples.jar and db.jar are found in
    build_unix.
    ls /usr/local/BerkeleyDB.4.5/lib
    db.jar libdb.a libdb_cxx.a libdb_java-4.5.so
    libdb-4.5.a libdb_cxx-4.5.a libdb_cxx.so libdb_java-4.so
    libdb-4.5.la libdb_cxx-4.5.la libdb_java-4.5.a libdb_java.so
    libdb-4.5.so libdb_cxx-4.5.so libdb_java-4.5_g.so libdb.so
    libdb-4.so libdb_cxx-4.so libdb_java-4.5.la
    ron@linux:~/db-4.5.20/build_unix> env CLASSPATH=/home/ron/db-4.5.20/build_unix/db.jar:/home/ron/db-4.5.20/build_unix/dbexamples.jar LD_LIBRARY_PATH=.libs java db.GettingStarted.ExampleDatabaseLoad
    loading vendors db....
    loading inventory db....
    All done.
    ron@linux:~/db-4.5.20/build_unix>
    Ron Cohen
    Oracle Corporation

  • How to have java.lang

    Hi guys
    when I download the package javacard development kit 2.2.1 from SUN, there's a file "api.jar" in it which can be used as Javacard API. Hence, it's quite easy for the applet developer to import this file into their applet and run this normally
    For my own sake, I now just want to have the package java.lang.* (it can be either a jar file or a folder of class files) --> How can I have it??
    P/S: I've tried to extract "api.jar" then wrapped the folder of java.lang + java.lang (export file) into a jar file (temporarily called lang.jar). However, this way didn't work out

    When I finish creating the javacard.framework, it's necessary to wrap it into a jar file (library file) and import it into normal applets, hence the applet can run normally and invoke methods from javacard.framework.
    However, when I do so, there's always a problem of missing java.lang. * (a java.lang package for javacard only).
    P/S: I've tried to extract "api.jar" then wrapped the folder of java.lang + java.lang (export file) into a jar file (temporarily called lang.jar). However, this way didn't work outWell, honestly, by this way, I made it. Finally, I built a jar file of java.lang and can put it into java card applet project
    I did it as below:
    (IDE - Netbean 6.9.1)
    1. Create a java card classic library project named com.sun.java.impl (this package is used in the future; it contains some classes which will be called by methods in javacard.framework)
    2. Fulfill the code for those classes in this class
    3. Build this class --> we have expt file and class file of all classes of this package -->wrap them into a jar file (let's call it impl.jar)
    4. Extract api.jar from Java Card Development Kit 2.2.1 (provided by SUN) --> retrieve the package java.lang (including class files such as Object.class, NullPointerException.class,... and export file of this package) --> wrap them into a jar file (let's call it javalang.jar)
    5. Create a javacard extension library project named javacard.framework
    6. Fulfill the code for those classes in this class (import impl.jar and javalang.rar as library for this package)
    7. Build this package (javacard.framework) ~~> we have a jar file (let's call it api.jar) and class files, but export file ~~> when importing this jar to an applet project, an error (missing of expt file) is sprung
    ========> I do not know why there is no expt file being created during the build of javacard.framework. Is it because the difference of Classic and Extension Project
    Remember I tried to build javacard.framework within Classic project, but failed

  • Java.lang.string error

    I have installed JDEVELOPER and JDK 1.3.1.02 when I compile I get the following error
    Error(11,11): class string not found in class <package name>' despite adding an import line
    import java.lang.String;
    How do you get JDEVELOPER to see the standard libraries???
    Thanks

    Philip -
    The J2SE API contains these packages. You can see the class files in <JDEV_HOME>\jdk\jre\lib\rt.jar
    In fact, when you compile a simple java file, you should see this path in the -classpath command in the console.
    Hope this helps,
    Lynn
    Java Tools Team
    Hey guess what you were right, thank you, I will now go and shoot myself.
    The thing that was confusing me, and still is, is that Iv'e installed JDeveloper and Java SDK but I'm damned if I can find the API class files I was expecting to see like java.lang, java.text and java util, what have you/Sun done with them???
    The imports are working, but where in the filesystem are they importing from.
    Regards, Philip Palij

  • New to java can somebody please help me?

    I'm using jdk1.3.1_01
    and apache tomcat 4.0.
    the jdk works fine now thanks to much help from members on here.
    Now i have a problem with my apache tomcat server.
    When ever i try to start it i get the error which i've copied and pasted below.
    Can anyone please help me?
    It's extremely important that i get the apache tomcat server to work so i can practice servlet programming at home.
    Your assistance will be greatly appreciated.
    Following are the error messages:
    I'm using windows 2000 Pro; jdk1.3.1_01; and apache tomcat 4.0.
    But whenever i try to start apache tomcat i get a number of errors.
    I have copied these errors from the command windows and pasted them below because i don't know where to begin.Does anyone think i should reinstall apache tomcat 4.0
    Please take a look, here below are the error messages i'm getting.
    A nonfatal internal JIT (3.10.107(x)) error 'Relocation error: NULL relocation target' has occurred in :
    'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method.
    Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
    Catalina.start: LifecycleException: null.open: java.net.BindException: Address in use: bind
    LifecycleException: null.open: java.net.BindException: Address in use: bind
    at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1116)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java, Compiled Code)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java, Compiled Code)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:775)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
    at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, Compiled Code)
    ----- Root Cause -----
    java.net.BindException: Address in use: bind
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(Unknown Source)
    at java.net.ServerSocket.<init>(Unknown Source)
    at java.net.ServerSocket.<init>(Unknown Source)
    at org.apache.catalina.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:118)
    at org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.java:946)
    at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1114)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java, Compiled Code)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java, Compiled Code)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:775)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
    at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, Compiled Code)

    In this particular case, you cannot start Tomcat because you have another web server or some other program already listening to the same port that Tomcat wants to use.
    (If you don't know what a port is in this context, write back and we will go into more detail.)
    I would guess that you may have Microsoft IIS running, particularly if you're on a corporate machine. You may have to look at the services running on your system and see if any of them are using the port - either check out start->control panel->administrative tools->services or do a "netstat -a" at the command prompt.
    Alternatively you may configure Tomcat to use a different port. The instructions that came with Tomcat will tell you what you will need to do - it's usually just changing one line in the httpd.conf file or whatever the latest Tomcat uses now (I'm not certain anymore).

  • Please I'm new to java.Can anyone help me?

    Whenever i try to execute a java program
    at the command line I get the error message " .classfiles not found.I checked in my directory and the classfiles are there.I made sure I'm in the directory when i'm trying to execute the .class files.
    when i use EditPlus i get the error message of
    ---------- java ----------
    java.lang.NoClassDefFoundError: Comparison
    Exception in thread "main" Normal Termination
    Output completed (1 sec consumed).
    Can anyone tell what i'm doing wrong or what i'm not doing?

    From Julesh1
    To: DaithiMcGibon and ehsan java
    Thank you very much i added the ";." and now i can execute the any code.
    Your assistance is greatly appreciated.
    I'm using windows 2000 Pro; jdk1.3.1_01; and apache tomcat 4.0.
    But whenever i try to start apache tomcat i get a number of errors.
    I have copied these errors from the command windows and pasted them below because i don't know where to begin.Does anyone think i should reinstall apache tomcat 4.0
    Please take a look, here below are the error messages i'm getting.
    A nonfatal internal JIT (3.10.107(x)) error 'Relocation error: NULL relocation target' has occurred in :
    'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method.
    Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
    Catalina.start: LifecycleException: null.open: java.net.BindException: Address in use: bind
    LifecycleException: null.open: java.net.BindException: Address in use: bind
    at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1116)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java, Compiled Code)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java, Compiled Code)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:775)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
    at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, Compiled Code)
    ----- Root Cause -----
    java.net.BindException: Address in use: bind
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(Unknown Source)
    at java.net.ServerSocket.<init>(Unknown Source)
    at java.net.ServerSocket.<init>(Unknown Source)
    at org.apache.catalina.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:118)
    at org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.java:946)
    at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1114)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java, Compiled Code)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java, Compiled Code)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:775)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
    at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, Compiled Code)

  • How can I execute an IE browser window from within my java application?

    I am programming a java application that requires me to execute a browser application and point to a specific web site. How can I do this? I cannot seem to find any examples on the web.

    Hi Heals,
    This forum is for discussing Measurement Studio for Visual Basic and is not really a good place to ask general purpose Java questions. I suggest searching one of the comp.lang.java.* newsgroups at http://groups.google.com/.
    Off the top of my head, though, I would say take a look at the Runtime.exec method.
    - Elton

  • Application started using Java Web Start doesn't launch the first time

    I have a Facebook photo uploader application that I plan to distribute using Java Web Start. I'm using Java 6u4 on Windows XP SP2 with 2GB of RAM. I have Java 6u3, Java 6u4 and Java 5 u14 installed and I'm sure the one used is Java 6u4.
    I signed my application and make use of all security settings.
    Here is my JNLP file:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+"
         codebase="http://www.antaki.ca/bloom/jars"
         href="http://www.antaki.ca/bloom/Bloom.jnlp">
    <information>
        <title>Bloom</title>
        <vendor>Carl Antaki</vendor>
        <icon kind="splash" href="http://www.antaki.ca/bloom/Bloom.jpg"/>
        <icon href="http://www.antaki.ca/bloom/bloom32.jpg"/>
      <shortcut online="false">
      <desktop/>
      <menu submenu="Bloom"/>
      </shortcut>
    </information>
        <resources>
            <j2se version="1.5+" initial-heap-size="32m" max-heap-size="128m" href="http://java.sun.com/products/autodl/j2se" />
            <property name="sun.java2d.d3d" value="false"/>
            <jar href="http://www.antaki.ca/bloom/jars/Bloom.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/BrowserLauncher2-1_3.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/SmartProgressMonitor.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/facebook.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/forms-1.1.0.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/json_simple.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/swing-worker-1.1.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/glazedlists_java15.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/swingx-0.9.1.jar"/>   
            <jar href="http://www.antaki.ca/bloom/jars/jhbasic.jar"/>
       </resources>
    <security>
         <all-permissions/>
      </security>
    <application-desc main-class="ca.antaki.www.bloom.gui.Bloom" />
    </jnlp>Here is the link for my application http://antaki.ca/bloom/Bloom.jnlp
    The first time the application is installed using a link on the browser it's downloaded then the certificate dialog is shown, after that I check the checkbox to accept the certificate permanently. The application doesn't load, it only loads the second time although I see it in the task manager. If I don't accept the certificate permanently it does load. This happens on both Firefox 2 and IE 7. I enabled the console and logging but nothing shows up there.That's really a weird problem, I wonder if Java Web Start is a viable deployment option, it does have great capabilities such as autoupdate but still seems to have important bugs.
    Does anyone have any clue about what is going on.
    The problem doesn't occur on Ubuntu 7.10.
    Thanks,
    Carl Antaki

    >
    You were right my XML file was not correct. I still couldn't find a valid JNLP validator. Sun has to provide that.>No they don't (have to supply a validator for their own document type, though it makes sense to do so), but yes they do (provide a tool that validates XML against schemas). Java can validate XML against a DTD or XSD.
    Check these two threads (and chase the links) for more details.
    JNLP xsd schema
    <http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/c6f65bf1df5f105d/30c6b7e2dc342dc4>
    Validate XML against DTD? XSD OK. SSCCE.
    <http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/5b997a1edb765b11/e831f3066eb4aa38>
    Look especially for the posts by Piotr Kobzda.
    I had a tool on my site based largely on Piotr's codes, that linked to a valid JNLP DTD and XSD, but unfortunately my site is offline at the moment. Andy assures me that the JNLP 6.0 DTD has been corrected for the developer ..download tutorials of web start, though the online (web site) version may still be invalid.

  • Java.io.File and non-unicode characters in file name

    Unix filesystem object names are byte sequences. These byte sequences are not required to correspond to any character sequence in the current or any locale. How do I open a file if it has characters that do not corrospond to a valid unicode encoding for some current locale? Unless I am missing something, if I do a list on a parent directory that has some file names like this, those file names do not get added to the list. Hmmm....
    R.

    OK, create.c is a program that will create a file whose name is not a character in the 'ja' locale.
    Lister.java defines a class that lists files in the current directory. For each file, it spits out the 'toString()' version of the file, the char array of the name as hex, and the 'getBytes' byte array of the name.
    So, what you can do is compile and run create.c, which will create a file whose name is a single byte whose hex value is 99. Then compile and run Lister.java, which will give you the following output (shown for two different locales:
    $ export LANG=
    $ java Lister
    name:?; chars:99,; bytes:99,
    $ export LANG=ja
    $ java Lister
    name:?; chars:fffd,; bytes:3f,
    ---------------------------------------------Note that when running in the JA locale, there is no character corresponding to byte value 0x99. So, Java uses the replacement character 0xFFFD, and the '?' character 0x3F, as a replacement.
    The point is that there are files which Java cannot uniquely represent as a straight String. I suppose we could get the filename via JNI, do the conversion ourselves, and then use the private-use area of Unicode to encode all our strings, but ugh.
    //create.c
    #include <stdio.h>
    int main()
       const char* name = "\x99";
       FILE* file = fopen( name, "w" );
       if( file == NULL )
          printf( "could not open file %s\n", name );
          return 1;
       fclose( file );
       return 0;
    // Lister.java
    import java.io.*;
    public class Lister
        public static void main( String[] args )
            new Lister().run();
        public void run()
            try
                doRun();
            catch( Exception e )
                System.out.println( "Encountered exception: " + e );
        private void doRun() throws Exception
            File cwd = new File( "." );
            String[] children = cwd.list();
            for( int i = 0; i < children.length; ++i )
                printName( children[ i ] );
        private void printName( String s )
            System.out.print( "name:" );
            System.out.print( s );
            System.out.print( "; chars:" );
            printCharsAsHex( s );
            System.out.print( "; bytes:" );
            printBytesAsHex( s );
            System.out.println();
        private void printCharsAsHex( String s )
            for( int i = 0; i < s.length(); ++i )
                char ch = s.charAt( i );
                System.out.print( Integer.toHexString( ch ) + "," );
        private void printBytesAsHex( String s )
            byte[] bytes = s.getBytes();
            for( int i = 0; i < bytes.length; ++i )
                byte b = bytes[ i ];
                System.out.print( Integer.toHexString( unsignedExtension( b ) ) + "," );
        private int unsignedExtension( byte b )
            return (int)b & 0xFF;
    }

  • Invoking a specific version of java over the internet

    According to [this page|http://java.sun.com/j2se/1.5.0/docs/guide/plugin/developer_guide/using_tags.html], the applet tag should be used if the web page is accessed through the internet and object or embed ought to be used if it's through an intranet. Why?
    Later, that article says that if you want to invoke a specific version of Java that you can do so with either of the intranet tags (using a specific classid for the object tag or a specific type for the embed tag), but doesn't say anything about doing it with the applet tag, making be conclude that, with the applet tag, it's not possible.

    You said "I will not try to guess what that doc. meant." That doesn't necessarily mean that there are others who can't. Maybe there are people who post on forums.sun.com that don't post on comp.lang.java.programmer? If anyone there knew, it seems like they would have responded?
    The <https://jdk6.dev.java.net/deployment_advice.html> link... I dunno... it didn't seem as comprehensive as the one my first post linked to. Doesn't discuss embed, for instance, nor does it mention anything about intranet's vs. internet's. Maybe Sun decided between 1.5.0 and 1.6.0 that the whole internet / intranet distinction was pointless, but if so, that'd be nice to know.
    Besides, sometimes hearing people explain it in different ways helps. Whether or not it'd help here is something I can't say until I've heard other explanations (if there are any to be had).
    (I'm yawnmoth, btw - I was logged out when I tried to make this post so I tried to login with 'yawnmoth' as my username and it asked me for a new username? maybe my 'yawnmoth' username is actually my email address?)
    Edited by: zelnaga on Aug 13, 2008 9:04 AM

  • Packages in Java

    Hi Guys,
    I'm new in java world, and I have some questions, if anybody can help me plz.
    1- The packages in java such java.sql and so on where we can downlad it?
    2- How to add these packages to work with java?
    Thanks

    The following packages are already bundled with the jdk or jre you downloaded and installed:
    java.applet
    java.awt
    java.awt.color
    java.awt.datatransfer
    java.awt.dnd
    java.awt.event
    java.awt.font
    java.awt.geom
    java.awt.im
    java.awt.im.spi
    java.awt.image
    java.awt.image.renderable
    java.awt.print
    java.beans
    java.beans.beancontext
    java.io
    java.lang
    java.lang.annotation
    java.lang.instrument
    java.lang.management
    java.lang.ref
    java.lang.reflect
    java.math
    java.net
    java.nio
    java.nio.channels
    java.nio.channels.spi
    java.nio.charset
    java.nio.charset.spi
    java.rmi
    java.rmi.activation
    java.rmi.dgc
    java.rmi.registry
    java.rmi.server
    java.security
    java.security.acl
    java.security.cert
    java.security.interfaces
    java.security.spec
    java.sql
    java.text
    java.text.spi
    java.util
    java.util.concurrent
    java.util.concurrent.atomic
    java.util.concurrent.locks
    java.util.jar
    java.util.logging
    java.util.prefs
    java.util.regex
    java.util.spi
    java.util.zip
    javax.accessibility
    javax.activation
    javax.activity
    javax.annotation
    javax.annotation.processing
    javax.crypto
    javax.crypto.interfaces
    javax.crypto.spec
    javax.imageio
    javax.imageio.event
    javax.imageio.metadata
    javax.imageio.plugins.bmp
    javax.imageio.plugins.jpeg
    javax.imageio.spi
    javax.imageio.stream
    javax.jws
    javax.jws.soap
    javax.lang.model
    javax.lang.model.element
    javax.lang.model.type
    javax.lang.model.util
    javax.management
    javax.management.loading
    javax.management.modelmbean
    javax.management.monitor
    javax.management.openmbean
    javax.management.relation
    javax.management.remote
    javax.management.remote.rmi
    javax.management.timer
    javax.naming
    javax.naming.directory
    javax.naming.event
    javax.naming.ldap
    javax.naming.spi
    javax.net
    javax.net.ssl
    javax.print
    javax.print.attribute
    javax.print.attribute.standard
    javax.print.event
    javax.rmi
    javax.rmi.CORBA
    javax.rmi.ssl
    javax.script
    javax.security.auth
    javax.security.auth.callback
    javax.security.auth.kerberos
    javax.security.auth.login
    javax.security.auth.spi
    javax.security.auth.x500
    javax.security.cert
    javax.security.sasl
    javax.sound.midi
    javax.sound.midi.spi
    javax.sound.sampled
    javax.sound.sampled.spi
    javax.sql
    javax.sql.rowset
    javax.sql.rowset.serial
    javax.sql.rowset.spi
    javax.swing
    javax.swing.border
    javax.swing.colorchooser
    javax.swing.event
    javax.swing.filechooser
    javax.swing.plaf
    javax.swing.plaf.basic
    javax.swing.plaf.metal
    javax.swing.plaf.multi
    javax.swing.plaf.synth
    javax.swing.table
    javax.swing.text
    javax.swing.text.html
    javax.swing.text.html.parser
    javax.swing.text.rtf
    javax.swing.tree
    javax.swing.undo
    javax.tools
    javax.transaction
    javax.transaction.xa
    javax.xml
    javax.xml.bind
    javax.xml.bind.annotation
    javax.xml.bind.annotation.adapters
    javax.xml.bind.attachment
    javax.xml.bind.helpers
    javax.xml.bind.util
    javax.xml.crypto
    javax.xml.crypto.dom
    javax.xml.crypto.dsig
    javax.xml.crypto.dsig.dom
    javax.xml.crypto.dsig.keyinfo
    javax.xml.crypto.dsig.spec
    javax.xml.datatype
    javax.xml.namespace
    javax.xml.parsers
    javax.xml.soap
    javax.xml.stream
    javax.xml.stream.events
    javax.xml.stream.util
    javax.xml.transform
    javax.xml.transform.dom
    javax.xml.transform.sax
    javax.xml.transform.stax
    javax.xml.transform.stream
    javax.xml.validation
    javax.xml.ws
    javax.xml.ws.handler
    javax.xml.ws.handler.soap
    javax.xml.ws.http
    javax.xml.ws.soap
    javax.xml.ws.spi
    javax.xml.xpath
    org.ietf.jgss
    org.omg.CORBA
    org.omg.CORBA_2_3
    org.omg.CORBA_2_3.portable
    org.omg.CORBA.DynAnyPackage
    org.omg.CORBA.ORBPackage
    org.omg.CORBA.portable
    org.omg.CORBA.TypeCodePackage
    org.omg.CosNaming
    org.omg.CosNaming.NamingContextExtPackage
    org.omg.CosNaming.NamingContextPackage
    org.omg.Dynamic
    org.omg.DynamicAny
    org.omg.DynamicAny.DynAnyFactoryPackage
    org.omg.DynamicAny.DynAnyPackage
    org.omg.IOP
    org.omg.IOP.CodecFactoryPackage
    org.omg.IOP.CodecPackage
    org.omg.Messaging
    org.omg.PortableInterceptor
    org.omg.PortableInterceptor.ORBInitInfoPackage
    org.omg.PortableServer
    org.omg.PortableServer.CurrentPackage
    org.omg.PortableServer.POAManagerPackage
    org.omg.PortableServer.POAPackage
    org.omg.PortableServer.portable
    org.omg.PortableServer.ServantLocatorPackage
    org.omg.SendingContext
    org.omg.stub.java.rmi
    org.w3c.dom
    org.w3c.dom.bootstrap
    org.w3c.dom.events
    org.w3c.dom.ls
    org.xml.sax
    org.xml.sax.ext
    org.xml.sax.helpers
    kind regards,
    Jos

Maybe you are looking for

  • Strange things showing up in navigation addresses and say they are from an ex. How is this possible?

    strange things keep showing up in navigation( short notes from ex) and instead of current location it has his name. How is this possible?

  • MacBook will not join Airport network

    I am flummoxed. My MacBook will not join my Airport Extreme network. It was fine this morning. I have restarted the MacBook. I have restarted the Airport base station. My iPhone is connecting to the network fine. My TV is connecting to the network f

  • How to get the XML Payload of called process from calling process?

    I have two SOA processes say process A and process B. Process B is called by process A.In process A I, am using the getRequestMessage() method in Java code to get the XML payload of process A. But i want the XML payload of process B in process A.How

  • CS4 Installation Failed

    I was trying to install Creative Suite Standard (CS4) onto a PowerPC G5 Mac and there was a power cut in the middle of the installation. I have since unsuccessfully tried to install the software again on numerous occasions getting the following error

  • Redirect Calls Based on Calling Party Number

    Hi All, I am looking for a method to redirect inbound PSTN calls based on the calling party number.  I can do this in CUCM 9 or IOS.  I find plenty of documentation out there on blocking calls by calling party number but nothing on redirecting.