can Java read C

Hi all
can a database created with the api C berkeley can be read (I mean "open" at least at this time) using the Java API?

Thank you
Stone

Yes, the Java API for Berkeley DB Core can read and write databases created with the Berkeley DB C API.

Kind regards
Michael Cahill, Oracle Berkeley DB.

Tags: Database

Similar Questions

  • How can I read from the InputStream when I use StreamConnectionNotifier

    I want to make a program that will listen on port 100 and exchange with PC message.

    And the program uses wifi to connect with the PC.

    I have StreamConnectionNotifier choice and I can receive request for socket of PC, but when I open imputStream, Exception throw.

    My code:

    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;

    Import javax.microedition.io.Connector;
    Import javax.microedition.io.StreamConnection;
    Import javax.microedition.io.StreamConnectionNotifier;

    SerializableAttribute public class ServerThread extends Thread {}
    constants
    private public static final String URL = ""http://:100;interface=wifi;deviceside=false "; "
    fields
    private StreamConnectionNotifier _notify;
    private InputStream _in;
    private OutputStream _out;
    private StreamConnection stream = null;
    private HelloWorld _app;
       
    Private boolean isStop = false;
     
    public ServerThread() {}
      
    }
     
    {} public void setApp (HelloWorld app)
    _APP = app;
    }
     
    public void run() {}
    try {}
    {while(!isStop)}
    {Synchronized (this)}
    _notify = Connector.open (URL) (StreamConnectionNotifier);
    }
    Stream = _notify.acceptAndOpen ();
    _in = stream.openDataInputStream ();  //<-- i="" think="" this="" line throw="" excepiton,="" excepiotn="" 's="" message="" is:request line="" is="">
    _out = stream.openDataOutputStream ();
    extract the data from the input stream
    StringBuffer sb = new StringBuffer();
    Reference int = - 1;
    {While (-1! = (reference = {_in.read ()))}
    Reference of the SB. Append ((Char));
    }
        
    _APP.updateText (SB. ToString());
        
    StringBuffer res = new StringBuffer();
    Res. Append ("HTTP/1.0 200 OK \r\n");
    Res. Append ("Content-type: text/html \r\n");
    Res. Append ("Content-Length: 1 \r\n");
    Res. Append ("1");
    _out. Write (res. ToString(). GetBytes());
        
    _in. Close();
    _out. Close();
    _notify. Close();
    }
    } catch (IOException e) {}
    probably the stream has been closed.
    System.Err.println (try ());
    _APP.updateText (try ());
    } {Finally
    try {}
    If (stream! = null) {}
    Stream.Close ();
    }
    } catch (Exception ex) {}
    }
    try {}
    If (_notify! = null) {}
    _notify. Close();
    }
    } catch (Exception ex) {}
    }
    }
    }
     
    {} public void stop()
    isStop = true;
    try {}
    If (stream! = null) {}
    Stream.Close ();
    }
    } catch (Exception ex) {}
    }
    try {}
    If (_notify! = null) {}
    _notify. Close();
    }
    } catch (Exception ex) {}
    }
    }

    }

    When I use IE application this port the program can block reading of inputStream.

    What's wrong? Please help me.

    What could happen is the following (Please check if this is the case however). Your code side device receives an incoming connection, but is then stuck on waiting for InputStream.read return anything. This translates your code aside PC it also blocks its BufferedReader.readLine, because the device-side code is not send anything (yet). So, you have a classic network impasse. If it is exactly what is happening, then you can try to fix the problem in several ways.

    1. change the code aside device to read byte-by-byte (int InputStream.read () instead of void InputStream.read (byte [],...)). It might help because on a few BlackBerrys the TCP stack returns the data received so that the stream is closed by a peer until you start viewing byte-by-byte.

    AND/OR

    2. change the PC-side code to close the output stream before reading the input stream (that's how works HTTP/1.0, for example). It might help because on a few BlackBerrys the TCP stack does not return data received until the stream is closed by a peer.

  • Can Mac read documents from Windows?

    Windows documents can be read by Macs?

    most, if not all formats are interchangeable, the most frequent are more defiantly

  • The text on some site is so light, I can hardly read and refreshing FF does not help

    I have an old laptop Toshiba satellite running Windows 7 and 42.0 FF. I always had a problem with the text on some web pages (including text, I'm typing now) is so light that I can hardly read it. I can't include a screen because I do not seem to paint on this computer. Does anyone know how I could fix this?
    Thank you.

    There are two sets of parameters. The web site/page current and comprehensive
    (all pages web/sites). Tap the displayed icon, and there you have it.
    All settings will be saved on a bass of each site.

  • People can't read my docs Pages and they lack of fonts

    People with Windows can not read My Documents Pages, so I want to get Microsoft Office for Mac. (Sorry!) Should I expect 2013 or 2016?

    Yes, the Pages is mac only. Have you tried to export the Pages doc as a file > export > Word - then select .doc or .docx.

    If you want to try an other Office suite, I'd give LIbreOffice (https://www.libreoffice.org/) a go, it is free (open source), I use at home and work.

  • After you have installed windows on my notebook 10 notes all drop-down history menu and favorite tools have black background so can't read the text

    After installing windows 10 on my notebook that all drop-down menu history bookmarks tools etc. have black background so can't read the text

    It was much simpler that that I just check if my version of FireFox has been updated today it wasn't downloaded and everything beautiful. Thank you for everything that other gibberish "I also don't know solution but try this" typical in the forums with respect to proposed solution has no address or related to this question please

  • I did an extra e-mail for my partner account. We read emails when I am connected, but she can't read them when it is recorded.

    I did an extra e-mail for my partner account. We read emails in our two accounts when I am connected, but she can't read his email, if it is logged in and of itself. How can we make accessible account directly for her?

    deleted

  • can not read files is mod more

    Hello

    "I think that ' since I upgraded to final cut pro and the new OSX, I can't read my files is a mod for all older projects that I've done.

    I connect etc, fcp detects files, the film is always black with no sound. How can it be resolved?

    Thank you and best regards. Kristof

    Had to look at this mod to the top: old mechanical Stoppers video consumer or Amiga file extension. You will probably need to find some obscure App video conversion that Final Cut Pro X has been out for five years. Earlier, you started using it?

    An article of the wiki:

    The first version of the format was created by Karsten Obarski for use in the Ultimate Soundtracker; Tracker software available for the Amiga computer in 1987. [1] [2] the format has since been supported by hundreds of playback programs and dozens of other trackers.

    The original version of the MOD format featured four channels of simultaneous audio playback, corresponding to the capabilities of the original Amiga chipset, and up to 15 instruments.

    Later variations of the format have extended up to 32 channels and 31 instruments.

    The format has been designed to be directly playable on the Amiga without additional processing: for example, samples are stored in 8-bit PCM format ready to be played on the Amiga DACs, and given on the profiles are not packed. Reading required very little time CPU on an Amiga, and many games used MOD files for their background music.

    Is wrong, is that the magic number "M.K." in the offset 0 x 438 of MOD files are the initials of Mahoney and Kaktus, two prominent Amiga most in time, who played an important role in the popularity of the format. They actually represent the initials of Michael Kleps alias unknown / DOC, another developer of the format. [3]

  • HOW CAN I CHANGE THE SIZE OF THE PRINT ON THE SCREEN OF MY EMAIL. IT IS SO SMALL THAT I CAN'T READ IT!

    THE SIZE OF EMAILS HAS BECOME MORE IN SMALLER UP TO NOW, I CAN BARELY READ THE MESSAGE OR THE RECIPIENT.

    Have you tried to use the CTRL + 0 (zero in the first row 1 key, 2.9, 0)?

    You can also check the current zoom bar '3' Firefox menu button in the drop-down list on the Navigation toolbar (+ | 100% |-).

  • Just got new computer, when content access several Web site via firefox namely craigslist. Almost all of the text is yellow, you can't read it. Internet works fine exp

    Since the purchase of new computer am forced to use internet explore as Firefox is causing text on many sites to see in yellow. Some sites have only a few lines that appear in yellow and the other like craigslist are 80 to 90% of yellow text. I can't read this text at all.

    Other things that need your attention:

    Your system details list shows several Flash plugins.

    1. Shockwave Flash 13.0 d0
    2. Shockwave Flash 12.0 d0
    3. Shockwave Flash 11.9 d900

    You can find the installation path of the plugins on the topic: plugins page.

    You can view the Flash player for several plugins Flash player installation folder and delete all (older) versions of the plugin (NPSWF32) and (re) install the latest Flash Player.

    • (32-bit Windows) C:\Windows\System32\Macromed\Flash\
    • (Windows 64 bit) C:\Windows\SysWOW64\Macromed\Flash\
  • Everything I print from the Internet is so low that I can't read

    When I use Firefox as my browser, everything I print from the internet is so small, that I can barely read. I finally started to use IE, as I don't have the problem there. I have done all troubleshooting tasks that were recommended in the help section of Firefox. None of them worked.

    Hi eastonedge, the selection of the size of paper could remember the last size, which would be practice/irritating, depending on what prompts the last value. If you find that you need to change that often, each time, try to update to the pilot ladder, start menu > list of devices and printers.

  • I can't read the policies of Burma in this latest version of firefox, which can be read in the old version.

    I can't read the policies of Burma in this latest version of firefox, which can be read in the old version.

    This happens with other languages?

  • I can't read emails, letters too small and distorted. It happened all of a sudden when I read emails. What can I do?

    I read my emails and all of a sudden changed... page letters are so small and light, I can hardly read anything. In addition, the page got all distorted... What do you think happened? How can I solve the problem?

    When you view this page hit {Ctrl + 0} < is a zero number -to reset the zoom level for this area.

    https://support.Mozilla.com/en-us/KB/page+zoom

    If you move the scroll wheel, and are now the CTRL key, you can change the zoom level of the page that is viewed - both in & out.

  • Since this morning updated (01/11), my policy is so tiny that I can't read anything. This, even after the DOUBLING of the size of my font in tools. Unless this is addressed, I can't use Firefox more, because I don't SEE anything.

    Since this morning updated (01/11), my policy is so tiny that I can't read anything. This, even after the DOUBLING of the size of my font in tools. Unless this is addressed, I can't use Firefox more, because I don't SEE anything.

    I tried NoSquint (looked simpler) and that did the trick... I am now back to where I was before this upgrade. Thank you.

  • When I connect to my hotmail account, that the text is so small (in my hotmail Pan) that I can't read, how do I restoring it in normal text? Thank you

    When I connect to my hotmail account, that the text is so small (in my hotmail page) that I can't read, how do I restoring it in normal text? This only happens when I access my hotmail using firefox.

    Reset the zoom of page on pages that are causing problems.

Maybe you are looking for