Swing Java 8 Linux Radeon Crash

I'm developing a Swing app on a Linux workstation.  When resizing the window of the running app, I get a crash caused by something (I assume the JVM) trying to initialize/load the linux kernel radeon module.  I'm not using that module.  In fact, I have the radeon module blacklisted because I'm using the native fglrx catalyst driver, which requires nomodeset, and the radeon module doesn't work with nomodeset.  Running the app under Java 7, this does not occur.
Nothing special about the app: a JFrame with a toolbar and a JTable.
Any insight/tips/suggestions?
Details:
Java 8 (crashes):
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
Java 7 (works):
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
System:
Linux 3.9.10-100.fc17.x86_64 #1 SMP x86_64 GNU/Linux
X.Org X Server 1.12.4
xorg-x11-drv-catalyst 12.10

I'm developing a Swing app on a Linux workstation.  When resizing the window of the running app, I get a crash caused by something (I assume the JVM) trying to initialize/load the linux kernel radeon module.  I'm not using that module.  In fact, I have the radeon module blacklisted because I'm using the native fglrx catalyst driver, which requires nomodeset, and the radeon module doesn't work with nomodeset.  Running the app under Java 7, this does not occur.
Nothing special about the app: a JFrame with a toolbar and a JTable.
Any insight/tips/suggestions?
Details:
Java 8 (crashes):
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
Java 7 (works):
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
System:
Linux 3.9.10-100.fc17.x86_64 #1 SMP x86_64 GNU/Linux
X.Org X Server 1.12.4
xorg-x11-drv-catalyst 12.10

Similar Messages

  • Keyboard-lock of swing program on Linux box

    We are developing swing program on Linux, and we often meet keyboard-lock issues.
    I try to simplify some of them to small programs, and still meet keyboard-lock.
    Here I post two programs to show the error:
    //---first ----------------------------------------------
    package test;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    public class KeyLock extends JFrame {
      JPanel contentPanel = new JPanel();
      JPanel wizardToolPan = new JPanel();
      JButton btnBack = new JButton("Back");
      JButton btnNext = new JButton("Next");
      JButton btnAbout = new JButton("About");
      public static final String aboutMsg =
              "<html>  This program will help to find keyboard lock problems, two way to reproduce:<br><br>" +
              "1 - press Alt+N to navigate next, and don't release keys untill there are no more next page, <br>" +
              "then try Alt+B to navigate back and also don't release keys untill page 0,<br>" +
              "repeat Alt+N and Alt+B again and again, keyboard will be locked during navigating. <br><br>" +
              "2 - press Alt+A in main window, it will popup an about dialog,<br>" +
              "then press down space key and don't release, <br>" +
              "the about dialog will be closed and opened again and again,<br>" +
              "keyboard will be locked sooner or later." +
              "</html>";
      public KeyLock() {
        this.setDefaultCloseOperation(EXIT_ON_CLOSE);
        this.setTitle("Keyboard lock test");
        getContentPane().setLayout(new BorderLayout());
        btnBack.setMnemonic('B');
        btnBack.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            KeyLock.this.goBack(e);
        btnNext.setMnemonic('N');
        btnNext.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            KeyLock.this.goNext(e);
        btnAbout.setMnemonic('A');
        btnAbout.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            JOptionPane.showMessageDialog(KeyLock.this, aboutMsg, "About", JOptionPane.INFORMATION_MESSAGE);
        contentPanel.setLayout(new BorderLayout());
        contentPanel.setPreferredSize(new Dimension(400, 250));
        contentPanel.setMinimumSize(new Dimension(400, 250));
        wizardToolPan.setLayout(new FlowLayout());
        wizardToolPan.add(btnBack);
        wizardToolPan.add(btnNext);
        wizardToolPan.add(btnAbout);
        this.getContentPane().add(contentPanel, java.awt.BorderLayout.CENTER);
        this.getContentPane().add(wizardToolPan, java.awt.BorderLayout.SOUTH);
        this.setSize(400, 300);
        this.createContentPanels();
        this.showCurrent();
      private Vector<JPanel> slides = new Vector<JPanel>();
      private int current = 0;
      private void createContentPanels() {
        for (int j = 0; j < 20; ++j) {
          JPanel p = new JPanel(new FlowLayout());
          p.add(new JLabel("Page: " + j));
          p.add(new JTextField("Page: " + j + ", input something here", 20));
          p.add(new JTextField("Page: " + j + ", input something here", 20));
          p.add(new JTextField("Page: " + j + ", input something here", 20));
          p.add(new JLabel("Input something in password box:"));
          p.add(new JPasswordField(20));
          p.add(new JCheckBox("Try click here, focus will be here."));
          p.add(new JRadioButton("Try click here, focus will be here."));
          slides.add(p);
      public void showCurrent() {
        if (current < 0 || current >= slides.size())
          return;
        JPanel p = slides.get(current);
        this.contentPanel.add(p, java.awt.BorderLayout.CENTER);
        this.pack();
        Component[] comps = p.getComponents();
        if (comps.length > 0) {
          comps[0].requestFocus(); // try delete this line
        this.repaint();
      public void goNext(ActionEvent e) {
        if (current + 1 >= slides.size())
          return;
        this.contentPanel.remove(slides.get(current));
        current++;
        sleep(100);
        this.showCurrent();
      public void goBack(ActionEvent e) {
        if (current <= 0)
          return;
        this.contentPanel.remove(slides.get(current));
        current--;
        sleep(100);
        this.showCurrent();
      public static void sleep(int millis) {
        try {
          Thread.sleep(millis);
        } catch (Exception e) {
          e.printStackTrace();
      public static void main(String[] args) {
        KeyLock wizard = new KeyLock();
        wizard.setVisible(true);
    }The first program will lead to keyboard-lock in RHEL 4 and red flag 5, both J2SE 5 and 6.
    //---second -----------------------------------------
    package test;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class KeyFocusLost extends JFrame {
      private JButton btnPopup = new JButton();
      private JTextField jTextField1 = new JTextField();
      private JPasswordField jPasswordField1 = new JPasswordField();
      private JPanel jPanel1 = new JPanel();
      private JScrollPane jScrollPane3 = new JScrollPane();
      private JTree jTree1 = new JTree();
      private JButton btnAbout = new JButton("About");
      public static final String aboutMsg =
              "<html>  This program is used to find keyboard focus lost problem.<br>" +
              "Click 'popup' button in main window, or select any node in the tree and press F6,<br>" +
              "a dialog popup, and click ok button in the dialog,<br>" +
              "keyboard focus will lost in main window." +
              "</html>";
      public KeyFocusLost() {
        this.setDefaultCloseOperation(EXIT_ON_CLOSE);
        this.setTitle("Keyboard focus test");
        getContentPane().setLayout(null);
        btnPopup.setBounds(new Rectangle(33, 482, 200, 35));
        btnPopup.setMnemonic('P');
        btnPopup.setText("Popup and lost focus");
        btnPopup.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            PopupDialog dlg = new PopupDialog(KeyFocusLost.this);
            dlg.setVisible(true);
        btnAbout.setBounds(new Rectangle(250, 482, 100, 35));
        btnAbout.setMnemonic('A');
        btnAbout.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            JOptionPane.showMessageDialog(KeyFocusLost.this, aboutMsg, "About", JOptionPane.INFORMATION_MESSAGE);
        jTextField1.setText("Try input here, and try input in password box below");
        jTextField1.setBounds(new Rectangle(14, 44, 319, 29));
        jPasswordField1.setBounds(new Rectangle(14, 96, 319, 29));
        jPanel1.setBounds(new Rectangle(14, 158, 287, 291));
        jPanel1.setLayout(new BorderLayout());
        jPanel1.add(new JLabel("Select any node in the tree and press F6."), java.awt.BorderLayout.NORTH);
        jPanel1.add(jScrollPane3, java.awt.BorderLayout.CENTER);
        jScrollPane3.getViewport().add(jTree1);
        Object actionKey = "popup";
        jTree1.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_F6, 0), actionKey);
        jTree1.getActionMap().put(actionKey, new AbstractAction() {
          public void actionPerformed(ActionEvent e) {
            PopupDialog dlg = new PopupDialog(KeyFocusLost.this);
            dlg.setVisible(true);
        this.getContentPane().add(jTextField1);
        this.getContentPane().add(jPasswordField1);
        this.getContentPane().add(jPanel1);
        this.getContentPane().add(btnPopup);
        this.getContentPane().add(btnAbout);
      public static void main(String[] args) {
        KeyFocusLost keytest = new KeyFocusLost();
        keytest.setSize(400, 600);
        keytest.setVisible(true);
      static class PopupDialog extends JDialog {
        private JButton btnOk = new JButton();
        public PopupDialog(Frame owner) {
          super(owner, "popup dialog", true);
          setDefaultCloseOperation(DISPOSE_ON_CLOSE);
          this.getContentPane().setLayout(null);
          btnOk.setBounds(new Rectangle(100, 100, 200, 25));
          btnOk.setMnemonic('O');
          btnOk.setText("OK, then focus lost");
          btnOk.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
              PopupDialog.this.getOwner().toFront();
              try {
                Thread.sleep(100); // try delete this line !!!
              } catch (Exception ex) {
                ex.printStackTrace();
              PopupDialog.this.dispose();
          this.getContentPane().add(btnOk);
          this.getRootPane().setDefaultButton(btnOk);
          this.setSize(400, 300);
    }The second program will lead to keyboard-focus-lost in RHEL 3/4 and red flag 4/5, J2SE 5, not in J2SE 6.
    And I also tried java demo program "SwingSet2" in red flag 5, met keyboard-lock too.
    I guess it should be some kind of incompatibleness of J2SE with some Linux platform. Isn't it?
    Please help, thanks.

    Hi.
    I have same problems on Ubuntu with Java 6 (all versions). I would like to use NetBeans or IntelliJ IDEA but it is not possible due to keyboard locks.
    I posted this bug
    https://bugs.launchpad.net/ubuntu/+bug/174281
    before I found some info about it:
    http://forums.java.net/jive/thread.jspa?messageID=189281
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6506617
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6568693
    I don't know from which part this bug comes, but I wonder why it isn't fixed yet. Does anybody else use NetBeans or IntelliJ IDEA on linux with Java 6 ?
    (I cannot insert link :\ )

  • OS X 10.6.8 using MOZILLA Firefox java applet plugin has crashed

    Hello everyone!
    I am running OS X 10.6.8 with the latest java plugins downloaded via software updates from Apple. 
    I am using Mozilla Firefox version 28.0. 
    I wanted to use a website (www.vectis.co.uk) to view a live bidding auction, but everytime I try to connect, it says that my 'java applet plugin has crashed'.  I have checked what version of java I have, it is 1.6.0_65 which I believe is the latest version.  The minimum requirement according to Vectis is version 1.6.0_35.
    I am using Firefox because Vectis states they do not support Safari.  My version of Firefox is the latest.  When I check the plugins via 'Firefox Tools -> Add-ons -> Check to see if your plugins are up to date' , it says that Java plugin is 'vulnerable' and I should obtain the latest version by going to Apple 'software updates' to ensure I have the latest version of java.  Why does Firefox not recognise the latest version of Java plugin from Apple?  I believe that for OS X 10.6, Apple provides Java plugin updates and there is no need to dowload anything further, so I am unable to install any other Java applet plug-in because they are supplied by Apple.
    Why does the java applet not work?? 
    This is killing me, please help!!
    Thank you
    Leila

    You might try looking/posting here.
    Firefox

  • Illustrator CC2014 crashes at launch on Mac OS X Yosemite (10.10.1), I've updated Java and it still crash

    Hi!
    I need kelp, Illustrator CC2014 crashes at launch on Mac OS X Yosemite (10.10.1), I've updated Java and it still crash.
    Then I moved to a different carpet plugin files that look like this and didn't worked.

    I have no idea about the second part of your question but as for Java you need to install the Apple Java for OSX 2014-001. Look for it on the Apple site.

  • Deploy Swing Java DB application in Jdeveloper 11g

    Hi
    I created a simple Swing Java DB application in Jdeveloper 11g,
    after I deploy this simple swing application, I try to run the jar file, I got the following error:
    C:\Jdev1013\jdevhome\jdev\mywork\Application2\Client\deploy>java -jar myJar.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jbo/uicli/controls/JUPanel
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Caused by: java.lang.ClassNotFoundException: oracle.jbo.uicli.controls.JUPanel

    Hi Shay,
    Thanks for your response.
    The following is what I did:
    1. connect JavaDB on my C drive by using generic jdbc
    2. create EO, VO and AM manually based on one JavaDB table (Please note: When I use the BC4J wizard, I can only create VO, the EO is empty)
    3. run BC4J tester to insert and update data
    4. created an ADF Swing application by dragging the EMPview from data control to the editor
    5. save the project and run java class
    6. create the deployment profile by following your instruction,
    and select all libraries from the Contributors list when I create the file groups
    7. deploy the jar file without any error
    8. run the jar file and get the following error:
    C:\Jdev1013\jdevhome\jdev\mywork\Application2\Client\deploy>java -jar myJar.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jbo/uicli/controls/JUPanel
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Caused by: java.lang.ClassNotFoundException: oracle.jbo.uicli.controls.JUPanel
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    ... 12 more
    Could not find the main class: client.PanelDerbydbView. Program will exit.
    Thanks

  • Generate a thumbnail from HTML by pure Java on Linux without Graphics

    hi - we in a requirement where we have to generate thumbnails from HTML code. The solution must be implemented in pure Java on Linux where there is no graphics support.
    Options tried already are :--
    1. 3rd party websites - rolled out by our client.
    2. Paid products - rolled out by our client
    3. Media Tracker and other java API - no luck as there is no support after HTML 4.0
    4. Using any os dependent native library - rolled out by our client.
    5. Lobo browser - but having troubles like it opens the browser before screenshot is taken, sometimes. Gone through by putting Thread.sleep() in between and saving remote images into a local html file etc. We got some success in there but problem doesn't end here.
    Questions -
    1. In the point # 5 above, our Linux server had graphics support but in code we set the system property java.awt.headless= true before capturing and generating thumbnail. My question is, if we set this property in the code then does it mean 100% that our code will not use any graphics support, if present in the underlying OS?
    2. Is this really possible to generate images in java on Linux where there is no X window/X server installed? Are we just wasting time in order to achieve which is unachievable?
    Any suggestions are most welcome.
    Regards,
    Sanjeev

    Thanks for ur response! Yeah - we tried but requirements are little different. We have HTML that we have to first render. Whatever output comes, we have to take a screenshot. So in order to render the html we have to have a browser first and I believe every OS which is providing browser support is having Graphics capabilities because browser would have frames, windows, toolbars, menubars etc which fall under Graphics.
    The above way is the only way that I know. If there are another way which ofcourse doesn't require graphics support, please let me know.
    So the question basically is - if I follow above mentioned image (like opening browser and capture screenshot) then is it possible on Linux with no graphics support? Actually I read on internet that lobo browser (written in java) supports this kind of feature.

  • Set Date Time Computer with Java in Linux OS

    Dear All,
    How to set date time computer with Java in linux OS?
    Rgds,
    Theo

    There is no API for this you'd have to run an external command using Process.exec.
    This is the wrong forum for general Java "how to" questions.

  • LINUX OS crashing

    hi every body
    i am a newbie .
    i was trying to install 10g on OEL 5.6 on VMware according to this article.
    http://kamranagayev.wordpress.com/2009/01/05/installing-centos-on-vmware-step-by-step/
    i have done all the installation steps correctly and when the installation is complete and i try to reboot then my linux sytem crashes
    giving this error
    “Panic on CPU 0
    General protection fault
    error_code 0000 :”
    i am getting the options of selecting the kernal and when i select it ,it produces some code and then this error is generated and OS restarts .
    i am a student and donot know much about linux.
    plz plz help me and m sorry for posting it under the wrong topic but no one is replying me on other forums.may be some one here can help me .
    i have performed this installation 3 times :(
    looking forward to any response.
    thanx in advance .
    REGARDS !

    When installing Oracle make sure you follow the installation guide very carefully and make sure you have the kernel settings as a min below. I have ran into the issues you are seeing before and it is most likely an inncorect setting. Go back through and follow step by step.
    kernel.shmall = 2097152
    kernel.shmmax = 536870912
    kernel.shmmni = 4096
    kernel.sem = 250 32000 100 128
    fs.file-max = 65536
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default=262144
    net.core.wmem_default=262144
    net.core.rmem_max=262144
    net.core.wmem_max=262144
    Also make sure you set the Oracle limits correct.
    /etc/security/limits.conf
    oracle soft nproc 2047
    oracle hard nproc 16384
    oracle soft nofile 1024
    oracle hard nofile 65536
    http://www.oracle.com/technology/pub/articles/smiley_10gdb_install.html

  • Java in Linux

    Can I use Gtk components in my java applications?
    I tried to install java in linux. But I had lots of problems. So I decided to do this with a plan. Because I have to install lots of things or I made it hard for me.
    What shall I install and in which queue shall I install them? (JDK, JRE, Java studio or netbeans...)
    Thanks for any help...

    And can I use linux's textboxes, labels, chackboxes etc. in java?Well, I guess they're GTK's widgets you are talking about, not Linux's ...;) But, yes, according to these people: http://java-gnome.sourceforge.net/ "Since 1998, the java-gnome project has been offering Java bindings for the GTK widget toolkit and for the rich family of libraries making up the GNOME desktop."
    Meanwhile the little white angel figure waggles its finger and cautions:
    -- I've never used this software
    -- If you're new to Java, consider that it has a big API: that means lots of widgets and things to learn. If you add to this the task of learning to communicate between this language and another, this is looking like a lot of work. At least learn the language first!
    -- Using JNI (ie communicating at a low level with the OS) which this approach involves, may be a case of banging like h3ll on a square peg to force it into a round hole. At a minimum you lose OS independency (the freedom for your software to run on any* OS).
    But who listens to the little white angel figure? Good luck!
    * where any==possessing a jre; but note how I've dragged freedom into it!

  • Central CCMS Alert for Java instance server node crash

    Hi,
    Is it possible to trigger an alert of an Java system server node crash using central CCMS alerts.
    J2EE instance CCMS alert does show some MTEs, however they do not trigger alerts. I got this info from below link
    http://help.sap.com/saphelp_nwce711/helpdata/en/46/11aaf352da14dce10000000a155369/frameset.htm
    Any idea how to trigger the alert for server node crash.
    I understand that server node crash should be investigated for permanent fix, however we need this as a proactive measure to know the crash if they happen.
    Thanks
    Imtiaz

    Hi Imtiaz,
    Do you see any error on the view>status auto-reaction? Have you been able to assign an auto-reaction to this MTE?
    Cheers,
    Maurício

  • How good is java in linux?

    I am a linux newbie and was planning to put linux on computer. I wanted to know how good java performs under linux. Is it faster? Is it slower? Also, I seen many people asking for help installing the 1.4.1 implementation. Is it tough to install java on linux ? Note: I plan on installing YellowDog Linux 3.0 when it's released on cd. YellowDog is for PPC's and I'm installing it because I've never had the chance to develop with the Java2 platform on Mac OS because my computer's G3 just can't handle OS X.
    Thanks.

    I don't know if there is a Linux-PPC version of Java available. And the versions listed on the download page for "Linux" are i386-based (unless otherwise explicitly specified).
    As far as Linux, goes: learn the system first before you try to jump into programming on it. "Raw" Unix-systems are VERY different, especially if you're coming straight from a Mac-OS. Get a good book and work through it. Linux is getting better at being a good "out-of-the-box" experience, but there's a lot of stuff in there...

  • CVI 8.0 Linux runtime crashing in PlotStripChart

    I'm trying a quick port of some old CVI 5.5 code to the CVI Linux runtime 8.0. Building the Windows code with CVI8.0.1 on Windows 2000 in an Oracle Virtualbox-3.2 on Ubuntu 8.04 it all works so I know there are no CVI 5.5 -> 8.0 issues. But after building with cvicc the Linux code crashes when run on Ubuntu 8.04. Using the KDbg interface to gdb I've isolated it to PlotStripChart() function call.
    This is what is puzzling and got me stumped, if I build the stripchart.prj example on Ubuntu 8.04 it plots a stripchart just fine. I've also used the stripchart control on other CVI Linux Runtime projects and it always worked. The only difference I could find was this code is plotting VAL_INTEGER where the example and my other code was plotting VAL_DOUBLE, but modifying my plot buffer and the PlotStripChart() to use doubles still fails.
    If I comment out the single PlotStripChart() line in the code it runs fine and appears to work correctly. Its a fairly complicated application that communicates over TCP/IP to a networked real-time controller and provides the user interface and data saving functions for our experiment. On a couple of dry runs without the PlotStripChart() call the saved data and output commands all appear correct, so this appears to be the only issue.
    Any suggestions, I'm out of ideas and getting no more clues from KDbg/gdb.
    I'm in the process of trying out the CVI2010 Linux Runtime Beta, but since CVI2010 no longer supports Windows 2000 I'm slowed down by having had to set up an XP virtual machine (Boy there sure are a lot of patches since my last MSDN XP disk ) and the fact that alien fails to create the 32-bit files on the 64-bit Ubuntu 10.04 I'm currently targeting. I'll have to convert the runtime rpm files on my 32-bit Ubuntu 8.04 system. Not a showstopper but a time-waster so I've had to put it aside for now. I have the 8.0 CVI Linux Runtime apparently working on 64-bit Ubuntu 10.04 so I expect the same procedures should get me going with the 2010 beta once I get alien to make the 32-bit deb files from the rpm files.
    Solved!
    Go to Solution.

    Hassan A wrote:
    Hi Wally_666,
    I would like to attempt to reproduce this issue to figure out exactly what is going on.  If you can provide me with the workspace, project and all necessary source files for your application (preferably in a .zip file) after you ported it to CVI 8.0.1 that would be appreciated.
    -Hassan A.
    Applications Engineer
    National Instruments
    I'm happy to see this follow up, but without the networked data source to connect to, my program will just quit with an error message and there will never be a call to the PlotStripChart function if I comment out the exit, as there will be no incoming TCP/IP data.
    At one point during development I had a little program that would run on the local system and accept the TCP/IP connection, swallow any commands and fake a reasonable response,  while outputting pretend (sawtooth-wave) data on a few channels.
    Let me try and recreate it on the 2010 beta runtime and if I can then I will be willing to put some work into trying to let you duplicate it.  If importing the Windows CVI 8.0 UIR file into CVI 2010beta fixes the issue when loaded by the Linux Runtime 2010beta its not worth either of our efforts to resolve.
    As I said it will be next week at the earliest before I can get back to trying the beta.
    Attached is the UIR file from my Windows archive, you might load it into a blank project, run the code generator and then have the timer callback plot some random data.  Then you could move the project to Linux and run cvicc and see if it locks up in the PlotStripChart function or not.
    I could do UIR edits on Windows and added a few debugging indicators and it always worked when run on Windows and failed when run on Linux after building with cvicc until I deleted the stripchart control and pasted in a version copied from an another variaton of the code. I suspect deleting and re-creating would have worked too, but the stripchart  had a lot of color and other attribute tweaks from the defaults, all via the UIR editor long ago. 
    I suspect there is something corrupt in this UIR file that LoadPanel on Windows fixes or ignores but causes the control to fail (lock up the process) when loaded on Linux.
    Using CVI 8.0.1 on an Oracle Virtualbox with the source code on a network share (to the local Linux machine) was very convenient as the Virtualbox NAT let it connect to my networked data source to verify the Windows version worked.   The only real hassle was after building on Windows I had to delete the civbuild.* directory before I could run the cvicc command on the shared source directory.
    I see some requests for "running the full IDE on Linux", but I think NI could do almost as well with minimal effort by licensing VIrtualbox  & and a Windows version to distribute a CVI "appliance VM" of the Windows IDE and appropriate CVI version.  Documenting some tips abut using gdb with KDbg or ddd or whatever on the cvicc -debug code would finish the deal.  I found KDbg easier to start with for converging on the statement causing the lockup.  But while gdb is a pretty big step down from the CVI debugger (which is by far the best I've ever used!) it is more than servicable.
    --wally.
    Attachments:
    stripchart.uir ‏25 KB

  • Seek help for install java under linux

    I have successfully installed java on linux , but not able to use many features tht i possibly could , such as jdbc , prblms on Mysql. most buggin prblm how do i set the compiler path to compile files from my home directory. i have to forcefully use the bin directory and run the complier given long address for the files. plz help.
    abhi

    abhi
    I don't know about your MySQL problems based on what you have posted - can you post any more specific information? Have you got the relevant MySQL drivers in your classpath? The drivers are available here:
    http://www.mysql.com/downloads/download.php?file=Downloads/Connector-J/mysql-connector-java-2.0.14.tar.gz
    the README in that file will give you installation instructions.
    how do i set the compiler path to compile files from my home directorySet the CLASSPATH environment variable to include whichever directories you like, eg (on bash) type:
    export CLASSPATH=$CLASSPATH:.:<your java dirs>To make java easier to run, put the directory in which it is installed into your path:
    export JAVA_HOME=<where you installed java>Then do
    export PATH=$PATH:$JAVA_HOME/binverify it has worked by simply typing
    javaYou can put all of these commands into the .*rc file for your shell, so that they are executed every time you open the shell. So if you are using bash you can put them into ~/.bashrc
    Read up setting the PATH and CLASSPATH for more info.
    HTH
    Matt

  • Fall into a trouble when calling a dll from java in linux

    Hi, experts:
    I encountered a big trouble when using JNI to call a C++-compiled DLL from java in Linux: The DLL function didn't execute immediately after the invocation, and was deferred till the end of the Java execution. But all worked well after migrating to windows. This problem made me nearly crazy. Can somebody help me? Thanks in advance.
    Linux: fedora core 8, jdk1.6.0_10,
    compile options: g++ -fPIC -Wall -c
    g++ -shared

    It looks like the OP compiled the C source file and linked it into a Windows .dll, which would explain why it worked flawlessly in Windows. (Though I must say the usage of GCC would make someone think it was compiled in Linux for Linux, GCC also exists for Windows, so I'm not sure it's a Windows .dll either...)
    @OP: Hello and welcome to the Sun Java forums! This situation requires you to make both a .dll and a .so, for Windows and Linux. You can then refer to the correct library for the operating system using System.loadLibrary("myLibrary"); without any extension.
    s
    Edited by: Looce on Nov 21, 2008 11:33 AM

  • Call Windows COM/DCOM objects from Java on Linux

    Hello, is it possible to call COM/DCOM objects running on Windows from Java on Linux machine? Thank you.

    I don't know anything about it but it looks like EZ JCom in conjunction with the included Remote Access Service does what you're after. It's not free though.
    http://www.ezjcom.com/

Maybe you are looking for

  • Do we have option not to refresh the data in AP invoice while copying from GRN and change the date of the invoice in SAP 9 PL 0

    Hi I have update tax details in GRPO but while copy to AP invoice system pick posting date/ document date as system date and if i change the date the screen refresh and the tax details i have updated it change. that i do not want. Is there any option

  • [SOLVED]Gnome 3 only fallback mode

    I've got an ati radeon hd 4350 graphics-card. I'm using the radeon driver. But, gnome 3 will only boot in fallback mode. Mesa-demos is installed. Glxinfo | grep rendering yields "direct rendering: Yes". According to Gnome 3 system info, my graphics d

  • HT3964 macbook pro early 2008 does not respond to the power button

    I bought a second hand mbp early 2009. All seemed well when I tested it prior to buying. But, now 2 days later, the mbp is completely dead. In the past 2 days I had sudden power-downs (suddenly switching of completely). First I thought it was the bat

  • Iphone google redirect virus

    I have iPhone 4S and using chrome app. Google recently give me a lot of problem, it redirect to me to some website I never heard before such as http://corp.kaltura.com/. It was different website couple days ago. I tried on Safari, both app will have

  • BPEL callbacks silently failing

    I've just come back from one of the SOA bootcamp sessions and encountered a problem we (being me and the guy running the lab) couldn't resolve in there. Software is the standalone SOASuite 10.1.3.1 on top of OLite, and JDev 10.1.3.2. Both using the J