In amd64 linux JNI problem

CPU : AMD64 opeteron
O S : Redhat Enterprise 9 AS
JAVA: java-1.4.1-ibm-1.4.1.2-1jpp_2rh --> rpm
I`m on testing JNI in 64bit linux
it`s just HelloWorld program in this site jni tutorial
I succeeded same program in Solaris8 but in linux failed
In linux compiled with -fPIC and runed java
:gcc -shared -fPIC -I/usr/lib/jvm/java/include -o libhello.so HelloWorldImp.c
-->libhello.so created
-->libhello.so was listed LD_LIBRARY_PATH
:java HelloWorld
-->error occured
The java class could not be loaded. java.lang.UnsatisfiedLinkError: /data/test/jni3/libhello.so: /data/test/jni3/libhello.so: :g ; 4: =
java program can find .so but can`t load so file
why this happen? someone have idea? need help
sorry about my english

I think I will go read the release notes. Of java? Hmm, haven't looked there yet, but this is a just a fact of the biarch system.
I wonder if any of this mumbo jumbo is documented.I tried to find a link somewhere on the web but nothing too exciting. Believe me, I have an amd64 with both 32 bit and 64 bit applications. Both work excellently as long as the appropraite libraries are present. For instance, 32 bit mplayer (to use windows codecs) must link with 32 bit X11, glibc, gif, etc. This is also why most 64 bit users have a 32 bit browser - to use 32 bit flash and java plugin (there is no 64 bit version ATM) .This is also why you most likely (if you're on linux) have a /lib,/lib32, etc.

Similar Messages

  • At the beginning of install EBS R12 on Ubuntu 8.04 amd64 (Linux Debian)

    Bonjour,
    Need help, please.
    At the beginning of install EBS R12 on Ubuntu 8.04 amd64 (Linux Debian)
    ATI graphic driver: "ati-driver-installer-8-4-x86.x86_64.run"
    All prerequisites are installed.
    appmgr@ubu:~$ /d01/Stage12/startCD/Disk1/rapidwiz/rapidwiz
    Terminal output:
    Rapid Install Wizard is validating your file system......
    4 dvd labels found
    Rapid Install Wizard will now launch the Java Interface.....
    appmgr@ubu:~$ Locking assertion failure. Backtrace:
    #0 /usr/lib32/libxcb-xlib.so.0 [0xf73cd767]
    #1 /usr/lib32/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xf73cd8b1]
    #2 /usr/lib32/libX11.so.6(_XReply+0xfd) [0xcddf31bd]
    #3 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/xawt/libmawt.so [0xce162a76]
    #4 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/xawt/libmawt.so [0xce14880a]
    #5 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/xawt/libmawt.so [0xce148a51]
    #6 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x24) [0xce148c5c]
    #7 [0xf2437fa8]
    #8 [0xf2431aeb]
    #9 [0xf2431aeb]
    #10 [0xf242f1b4]
    #11 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/server/libjvm.so [0xf765734c]
    #12 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/server/libjvm.so [0xf77f7c08]
    #13 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/server/libjvm.so [0xf765717f]
    #14 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/server/libjvm.so(JVM_DoPrivileged+0x2dd) [0xf76a636d]
    #15 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xf73762cd]
    #16 [0xf2437838]
    #17 [0xf2431a14]
    #18 [0xf242f1b4]
    #19 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/server/libjvm.so [0xf765734c]
    Locking assertion failure. Backtrace:
    #0 /usr/lib32/libxcb-xlib.so.0 [0xf73cd767]
    #1 /usr/lib32/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xf73cd81e]
    #2 /usr/lib32/libX11.so.6 [0xcddf2518]
    #3 /usr/lib32/libX11.so.6(XGetVisualInfo+0x26) [0xcdde90a6]
    #4 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/xawt/libmawt.so [0xce1476df]
    #5 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/xawt/libmawt.so [0xce147970]
    #6 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/xawt/libmawt.so [0xce148b98]
    #7 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x24) [0xce148c5c]
    #8 [0xf2437fa8]
    #9 [0xf2431aeb]
    #10 [0xf2431aeb]
    #11 [0xf242f1b4]
    #12 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/server/libjvm.so [0xf765734c]
    #13 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/server/libjvm.so [0xf77f7c08]
    #14 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/server/libjvm.so [0xf765717f]
    #15 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/server/libjvm.so(JVM_DoPrivileged+0x2dd) [0xf76a636d]
    #16 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xf73762cd]
    #17 [0xf2437838]
    #18 [0xf2431a14]
    #19 [0xf242f1b4]
    The window titled « Install Oracle Applications - Welcome » is displayed but empty;
    I Click [ X ] at the top right corner;
    The windows titled «  Oracle Applications Rapid Install Wizard Alert » is displayed, asking « Are you sure you want to exit ? » I say [ Yes ];
    On the Terminal, I press Ctrl C.
    I choose Ubuntu that is easy to use. I tried and abandoned Oracle EL5 and Solaris.

    Need help N°2, please.
    Install started well. I am facing another lot of errors, quoted as below: -----
    In the windows "System Check Details" - File Space check:
    -- database node space checks --
    RW-20013: Error: - Not enough free disk space on system:
    Database Transaction File Directory = /d01/oracle/VIS/db/apps_st/data
    required = 65064
    actual = 38180
    RW-20013: Error: - Not enough free disk space on system:
    Database Archive File Directory = /d01/oracle/VIS/db/apps_st/data
    required = 44798
    actual = 38180
    (all other Disk spaces were accepted.)
    Where I can correct the disk space allocation ? There are 67 GB free disk space on my pc, avalaible space before VIS install was 270 GB approximatively.
    ---------------------

  • NW04s Linux Trial : problem installing IBM JDK Fedora Core 6

    Hi,
    I'm trying to install the NW04S Linux Preview on a Fedora Core 6 distribution and I'm encountering a problem with the IBM JDK 1.4.2 installation.
    I've downloaded the RPM package from IBM (IBMJava2-AMD64-142-SDK-1.4.2-7.0.x86_64.rpm
    ), installed it as root but when I try to invoke the virtual machine (java) or the compiler (javac), I got the following error :
    libjvm.so preloadLibrary: /libj9vm22.so: cannot open shared object file: No such file or directory
    libjvm.so failed to load: j9vm22
    Has anyone tried to install the Linux Preview on Fedora and encountered the same problem. It might be connected to some sort of the linux dynamic linker/loader (ld.so) or versions of librairies.
    I'm really lost here and I won't be able to start the installation without a working virtual machine.
    Thanks

    I have double checked the link provided to the IBM JDK in the Linux Trial and it seems I had the wrong version. I've downloaded IBMJava2-AMD64-142-SDK-1.4.2-7.0.x86_64.rpm (1.4.2-7) and the special version for SAP is the IBMJava2-AMD64-142-SDK-1.4.2-2.0.x86_64.rpm (1.4.2-2).
    I have installed it : rpm -ivh IBMJava2-AMD64-142-SDK-1.4.2-2.0.x86_64.rpm
    I have installed it and activated it as the default JVM using alternatives command :
    alternatives --install /usr/bin/java java /opt/IBMJava2-amd64-142/bin/java 2
    alternatives --config java
    I now have a different error :
    [root@macpro ~]# java
    JVM not found: libjvm.so  - libjvm.so
    What could have I done wrong ?
    Thanks for you help

  • Forms 9i on Linux 9: Problem Opening

    I installed Oracle DS9i on Linux 9 and then the DB succesfully (I believe). Also set up the environment by changing .bashrc and .bash_profile files. When I tried to run Forms, using $ORACLE_HOME/bin/f90desm.sh I got the following error message.
    Can anyone help me to solve this problem?
    $ORACLE_HOME/bin/f90desm.sh
    SIGSEGV 11* segmentation violation
    si_signo [11]: SIGSEGV 11* segmentation violation
    si_errno [0]: Success
    si_code [1]: SEGV_MAPERR [addr: 0x1A98]
    stackpointer=0xbfffb49c
    Full thread dump Classic VM (1.3.1_02-b02, native threads):
    "Finalizer" (TID:0x42b73528, sys_thread_t:0x84b4030, state:CW, native ID:0xc
    004) prio=8
    at java.lang.Object.wait(Native Method)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)
    "Reference Handler" (TID:0x42b73300, sys_thread_t:0x84abe30, state:CW, nativ
    e ID:0x8003) prio=10
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:420)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
    "SIGQUIT handler" (TID:0x42b73330, sys_thread_t:0x84abbf8, state:R, native I
    D:0x4002) prio=5
    "main" (TID:0x42b731b0, sys_thread_t:0x846db10, state:R, native ID:0x4000) p
    rio=5
    Monitor Cache Dump:
    java.lang.ref.ReferenceQueue$Lock@42B73540/42BA9838: <unowned>
    Waiting to be notified:
    "Finalizer" (0x84b4030)
    java.lang.ref.Reference$Lock@42B73310/42BA9340: <unowned>
    Waiting to be notified:
    "Reference Handler" (0x84abe30)
    Registered Monitor Dump:
    utf8 hash table: <unowned>
    JNI pinning lock: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class linking lock: <unowned>
    System class loader lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Monitor cache lock: owner "main" (0x846db10) 1 entry
    Thread queue lock: owner "main" (0x846db10) 1 entry
    Monitor registry: owner "main" (0x846db10) 1 entry

    Hi,
    actually Oracle does not officially support any other Web client than Windows (JInitiator and Java PlugIn). This doesn't mean that a plugin on Linux isn't supposed to run. You problem seems not to be in the Forms area but even before. If teh HTTP listener says that the URL cannot be found, then the problem is on teh HTTP level.
    Can you access
    http://<server>:<port>/
    and does this bring up the OC4J home page?
    If using Forms10g, then the same address is
    http://<server>:<port>/j2ee
    If teh above was successful, try
    http://<server>:<port>/forms90/l90servlet
    This should give you a Forms page simply saying that the Forms Listener Servlet is available
    If this works, try
    http://<server>:<port>/forms90/f90servlet
    which should bring up a test.fmx forms simply saying hello.
    Frank

  • Java SE build 1.6.0_10-b33 -strange behaviour on Linux (JNI)

    Hi!
    I have developed a C program that calls a Java function using JNI under Linux Slackware.
    The program works fine, except for two problems:
    - The Java automatic garbage collection procedure generates a SIGSEV signal. Note:
    this happens also if the garbage collection procedure is called directly in the Java
    code. On Windows, with the same code, the problem doesn't exists.
    - When the process ends after to have released the dynamic memory from C
    program, sometimes Java exits with a SIGSEV signal.
    Follows an abstract of my code:
    JNIEnv * env = NULL;
    JavaVM * jvm = NULL;
    jstring jstrResponse = NULL;
    const char *pResponse = NULL;
    env = create_vm(&jvm,CLASSPATH,JNI_VERSION);
    .......... (Call to Java method)
    pResponse = (*env)->GetStringUTFChars(env,jstrResponse,0);
    if (pResponse != NULL)
         (*env)->ReleaseStringUTFChars(env,jstrResponse,pResponse);
    (*jvm)->DestroyJavaVM(jvm);
    Could someone give me some suggestion?
    Thanks
    Adriano

    Stack size perhaps?
    Allocate the buffer off the heap instead of the stack.
    The following might be related (might not as well.)
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6227033
    There is a flag that adds info for jni via the command line turn it on.

  • Dual boot Windows 7 (64) and Arch Linux (64) problems

    Hello:
    I am new to Arch Linux and just finished installing the 64bit on my laptop. It had a prebuilt Windows 7 (64) installed which I kept but split the hdd from 160Gb to 80Gb and 80Gb. I installed Arch there and set 4 partitions, all of them as Logical - a 64 MB ext2 /boot partition; a 512 MB swap partition; a 15 GB root partition; and the rest as my /home partition. My partitions look like this:
    Disk Drive: /dev/sda
    Size: 160041885696 bytes, 160.0 GB
    Heads: 255 Sectors per Track: 63 Cylinders: 19457
    Name Flags Part Type FS Type [Label] Size (MB)
    sda1 Primary Unknown (27) 12889.02
    sda2 Boot Primary NTFS 106.93
    sda3 Primary NTFS [] 73915.11*
    sda5 Logical Linux ext2 65.81*
    sda6 Logical Linux 509.97*
    sda7 Logical Linux ext2 15002.92*
    sda8 Logical Linux ext2 57549.55*
    The install was succesful(this was running from the core install cd) and I installed GRUB to my /boot but when I restarted it loaded Windows 7. I have used Knoppix USB disc to boot and see my Arch Linux install files and edited the /boot/gur/menu.lst file.
    In Windows I installed EasyBCD 1.7.2 and tried to get NeoGrub bootloader working as a dual boot. I tried getting rid of the boot flag for Windows with cfdisk and setting it to my (Logical) sda5. That did not work. So far the only way I have booted into my Arch Linux install has been by going to the Live CD, choosing "Boot from Existing Linux Install" and editing the command files there.
    root (hd0,4)
    kernel /vmlinuz26 root=/dev/sda3 ro
    initrd /kernel26.img
    My goal is to get a dual boot working for Windows 7 and Arch Linux 64 and continue installing the Xorg and KDE to Arch. I just don't know what the problem is here. I don't mind reinstalling Arch if something went wrong, but I would like to keep my Windows running in order and add Arch on.
    Any help would be greatly appreciated.

    I ran the LiveCD and chose "Install to MBR hd0". I ended up with this:
    setup hd(0,1)
    Checking if "/boot/grub/stage1" exists.....yes
    Checking if "/boot/grub/iso9660_stage1_5" exists.....yes
    Running "embed /boot/grub/iso9660_stage1_5 (hd0,1)".....failed(this is not fatal)
    Running "embed /boot/grub/iso9660_stage1_5 (hd16)".....failed(this is not fatal)
    Running "install /boot/grub/stage1 d (hd0,1) /boot/grub/stage2 p (hd0,1) boot/grub/menu.lst".....failed
    Error 31: File is not sector aligned
    My entry for Windows into the menu.lst looks like this:
    # (0) Arch Linux x64
    title Arch Linux x64
    root (hd0,4)
    kernel /vmlinuz26 root=/dev/disk/by-uuid/3841273c-d91e-41d6-9dbf-716a15d03a01 ro
    initrd /kernel26.img
    # (1) Arch Linux x64
    title Arch Linux x64 Fallback
    root (hd0,4)
    kernel /vmlinuz26 root=/dev/disk/by-uuid/3841273c-d91e-41d6-9dbf-716a15d03a01 ro
    initrd /kernel26-fallback.img
    # (2) Windows 7
    title Windows 7
    rootnoverify (hd0,0)
    makeactive
    chainloader +1

  • Linux installation problem on D20

    Hi, guys,
    I am trying to install Redhat Linux x86_64 5.3 on D20 with a Marvell 88SE63xx/64xx SAS controller. As the Linux installer cannot recognize the SAS controller, I download a driver of Marvell mv64xx for Redhat x86_64 5.2 from Lenovo driver matrix website. Unfortunately, no matter how I follow the instruction to load the driver, the so-called mv64xx doesn't drive the Marvel 88SE63xx/64xx SAS controller in D20, so that the Redhat 5.3 Linux installer cannot find any hard drive. This is ridiculous and ironic because I got 5 SAS 15rpm hard drives in D20. Does anyone know how to resolve this problem and get Redhat Linux 5.3 installed on D20 with SAS drives?
    Solved!
    Go to Solution.

    hello, good news everyone
    today i tested the upcoming kernel 2.6.31-1 with ubuntu server x64  (9.10 / karmic)
    and what can i say?
    [    2.536365] mvsas 0000:01:00.0: mvsas: driver version 0.8.2
    [    2.536374] mvsas 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    [    2.536379] mvsas 0000:01:00.0: setting latency timer to 64
    [    2.537283] mvsas 0000:01:00.0: mvsas: PCI-E x4, Bandwidth Usage: 2.5 Gbps
    [    7.769579] scsi7 : mvsas
    [    7.769954] /build/buildd/linux-2.6.31/drivers/scsi/mvsas/mv_sas.c 380hy 2 byte dmaded.
    [    7.770674] /build/buildd/linux-2.6.31/drivers/scsi/mvsas/mv_sas.c 1365:found dev[0:5] is gone.
    [    7.778539] ata7.00: ATA-7: WDC WD5000AAKS-00TMA0, 12.01C01, max UDMA/133
    [    7.778543] ata7.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
    [    7.779378] ata7.00: configured for UDMA/133
    [    7.779426] scsi 7:0:0:0: Direct-Access     ATA      WDC WD5000AAKS-0 12.0 PQ: 0 ANSI: 5
    the kernel included the mvsas module and its dependant, and ran out of the box doing anything. and yes, it's a software raid, the bios offers raid 5 and 10, but they are greyed out. okay, my graphic is now broken with 2.6.31-1, but hey, the 5 port's are working i almost forgot where i have put the 500gb disk. hdparm -tT showed 7.8gb/s buffered and 77mb/s normal read, which is normal for the drive. 
    because of the nature of a module, i believe you have to compile a kernel with support of mvsas on your own to boot linux from it, or you use the ich10 - only for optical drives - sata port, which works fine with the intel x25-m ssd.
    Message Edited by docc on 07-02-2009 12:06 AM

  • Help ! ! !Oracle 8.1.7, Linux, JDBC problem

    We have been troubleshooting a problem with our recently installed Linux (mandrake 8.0) Oracle DB Server. Everything seems to run fine, except JDBC connections. Whenever we connect to the server with one of our Java applications, JSP, Servlet, etc... the first time it works, then all other java apps get:
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    ... also, our connect strings are correct... seems to be a problem with the listener...
    this only happens on the linux server and not solaris.
    Here is the listener.ora file
    # LISTENER.ORA Network Configuration File: /disk1/OraHome1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = warf))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 216.174.11.57)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /disk1/OraHome1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = warf.world)
    (ORACLE_HOME = /disk1/OraHome1)
    (SID_NAME = warf)
    )

    Also,
    If I stop the listener and restart it... it works, but only for the first JDBC connection... ODBC seems uneffected.

  • Application Server 8.2 on RedHat Linux configuration problem

    Hello,
    We have OS Red Hat Enterprise Linux ES release 4 (Nahant Update 4),
    sun java 1.5.0,
    Sun Java System Application Server Platform Edition 8.2 (build b06-fcs),
    cpu : Intel(R) Pentium(R) D CPU 3.40GHz,
    ram : MemTotal: 2073848 kB,
    hdd : 2x SATA hdd 36Gb,
    NIC : 2x 1Gb/s LAN.
    We have problem with standart Sun Application Server Configuration on Linux.
    Even AdminGui application doesn't work properly.
    Some times, AdminGui application returns
    Unabled to handle pre-compiled JSP '/jsp/LogDetail.jsp'. Expected pre-compiled classname: 'org.apache.jsp.jsp.LogDetail_jsp'.
    Some time on browser we have "The page can not be displayed" exception and so on.
    We deployed our JSF web application on this server and have same problems with our web application. In my opinion it looks like Linux or Sun Application Server misconfiguration, but I don' t know Idea where to look.
    Help me please.

    As you already noticed, RH Linux 8.0 and 9.0 are not on the list of officially supported platforms for Application Server 8.1, but you should still be able to install and run on those Linux versions without major issues.
    Follow generic Linux installation instructions, if you do run into some problems take a look at this article which describes some common workarounds, specifically section titled "Problem: My Linux distribution is not on the list of officially supported platforms for J2EE 1.4 SDK":
    https://j2ee-sdk.dev.java.net/howtos/J2EE_SDK_Installation_HOWTO.html

  • Adobe Reader 9 Linux GUI problems

    Hi!
    I've been using Linux Mint 8 since October 2009. Before that I was using Debian Lenny. I'm trying to use Adobe Reader 9.3 for working with multiple pdf documents. I've run into some problems that didn't seem to exist when I was using it on Lenny (although it was also using Adobe Reader 9.1, so I'm not sure where the problem lies). Here are the problems...
    If I have a large number of pdf's open in tabs, I can view one, but to print, I have to click once somewhere in the toolbar before the print button works - essentially I have to click twice to activate the print button. After that, I cannot activate another tab until I first click somewhere on the document window. Between all these clicks, the mouse pointer is switching back and forth between the nice and smooth Linux mouse pointer, and the ugly and pixelly pointer that Reader uses for some reason. Finally, if I have more tabs open than fit in the width of the window, clicking on the left or right arrows that scroll the tabs scrolls all the way to the very last or very first tab. It will not just move over by one tab. If there is a really, really long list of tabs, I cannot get to the ones in the middle.
    Anyone have a solution for this? I cannot use Evince or other Linux-based pdf viewers due to the startling lack of tab support (really should be a common thing by now, in my opinion). I just don't want to have to juggle tons of windows.
    Thanks!

    I am not fully familiar with Mint, but it is based on Ubuntu ..
    Update to the latest version of Adobe Reader, and re-check these issues.
    TO UPDATE
    Check in Synaptic that the 'partner' software repository is enabled.
    At terminal type:
    (if required) update your system
    ~:   sudo apt-get update && sudo apt-get upgrade  <Enter>
    install latest Acrobat Reader (for Ubuntu Linux), AND font packs
    ~:   sudo apt-get install acroread acroread-fonts  <Enter>
    Then look for Adobe Reader in the applications menu (top left of screen).

  • Linux / Gnome - problem with moving JFrame ?

    I have a swing application which runs fine on Windows. Yesterday I tried it on a Fedora Linux (latest version) with Gnome, running Java 1.5.0_02 and I noticed the following weird problem. When you try to drag a JFrame window by the title bar to move it, it always maximizes it! When you bring it back to regular size, you see that the window was actually moved, but after that it was maximized, as if you double-clicked the title bar. It only happens with Java windows, all other X11 applications behave normally.
    Anybody else have the same problem?

    Btw, it only happens if you specify that you want JFrame and JDialog decorated:
    setDefaultLookAndFeelDecorated(true)
    As much as I like the new 1.5 Swing decorations I guess I will have to stick to no decorations under Linux.

  • ODBC Linux Memory Problem

    Hi,
    I seem to have a big problem with an application I've made.
    The application connects to a Oracle Database, fills the database with arround 1GB of information. Once the database is filled my application launches a series of queries to test performance.
    My problem is when working with Oracle 11 in Linux (Fedora and Oracle Enterprise Linux). Apparently I can't seem to get past the database filling process. The free memory vanishes quite fast, eaten up between my application proces' and Oracle's. Now, I know the problem is not with my application because the same code works perfectly in the following databases:
    Windows:
    - Oracle 10R2
    - Oracle 11g
    - PostgreSQL 8.3
    - MySQL 5.1
    - MySQL 6-alpha
    - SQL Server 2005 Express Edition
    Linux:
    - PostgreSQL 8.3
    - MySQL 5.1
    - MySQL 6-alpha
    My application actually connects to the database and starts executing the inserts successfully. It's just that at some point the memory gets filled up, pretty quickly actually. I've watched the through vmstat. The first one to fall is the free memory, then follows the cache memory. And then it starts filling up swap. When it reaches to 2GB of used swap the behavior differs with the Linux Distribution: Fedora Core 8 crashes horribly, in Oracle Enterprise Linux at some point my application's process goes to "sleep" and I seem to still be able to do other things.
    To connect to the database I use the [OTLv4 library|otl.sourceforge.net]. One might think that my problem is with OTL, but I use the same OTL in all those cases, and unless it's an issue between Oracle in Linux and OTL I don't think it's an OTL issue.
    Can anyone push me in some direction ?
    Thanks.

    Well, you seem to have a memory leak in your application, assuming nothing else is running. Check out the top(1) program; you can get it to sort the displayed processes according to how much %MEM (percent of memory) they are using. First entry is the culprit.
    The best way I've found to locate a memory leak is to run your program using valgrind(1). This tool runs your application in a virtual CPU built in to valgrind(1). It can detect tons of different memory usage issues, from using an un-initialized variable to leaked memory.
    Of course, you may not have a memory problem. Does you program generate huge bursts of I/O or is the I/O more evenly paced? Kernel I/O backlog can consume memory quickly. While your application is running, open two more windows. In one, run the command:
    $ watch -n3 -d cat /proc/meminfo
    and in the other:
    $ watch -n3 -d cat /proc/slabinfo
    Try to figure out what memory usage is steadily increasing; that can tell us if the app is leaking or the I/O channels just can't keep up.
    Hope this gives you some ideas about how to proceed.

  • Linux font problem with LabVIEW 7 Express

    Is there a change in how LabVIEW 7 Express for Linux
    uses fonts? When I run LabVIEW 6.1 (on the same
    machine) the standard font (10pt Application) looks
    very nice (in menus, front panel and diagram). With
    LabVIEW 7 they are not so good to read. What can I do?
    Thanks in advance,
    Armin Herzer

    Hello Evan,
    Sorry for the late replay, but I was on holiday last week.
    I am using Debian GNU/Linux woody 3.0 (testing). The video driver is the one which is shipped with XFree86 in this Debian installation. I also used the newest video driver from NVidia but the problem is the same (btw. is this a NVidia problem? Unfortunally I can only test on machines with NVidia cards). I attached a screenshot to visualize the problem.
    The problem is not VI specific. All text (menus, comments and so on) have this ugly font.
    Thanks in advance,
    Armin Herzer
    FH Ravensburg-Weingarten
    University of Applied Sciences
    Attachments:
    lv6170.png ‏15 KB

  • JNI problems (findclass and vm error)

    Hi,
    First please apologize if this question has already been asked. I've looked at the archives and I haven't found any answer to these problems. Thanks to take the time to read this quite long post, but I've tried to be sufficiently explicit...
    So, here's what I want to do: in the native code, generate a list (ArrayList) with some integers in it. I must add that I'm not a Java expert.
    Here's the java code calling the native function:
    package be.ac.umrtc;
    public class Main {
         public native List computeRoute(int src, int dst, float reservation)
         static{
              System.loadlibrary("cspf");
         public static void main(String[] args) throws Exception{
         List path = new Main().computeRoute(lsp.getFrom(),lsp.getTo(),lsp.getReservation());
    Now the native code:
    #include <jni.h>
    #include "be_ac_umrtc_Main.h"
    JNIEXPORT void JNICALL Java_be_ac_umrtc_Main_computeRoute(JNIEnv *env, jobject obj, jint src, jint dst, jfloat reservation){
         arraylistClass = (*env)->FindClass(env,"/java/util/ArrayList");
         if (arraylistClass == NULL){
              return NULL; // exception thrown
         cid = (*env)->GetMethodID(env,arraylistClass,"<init>","()V");
         if (cid == NULL){
              return NULL; // exception thrown
         arraylist = (*env)->NewObject(env, arraylistClass, cid);
         tempClass = (*env)->GetObjectClass(env,arraylist);
         jmethodID mid = (*env)->GetMethodID(env,tempClass,"add","(Ljava/lang/Object;)Z");
         while (longListPopBack(&computedroute,&value2)!=-1){
              fprintf(stderr,"Valeur de value: %d\n", value2);
              if (mid==0){
                   return;
              fprintf(stderr,"%d\n", bool = (*env)->CallBooleanMethod(env, arraylist, mid, value2));
    (*env)->DeleteLocalRef(env, arraylistClass);
    return arrayList;
    I get a NoClassDefFoundError on java/lang/ArrayList.
    So, I've tried to pass a List object "path" as argument to the native method (created in java)
    and proceed with:
    arraylistClass = (*env)->GetObjectClass(env,path);
    instead of FindClass.
    It seems to work well, the first call to callBoleanMethod returns 1. But then, the next call in the loop ends in a VM ERROR:
    HotSpot Internal Error, VM Error
    # HotSpot Virtual Machine Error, Internal Error
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)
    # Error ID: 43113F32554E54494D45110E4350500308
    # Problematic Thread: prio=1 tid=0x08052c30 nid=0x346d runnable
    Heap at VM Abort:
    Heap
    def new generation total 576K, used 0K [0x44df0000, 0x44e90000, 0x452d0000)
    eden space 512K, 0% used [0x44df0000, 0x44df02a8, 0x44e70000)
    from space 64K, 0% used [0x44e80000, 0x44e80000, 0x44e90000)
    to space 64K, 0% used [0x44e70000, 0x44e70000, 0x44e80000)
    tenured generation total 3724K, used 2233K [0x452d0000, 0x45673000, 0x48df0000)
    the space 3724K, 59% used [0x452d0000, 0x454fe540, 0x454fe600, 0x45673000)
    compacting perm gen total 4096K, used 3166K [0x48df0000, 0x491f0000, 0x4cdf0000)
    the space 4096K, 77% used [0x48df0000, 0x49107890, 0x49107a00, 0x491f0000)
    Java Result: 129
    The questions are thus:
    1. why does FindClass not work?
    2. why does the second call to callboleanmethod fails?
    Thanks a lot for your help.
    Olivier

    Thanks, so now I just want to return an array of integers.
    int[] computeRoute(...); in JAVA
    JNIEXPORT jintArray JNICALL Java_be_ac_umrtc_Main_computeRoute(JNIEnv *env, jobject obj, jint src, jint dst, jfloat reservation){
    int intarray[size];
    return intarray;
    does not work
    I've tried casting : return (jintArray) intarray;
    but no success
    How can I create a jintArray? And then how to insert elements in this jintArray? I've seen in the books and the tutorial how to get element from such a jintArray passed as argument... but how to create it (how to fix size when creating it) and how to set elements is not evident to me.
    Thanks for your patience.

  • Oracle 8i enterprise client linux installation problems

    Hi,
    I have a problem installing oracle 8i client on linux machine. It gives an error message when I tried to run runInstaller.
    this is the error message:
    Initializing JAva Virtual Machine from /usr/local/jre/bin/jre. Please Wait...
    Error in CreateOUIProcess():-1
    :Bad address
    The machine is PII 450 with 128 mb of ram
    Thanks,
    Gurhan Gunduz
    850-6447018

    Gurhan,
    I think it has nothing to do setting the JRE enviroment .from what I could remember is you have to install a JRE enviroment patch..
    If you check you insallation documentation..
    it tell you where to get the patch from..and I also think that you have to create symbolic link...
    If you need more info on this..I could send you the URL..where you could get the patch..
    send me an email..if you need futher assistance..I could then send you the url to get the patches from...
    good luck.
    shah

Maybe you are looking for

  • Installing mod_perl2

    Oracle 9.2.0.8 on Solaris 10 with OHS from 10g companion CD used to run Apex 3.x I would like to use NTLM authentication and had trouble compiling mod_ntlm.so so I thought a Perl solution should work just as well using http://search.cpan.org/~speeves

  • Play audio right through the dvd

    Hallo all i have authored a dvd with menus and tracks. There is a main menu that leads to other menus with info the user will read. My client wants a song to play while the user navigates the dvd. i'm able to select a audio track per menu but not to

  • Importing SAS dataset into Oracle

    I am using Oracle Data Miner (ODMr) and want to import a SAS dataset. I am unable to do this using the Data Import/SQL loader in ODMr. Can anyone please help me here? Thanks, Zypsy

  • Best way to create machine-gun effect

    Whats the best way to do a freeze frame, and then have that frame flash like 5 times in 2 seconds before continuing on with the movie?

  • Error on JCA connection with R/3 (Failure: ConnctorService)

    Hi all, i'm working with <b>SAP EP 6 SP 2</b>. I've developed an custom application that calls an BAPI on R/3 by the JCA connection. the custom component works well in the develop enviroment but it go bad in quality enviroment. when i execute it i've