Sun studio not working in linux

I installed sun studio 12 in suse 10 linux, and i created a simple pgm,
when compiling it, it shows these below errors,
Running "/root/Desktop/sunstudio12/bin/dmake -f Makefile CONF=Debug" in /root/SunStudioProjects/Add
dmake: defaulting to parallel mode.
See the man page dmake(1) for more information on setting up the .dmakerc file.
linux-n3wz --> 1 job
/root/Desktop/sunstudio12/bin/dmake -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf
linux-n3wz --> 1 job
mkdir -p build/Debug/Sun12-Linux-x86
cc -c -g -o build/Debug/Sun12-Linux-x86/newmain.o newmain.c
linux-n3wz --> Job output
mkdir -p build/Debug/Sun12-Linux-x86
cc -c -g -o build/Debug/Sun12-Linux-x86/newmain.o newmain.c
(/root/SunStudioProjects/Add)newmain.c:
"/root/Desktop/sunstudio12/prod/include/cc/stdio.h", line 5: cannot find include file: <stdio.h>
"/root/Desktop/sunstudio12/prod/include/cc/stdlib.h", line 6: cannot find include file: <stdlib.h>
"newmain.c", line 17: warning: implicit function declaration: scanf
"newmain.c", line 19: warning: implicit function declaration: printf
"newmain.c", line 20: undefined symbol: EXIT_SUCCESS
cc: acomp failed for newmain.c
*** Error code 2
dmake: Fatal error: Command failed for target `build/Debug/Sun12-Linux-x86/newmain.o'
Current working directory /root/SunStudioProjects/Add
*** Error code 1
dmake: Fatal error: Command failed for target `.build-impl'
Build failed. Exit value 1.
CAN any body tell me whats the exact problem?
this same pgm is currectly running in sunstudio 12 installed in solaris.

satmatrix wrote:
ok, shall i install ubuntu in my laptop?No, I'm just saying that I'm not familiar with SuSe enough to tell what package you need to install to have standard includes. But you already have an answer now...
Solaris 10 is not installable in my laptop, it doesnt support graphics, also i had tried opensolaris, it works without errors and it supports graphics,
but can i install Sun Studio 12 in that?Of course. You can do it using OpenSolaris package manager; no need to download, unpack, install - package manager will do it for you.

Similar Messages

  • Why my RMI is not Working in Linux???

    Hiii how ru?
    I am Rahul here
    Well I have a problem that my RMI in not working on Linux.. so can u tell me the solution to my problem???
    When i am typing following command i am getting exception as RmiNotBoundException
    java -Djava.security.policy=my.policy ChaClient&
    however my Server is Starting normally but client is not connection to server.
    so please tell me the solution to this problem
    U can contact me at
    [email protected]
    [email protected]
    Thank u Very much...

    i ran into the same issue dealing with RMI and Linux. My issue was the the stub that linux was giving you gave in the host field the ip number of "127.0.0.1" which tried to make the client connect to itself. this is how i got around it:
    java -Djava.rmi.server.hostname=<ip that other clients will connect to>
    so, for instance, if on a client you connect to the server with an IP of 10.5.0.1, then when starting up the java vm, you start it
    java -Djava.rmi.server.hostname=10.5.0.1
    hopefully that helps

  • Wireless not working in linux, but works fine in windows vista

    Hello!
    I have installed Unbreakable Enterprise Linux 4 in a dual boot config. with Window Vista on a Compaq Presario laptop. After install completed I found that my on board Broadcom Wireless Adapter (Dell 1390 Mini PC card) was not recognized. I have tried installing NDISwrapper versions 1.48 and later 1.47 (after uninstalling 1.48) because everytime I got to the "modprobe ndiswrapper" received a fatal error about an unknown symbol or parameter, and on install I also encountered a "CONFIG_4KSTACKS" error as well. The good part is the light on my laptop for the wireless adapter finally came on and the driver (bcmwl5.inf) appears to be installed and the wireless adapter identified as being present, but it still doesn't show up in the network manager gui interface. So I am out of ideas if any one can give me a suggestion for a solution I would appreciate it.

    Hi there,,,,,
    I have Oracle Enterprise Linux 5 installed and Intel wifi 5100 card installed on my laptop. Wireless card does not work in Linux it works fine with Vista, I have dual boot. I have downloaded and installed the microcode for the wireless card for Linux,,,it is now active but it does not take ip address from dhcp and nor does it connect when i supply manual ip. it does not even scan for any wireless network. I have WEP enabled on my wireless network. It just says disconnected.....
    Please help me.....i have been trying to get this thing work for 3 weeks.
    thanks.

  • Webutil not working in linux

    Hi all,
    i have insert image using webutil(oracle forms 10g) to database in windows o.s. it was successful.
    but when i have tried it in solaries o.s. .
    It is not working in linux how to do it in solaries o.s.
    when i am clicking on the browse button it is showing pl/sql error how to solve it.
    please guide me ..

    HI Anderas,
    i am using using a demo form of webutil which is available on internet i.e WEBUTIL_DOCS.fmb
    which is working fine on windows sp2(when i am clicking on the browse button)
    but it is not working on linux when i am clicking on the browse button it is showing pl/sql error.
    code in browse butrton
    Declare
         LC$Fichier Varchar2(128 ) ;
    Begin
    LC$Fichier := PKG_FICHIERS.Selection ;
    If LC$Fichier is not null Then
    :TRANSFERTS.FIC_SOURCE := LC$Fichier ;
    End if ;
    End ;
    and the package is
    package specification
    ==================
    PACKAGE PKG_FICHIERS IS
    -- Sélection d'un fichier --
    FUNCTION Selection ( PC$Filtre IN Varchar2 DEFAULT '|All files|*.*|' ) RETURN VARCHAR2 ;
    END;
    package body
    =============
    PACKAGE BODY PKG_FICHIERS IS
    -- Sélection d'un fichier --
    FUNCTION Selection ( PC$Filtre IN Varchar2 DEFAULT '|All files|*.*|' )RETURN VARCHAR2
    IS
    LC$Path Varchar2(128) ;
    LC$Fichier Varchar2(256) ;
    LC$Filtre          Varchar2(100) := PC$Filtre ;
    Begin
         -- Répertoire temporaire --
         LC$Path := CLIENT_WIN_API_ENVIRONMENT.Get_Temp_Directory ;
    LC$Fichier := WEBUTIL_FILE.FILE_OPEN_DIALOG
         LC$Path,
         LC$Filtre,
         'Select a file to upload'
    Return LC$Fichier ;
    END Selection ;
    END;
    please reply..

  • KeyListener not working in Linux

    Hello guys, I'm having a weird problem I was hoping I could get resolved.
    I finished a Pong applet for my Java class, and it works just fine under Windows and on my Mac.
    But when I run it under Linux, the Applet doesn't work correctly.
    The applet draws, and my timer works, but my KeyListener does not work.
    I believe all of my Java files are updated properly.
    But I do not understand why KeyListener does not work under Linux, but it does in Windows.
    I then made a very basic applet just to test my KeyListener, and it still does not work.
    This is how I was taught to do KeyListeners, but if I'm doing something wrong, please help me out!
    here is the basic program code:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Test extends JApplet implements KeyListener
    int x = 0;
    int y = 250;
    public void init()
    addKeyListener(this);
    public void paint(Graphics g)
    g.setColor(Color.white);
    g.fillRect(0,0,500,500);
    g.setColor(Color.black);
    g.fillRect(x,y,50,50);
    public void keyPressed(KeyEvent event)
    int keyCode = event.getKeyCode();
    if(keyCode == KeyEvent.VK_RIGHT)
    x += 10;
    public void keyReleased(KeyEvent event)
    public void keyTyped(KeyEvent event)

    What if don't use a KeyListener but instead use key binding? For instance,
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    @SuppressWarnings("serial")
    public class Test2 extends JPanel {
      private static final int DELTA_X = 10;
      private static final int DELTA_Y = DELTA_X;
      private static final Dimension MAIN_SIZE = new Dimension(600, 600);
      enum Arrows {
        LEFT(KeyEvent.VK_LEFT, -DELTA_X, 0),
        RIGHT(KeyEvent.VK_RIGHT, DELTA_X, 0),
        UP(KeyEvent.VK_UP, 0, -DELTA_Y),
        DOWN(KeyEvent.VK_DOWN, 0, DELTA_Y);
        private int keyCode;
        private int deltaX, deltaY;
        private Arrows(int keyCode, int deltaX, int deltaY) {
          this.keyCode = keyCode;
          this.deltaX = deltaX;
          this.deltaY = deltaY;
        public int getDeltaX() {
          return deltaX;
        public int getDeltaY() {
          return deltaY;
        public int getKeyCode() {
          return keyCode;
      int x = 0;
      int y = 250;
      public Test2() {
        setBackground(Color.white);
        setPreferredSize(MAIN_SIZE);
        InputMap inMap = getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW);
        ActionMap actMap = getActionMap();
        for (Arrows arrow : Arrows.values()) {
          inMap.put(KeyStroke.getKeyStroke(arrow.getKeyCode(), 0), arrow);
          actMap.put(arrow, new MyAction(arrow));
      private class MyAction extends AbstractAction {
        private Arrows arrow;
        public MyAction(Arrows arrow) {
          this.arrow = arrow;
        public void actionPerformed(ActionEvent e) {
          x += arrow.getDeltaX();
          y += arrow.getDeltaY();
          repaint();
      @Override
      public void paintComponent(Graphics g) {
        super.paintComponent(g);
        g.setColor(Color.black);
        g.fillRect(x, y, 50, 50);
    import javax.swing.JApplet;
    @SuppressWarnings("serial")
    public class TestApplet extends JApplet {
      public void init() {
        try {
          javax.swing.SwingUtilities.invokeAndWait(new Runnable() {
            public void run() {
              createGUI();
        } catch (Exception e) {
          System.err.println("createGUI didn't successfully complete");
      private void createGUI() {
        getContentPane().add(new Test2());
    }

  • JCombox does not work under linux (fedora) could you help me???

    Hi All,
    I am implementing a GUI for a linux application. This GUI works fine under windows system. But the JCombobox does not work under Linux system. Would you help me to solve it? Thank you very much!..
    The problem is that I cannot select any other item except the first item in the dropdown box of JCombobox. There is no event generated when I click the combobox, while events are generated for other Buttons.
    This problem exists for the following code when I maximize the window. When the window is minimize to some extend in my problem, it is OK.
    Here is the simplify code:
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.io.Serializable;
    import java.util.Vector;
    import javax.swing.ComboBoxModel;
    import javax.swing.JComboBox;
    import javax.swing.JFrame;
    import javax.swing.event.ListDataEvent;
    import javax.swing.event.PopupMenuEvent;
    import javax.swing.event.PopupMenuListener;
    import java.awt.event.*;
    import javax.swing.*;
    //carmen
    import javax.swing.filechooser.*;
    import javax.swing.event.*;
    import javax.swing.Box;
    import javax.swing.BoxLayout;
    import javax.swing.border.*;
    //import AlwaysSelectableComboBoxDemo.AlwaysSelectableComboBox;
    //import AlwaysSelectableComboBoxDemo.AlwaysSelectableComboBox;
    import java.io.*;
    import java.util.*;
    import java.lang.String.*;
    public class Test extends JFrame
         private JComboBox jComboBox1;
         private JComboBox jComboBox2;
         private JPanel contentPane;
         private JTabbedPane jTabbedPane1;
         //Main Tab
         private JPanel Main;
         private JPanel OutputSimSet;
         private JPanel Test;
         private JPanel ScriptGenTab;
         private JPanel ResultTab;
    //Result Tab
    private JPanel SimResult;
         public Test()
              super();
              //initializeComponent();
              contentPane = (JPanel)this.getContentPane();
              jTabbedPane1 = new JTabbedPane();
              Main = new JPanel();
              OutputSimSet = new JPanel();
              Test = new JPanel();
              ScriptGenTab = new JPanel();
              ResultTab = new JPanel();
              SimResult = new JPanel();
         jComboBox1 = new JComboBox(
                        new String[]{"Item 1","Item 2", "Item 3"});
                        jComboBox1.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent ae) {
                        System.out.println("Yeah");
         jComboBox2 = new JComboBox(
                                  new String[]{"Item 1","Item 2", "Item 3"});
                                  jComboBox2.addActionListener(new ActionListener() {
                                  public void actionPerformed(ActionEvent ae) {
                                  System.out.println("Yeah");
              // jTabbedPane1
              jTabbedPane1.addTab("Main", Main);
              jTabbedPane1.addTab("ScriptGenerator", ScriptGenTab);
              jTabbedPane1.addTab("Simulation Result", ResultTab);
              jTabbedPane1.addChangeListener(new ChangeListener() {
                   public void stateChanged(ChangeEvent e)
                        jTabbedPane1_stateChanged(e);
              // contentPane
              contentPane.setLayout(new BorderLayout(0, 0));
              contentPane.add(jTabbedPane1, BorderLayout.CENTER);
              // Main
              //Main.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));
              Main.setLayout(new BorderLayout(0, 0));
              Main.add(OutputSimSet,BorderLayout.NORTH);
              OutputSimSet.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));
              OutputSimSet.add(Test, 0);
              Test.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));
              Test.add(jComboBox1,0);
              //ResultTab
              ResultTab.setLayout(new BorderLayout(0, 0));
              ResultTab.setBorder(new TitledBorder(""));
              ResultTab.add(SimResult, BorderLayout.NORTH);
              SimResult.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));
              SimResult.add(jComboBox2,0);
              // Test
              this.setTitle("Test");
              this.setLocation(new Point(0, 0));
              this.setSize(new Dimension(600, 500));
              this.setVisible(true);
         public void initializeComponent()
         /** Add Component Without a Layout Manager (Absolute Positioning) */
         private void addComponent(Container container,Component c,int x,int y,int width,int height)
              c.setBounds(x,y,width,height);
              container.add(c);
         // TODO: Add any appropriate code in the following Event Handling Methods
         private void jTabbedPane1_stateChanged(ChangeEvent e)
              System.out.println("\njTabbedPane1_stateChanged(ChangeEvent e) called.");
              // TODO: Add any handling code here
         // TODO: Add any method code to meet your needs in the following area
         // TODO: Add any appropriate code in the following Event Handling Methods
         private void jComboBox1_actionPerformed(ActionEvent e)
              System.out.println("\njComboBox1_actionPerformed(ActionEvent e) called.");
              Object o = jComboBox1.getSelectedItem();
              System.out.println(">>" + ((o==null)? "null" : o.toString()) + " is selected.");
              // TODO: Add any handling code here for the particular object being selected
    * Create the GUI and show it. For thread safety,
    * this method should be invoked from the
    * event-dispatching thread.
    private static void createAndShowGUI() {
    //Create and set up the window.
    Test frame = new Test();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.pack();
    frame.setVisible(true);
    public static void main(String[] args) {
    //Schedule a job for the event-dispatching thread:
    //creating and showing this application's GUI.
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    }

    package oct03_JCBox;
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.FlowLayout;
    import java.awt.Point;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JComboBox;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JTabbedPane;
    import javax.swing.event.ChangeEvent;
    import javax.swing.event.ChangeListener;
    public class Test extends JFrame
    private JComboBox jComboBox1;
    private JComboBox jComboBox2;
    private JPanel contentPane;
    private JTabbedPane jTabbedPane1;
    //Main Tab
    private JPanel Main;
    //private JPanel OutputSimSet;
    //private JPanel Test;
    private JPanel ScriptGenTab;
    private JPanel ResultTab;
    //Result Tab
    //private JPanel SimResult;
    public Test()
         super();
         //initializeComponent();
         contentPane = (JPanel)this.getContentPane();
         jTabbedPane1 = new JTabbedPane();
         Main = new JPanel();
         ScriptGenTab = new JPanel();
         ResultTab = new JPanel();
    //     OutputSimSet = new JPanel();
    //     Test = new JPanel();
    //     SimResult = new JPanel();
         jComboBox1 = new JComboBox(
         new String[]{"Item 1","Item 2", "Item 3"});
         jComboBox1.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent ae) {
              System.out.println("Yeah");
         jComboBox2 = new JComboBox(
         new String[]{"Item 1","Item 2", "Item 3"});
         jComboBox2.addActionListener(new ActionListener() {
              public void actionPerformed(ActionEvent ae) {
                   System.out.println("Yeah");
         // Main
         //Main.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));
         Main.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));
         Main.add(jComboBox1);
         //ResultTab  -----     
         ResultTab.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));
         ResultTab.add(jComboBox2);
        //      jTabbedPane1
         jTabbedPane1.addTab("Main", Main);
         jTabbedPane1.addTab("ScriptGenerator", ScriptGenTab);
         jTabbedPane1.addTab("Simulation Result", ResultTab);
         jTabbedPane1.addChangeListener(new ChangeListener() {
              public void stateChanged(ChangeEvent e)
                   jTabbedPane1_stateChanged(e);
         // contentPane
         contentPane.setLayout(new BorderLayout(0, 0));
         contentPane.add(jTabbedPane1, BorderLayout.CENTER);
         // Test
         this.setTitle("Test");
         this.setLocation(new Point(0, 0));
         this.setSize(new Dimension(600, 500));
         this.setVisible(true);
         public void initializeComponent()
    //     /** Add Component Without a Layout Manager (Absolute Positioning) */
    //     private void addComponent(Container container,Component c,int x,int y,int width,int height)
    //     c.setBounds(x,y,width,height);
    //     container.add(c);
         // TODO: Add any appropriate code in the following Event Handling Methods
         private void jTabbedPane1_stateChanged(ChangeEvent e)
         System.out.println("\njTabbedPane1_stateChanged(ChangeEvent e) called.");
         // TODO: Add any handling code here
         // TODO: Add any method code to meet your needs in the following area
         // TODO: Add any appropriate code in the following Event Handling Methods
    //     private void jComboBox1_actionPerformed(ActionEvent e)
    //     System.out.println("\njComboBox1_actionPerformed(ActionEvent e) called.");
    //     Object o = jComboBox1.getSelectedItem();
    //     System.out.println(">>" + ((o==null)? "null" : o.toString()) + " is selected.");
    //     // TODO: Add any handling code here for the particular object being selected
         * Create the GUI and show it. For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
         private static void createAndShowGUI() {
         //Create and set up the window.
         Test frame = new Test();
         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         frame.pack();
         frame.setVisible(true);
    public static void main(String[] args) {
         //Schedule a job for the event-dispatching thread:
         //creating and showing this application's GUI.
         javax.swing.SwingUtilities.invokeLater(new Runnable() {
         public void run() {
         createAndShowGUI();
    } Try this - you use too many unnecessary JPanels.
    Which way you prefer with actionPerformed should work either way.
    I think your problem was too many unnecessary Panels and set all attributes before it is added, perhaps,
    not add the panel first and then try to set attributes like layout, color, etc...

  • Problems with sun studio 12 in suse linux 11

    Hi.
    I installed Sun Studio 12 suse linux with no problems. However, the debugging modules (DBX) are not working any more. When I started Sun Studio, it gave a message about modules that could not be loaded in tha moment. I did not pay attention. But I noticed that all debugging options were disabled.
    Using the module manager, I saw the DBX module was not checked, and I could not change it. I was marked with a red X. So I thought to reinstall the application. However, the uninstall utility doesn't work either.
    According with the documentation, running ./uninstaller does it, but I get the following error message instead
    Exception in thread "main" java.lang.NoClassDefFoundError: uninstall_Sun_Studio_12/class
    Caused by: java.lang.ClassNotFoundException: uninstall_Sun_Studio_12.class
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    I tried to uninstall manually, and then execute installer, by using first the software manager in linux and deleting the producregistry file manually. It worked because I executed the installer. However, in Sun Studio IDE, debugging options are still not available despite I "reinstalled" the application. I checked the log files and they say the file uninstall_Sun_Studio_12.class could not be written.
    So my questions are:
    1. Is there any other way to repair Sun Studio? What could be the possible for this module to stop working?
    2. Does anyone have an idea of why the installer cannot write the uninstaller class?
    I found that perhaps problems regarding Java / Netbeans versions could be the problem, but the ones I have installed are those packages that were installed along with Sun Studio, and both are valid.
    Thank you very much.

    Perhaps you can simply delete the Sun Studio 12 installation tree, because it will not work on SUSE Linux 11.
    This OS is not supported, so any problems you see with SS12 on SUSE 11 will not be fixed.
    But we have a newer version, that should work better.
    You can try to download and install Sun Studio Express 2008/11 (extract pre-installed image from tar.bz2 file).
    Here is a pointer to the web page:
    http://developers.sun.com/sunstudio/downloads/express
    All you need is to provide a email address, and press "Download Now" button.
    You will see a page, that gives you 2 options to download Sun Studio Express 2008/11.
    Use "Option 2": Download Tarfile Installer
    Thanks,
    Nik

  • Drawstring is not working in Linux !!!

    hi everbody
    Graphics.drawString is not working properly on Linux ,
    how can i fix it.
    what is problem.
    on XP , 10gR2 db evertything is ok. 326x160 picture and "Sample Text." seen on browser.
    on Oracle Unbrakeble Linux , 11g db 326x160 picture seen on browser but "Sample Text." absent on picture !!!!!
    complete code is below
    Thanks.
    create or replace and compile java source named java1 as
    import java.awt.*;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import com.sun.image.codec.jpeg.JPEGCodec;
    import com.sun.image.codec.jpeg.JPEGImageEncoder;
    public class MyGraph
    public static byte[] vcanvas (int width ,int height ) throws IOException
    BufferedImage bimage = new BufferedImage(width,height, BufferedImage.TYPE_INT_RGB);
    Graphics g = bimage.createGraphics();
    g.setColor(Color.white);
    g.fillRect(0, 0, width - 1, height - 1);
    g.setColor(Color.red);
    g.drawRect(0,0,width-1,height-1);
    g.setColor(Color.black);
    g.drawRect(2,2,width-3,height-3);
    g.drawString("Sample Text.",10,height/2);
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    JPEGImageEncoder jpeg = JPEGCodec.createJPEGEncoder(baos);
    jpeg.encode(bimage);
    baos.flush();
    baos.close();
    return baos.toByteArray();
    } // MyGraph
    create or replace function javaimage(w number,h number) return varchar2
    as LANGUAGE JAVA name 'MyGraph.vcanvas(int, int) return byte[]';
    create or replace procedure imgXYZ is
    vData varchar2(32767);
    begin
    owa_util.mime_header('image/jpeg', FALSE );
    owa_util.http_header_close;
    vData:=javaimage(326,160);
    htp.prn(vData);
    end;
    http://server:port/schema/imgXYZ

    You have to start Http server for that :
    $ $ORACLE_HOME/Apache/Apache/bin/apachectl start

  • # key not working in linux

    Hi
    I have been using jbuilder5 in windows and have created an application. It works fine in windows but when i move to linux(SuSe v7.3) the # key does not work. Even in jbuilder the # key does not work.
    It is not the keyboard settings as in other non java applications the # key works. I am using the jdk 1.3 and I am using swing to get the text.
    Has anyone heard of this problem and do you know how to overcome this.
    Thanks

    there used to be a bug in JTable - some characters did not work, the most popular being the lower capital "q"; "#" is also part of the game.
    check out the following bug in the bug parade which also contains a workaround. I am not sure if it applies to the java version you are using, but you can give it a try.
    http://developer.java.sun.com/developer/bugParade/bugs/4233223.html
    For those of us who can't wait for "Kestrel" here is a workaround...
    public class KeyedTable extends JTable {
        public KeyedTable() {
            patchKeyboardActions();
          * Other constructors as necessary
        private void registerKeyboardAction(KeyStroke ks, char ch) {
            registerKeyboardAction(new KeyboardAction(ks, ch),
                ks,
                JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
        private void registerKeyboardAction(char ch) {
            KeyStroke ks = KeyStroke.getKeyStroke(ch);
            registerKeyboardAction(new KeyboardAction(ks, ch),
                ks,
                JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
        private void patchKeyboardActions() {
            registerKeyboardAction(KeyStroke.getKeyStroke("Q"), 'q');
            registerKeyboardAction('"');
            registerKeyboardAction('(');
            registerKeyboardAction('$');
            registerKeyboardAction('!');
            registerKeyboardAction('%');
            registerKeyboardAction('&');
            registerKeyboardAction('#');
            registerKeyboardAction('\'');
        private class KeyboardAction implements ActionListener {
            char ch;
            KeyStroke ks;
            public KeyboardAction(KeyStroke ks, char ch) {
                this.ks = ks;
                this.ch = ch;
            public void actionPerformed(ActionEvent e) {
                Component editorComp = getEditorComponent();
                if (isEditing() &&
                    editorComp != null &&
                    editorComp.isVisible() &&
                    SwingUtilities.findFocusOwner(KeyedTable.this) == editorComp)
                    return;
                int anchorRow = getSelectionModel().getAnchorSelectionIndex();
                int anchorColumn =
    getColumnModel().getSelectionModel().getAnchorSelectionIndex();
                if (anchorRow != -1 && anchorColumn != -1 &&
    !isEditing()) {
                    if (!editCellAt(anchorRow, anchorColumn)) {
                        return;
                    else {
                        editorComp = getEditorComponent();
                if (isEditing() && editorComp != null) {
                    if (editorComp instanceof JTextField) {
                        JTextField textField = (JTextField)editorComp;
                        Keymap keyMap = textField.getKeymap();
                        Action action = keyMap.getAction(ks);
                        if (action == null) {
                            action = keyMap.getDefaultAction();
                        if (action != null) {
                            ActionEvent ae = new ActionEvent(textField,
    ActionEvent.ACTION_PERFORMED,
                                                             String.valueOf(ch));
                            action.actionPerformed(ae);
    }

  • Rich faces Problem(CSS not worked) in linux.....

    Hai,
    We are developing web applications using JSF with Hibernate and Tomcat 6.0.18.
    In JSF, we used Rich Faces(third party components).
    The following jar files put in lip folder
    1.richfaces-api-3.2.1.GA
    2.richfaces-impl-3.2.1.GA
    3.richfaces-ui-3.2.1.GA
    4.jsf-api.jar
    5.jsf-1.2
    6.jsf-impl
    We create war file, by using MyEclipse6.5, It will work well in windows Operating System.
    But in linux Operating System, the Style Sheet, Calendar images and CSS was not worked?
    Advance thanks.
    with Regards,
    A.MariMuthu

    Check if the generated HTML output is as expected. Otherwise rather post this issue at a forum/mailinglist devoted to RichFaces. This is not related to Sun JSF.

  • Installing Sun Studio 11 on Gentoo linux?

    I have been having problems attempting to install Sun Studio 11 on Gentoo. I emerge'd "alien", with the hope that I could trick the installation program into using it, but that doesn't work. I get all kinds of java errors (I am using sun-jre-bin 1.5 update 3).
    Is there a way to actually get these various and sundry .rpm packages on the system? There seem to be an awful lot of them.
    Thanks!

    hi guys, i posted in another topic, i m sorry for that.
    I followed your advice, bhut nothing helped.
    Now, it still does not work: Failed installation
    Here s the log:
    Installing Sun Studio Software
            Log file: /var/opt/sun/install/logs/Sun_Studio_Software_install.B10241137
    Installed: /var/prod/com.sun.studio_11/uninstall_Sun_Studio_Software.class
    Uninstaller is at: /var/prod/com.sun.studio_11/uninstall_Sun_Studio_Software.class
    Standalone Tools: Building Software
    Installing RPM: sun-dmake-11.0-1
    error: Failed dependencies:
            /opt/sun/sunstudio11/bin is needed by sun-dmake-11.0-1.i386
            /opt/sun/sunstudio11/inventory/v15n1 is needed by sun-dmake-11.0-1.i386
            /opt/sun/sunstudio11/lib is needed by sun-dmake-11.0-1.i386
            /opt/sun/sunstudio11 is needed by sun-dmake-11.0-1.i386
    Error: RPM sun-dmake-11.0-1 install failed}.
    Install complete. Package: sun-dmake-11.0-1
    rpm: Skipping rpm remove of sun-mrdmk-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdmk-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdmk-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dmake-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dmake-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dmake-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-updck-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-pnsn-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-prfgn-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-prfgn-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-prfgn-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrpgn-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrpgn-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrpgn-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdwf-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdwf-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdwf-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dwrfb-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrpan-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrpan-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrpan-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-prflx-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-prflb-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-prfax-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-prfan-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-prfan-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-prfan-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-updck-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-pnsn-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdbx-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdbx-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdbx-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-jdbxx-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-jdbx-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-jdbx-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-jdbx-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbxx-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbx-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbx-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbx-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbxx-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbx-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbx-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbx-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrxm-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-xmsrc-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-xmshr-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-xmbin-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-gvim-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrxd-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-fdxd-11.0-1, not installed.
    rpm: Skipping rpm remove of openmotif-2.1.31-3_IST, not installed.
    rpm: Skipping rpm remove of sun-exted-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-exted-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-exted-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-nbcpp-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-nbcpp-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-nbcpp-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-nbide-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-nbide-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-nbide-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrlnx-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrlnx-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrlnx-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mride-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mride-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mride-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-nbreg-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-nbreg-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-nbreg-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-idext-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-idext-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-idext-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-xdplg-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-xdplg-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-xdplg-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-svc-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-svc-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-svc-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbxui-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbxui-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dbxui-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-tdemo-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdmk-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdmk-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-mrdmk-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dmake-locale-zh-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dmake-locale-ja-11.0-1, not installed.
    rpm: Skipping rpm remove of sun-dmake-11.0-1, not installed.

  • Barcode report is not working in linux

    hi,
    i am running the report using the barcode, which is running perfectly in the windows server - i meant in the report builder.
    but when i try run the same report in linux server through application, i am getting the below mentioned error:
    Terminated with error:
    REP-1401: 'beforereport': Fatal PL/SQL error occurred. ORA-39565: Message 39565 not found; product=RDBMS; facility=ORA
    below mentioned is the code written in beforereport trigger:
    globals.barcode_to_use := BarCodeConstants.BAR_CODE_128;
    globals.bcobj := barcodemaker.new();
    i have include the jar file path /ora/u01/oracle/v101/ds1/reports/jlib/oraclebarcode.jar both in class path and report_path, but still its not working.
    any one had solve this issue?...pls help me out
    for you info:
    CLASSPATH=/ora/u01/oracle/v101/ds1/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/ora/u01/oracle/v101/ds1/jlib/repository.jar:/ora/u01/oracle/v101/ds1/jlib/ldapjclnt10.jar:/ora/u01/oracle/v101/ds1/jlib/debugger.jar:/ora/u01/oracle/v101/ds1/jlib/ewt3.jar:/ora/u01/oracle/v101/ds1/jlib/share.jar:/ora/u01/oracle/v101/ds1/jlib/utj.jar:/ora/u01/oracle/v101/ds1/jlib/zrclient.jar:/ora/u01/oracle/v101/ds1/reports/jlib/rwrun.jar:/ora/u01/oracle/v101/ds1/forms/java/frmwebutil.jar:/ora/u01/oracle/v101/ds1/reports/jlib/oraclebarcode.jar
    RW=$ORACLE_HOME/reports; export RW
    REPORTS_PATH=$ORACLE_HOME/reports/templates:$ORACLE_HOME/reports/samples/demo:$ORACLE_HOME/reports/integ:$ORACLE_HOME/reports/printers:${REPORTS_PATH}; export REPORTS_PATH
    REPORTS_TMP=/tmp; export REPORTS_TMP
    REPORTS_NO_DUMMY_PRINTER=TRUE; export REPORTS_NO_DUMMY_PRINTER
    REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar; export REPORTS_TAGLIB_URI
    REPORTS_CLASSPATH=$ORACLE_HOME/reports/jlib/rwbuilder.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/j2ee/home/oc4j.jar:$ORACLE_HOME/j2ee/home/lib/ojsp.jar:$ORACLE_HOME/reports/jlib/oraclebarcode.jar; export REPORTS_CLASSPATH
    repserver.conf file setting:
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="1" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="90000" jvmOptions="-Xms512m -Xmx512m" classPath="/ora/u01/oracle/v101/ds1/reports/jlib/oraclebarcode.jar">
    <property name="sourceDir" value="/ora/u02/oraadmin/config/as2/app_qits_run"/>
    <property name="tempDir" value="/ora/u02/oraadmin/config/as2/app_qits_tmp"/>
    </engine>
    <engine id="rwURLEng" class="oracle.reports.urlengine.URLEngineImpl" initEngine="1" maxEngine="1" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="60000" classPath="/ora/u01/oracle/v101/ds1/reports/jlib/oraclebarcode.jar"/>
    thanks
    renjish

    Hello,
    The first step if to find the PL/SQL line causing the error in 'cf_1formula':
    create a procedure Trace in your Reports : (modify the line trace_file := Text_IO.Fopen('d:\temp\rep_trace.txt', 'A'); to adapt the filename to your system)
    PROCEDURE Trace (trace_string in varchar2) IS
    trace_file Text_IO.File_Type;
    BEGIN
    trace_file := Text_IO.Fopen('d:\temp\rep_trace.txt', 'A');
    Text_IO.Put_Line(trace_file, trace_string);
    Text_IO.Fclose (trace_file);
    END;
    Then, add some calls to this procedure in the program unit 'cf_1formula'
    trace('Before line 1';
    <PL/SQL code of line 1>
    trace('Before line 2';
    <PL/SQL code of line 2>
    trace('Before line 3';
    <PL/SQL code of line 3>
    Excecute the Reports and find in the file 'd:\temp\rep_trace.txt' the last line executed.
    Regards

  • Barcode Report is not working in Linux REP-1401: 'cf_1formula': Fatal PL/SQ

    In windows its barcodesample is working fine.(all the barcode constants)
    In linux
    1.I have set the CLASSPATH in reports.sh
    2.and I also added the classPath value in <engineId...> tag in the reportservername.confg file.
    3.And I restart the report server as well as application server also. still I am getting the following error messages.
    REP-1401: 'cf_1formula': Fatal PL/SQL error occurred.
    ORA-39565: Message 39565 not found; product=RDBMS; facility=ORA
    In windows I followed the same steps its working fine.But Linux its not working any idea.!!! Its really urgent....
    Thanks,
    Natarajan.U
    Mail:[email protected]

    Hello,
    The note 278044.1 available on metalink may help you :
    Note.278044.1 How to Debug REP-1401 when executing Reports with Barcode java code ?:
    Regards

  • Host command is not working on linux

    Hi
    I m using linux for application server n windows for client. I need to create folder from client machine by cliking a button of forms10g runtime.HOST command is not working which was working fine in windows.
    Any help is appriciateable.
    kazi mokarem

    Hi
    I had the same issue on linux a few weeks back. What tuned out was, when you install the Oracle app svr it does not include the system paths by default.
    The path where mkdir is located may not be visible to the app.
    Try to hardcode the path for mkdir as /bin/mkdir .... and seee if that works.
    If the above statement works then add that path in the paths variable in default.env file located in $ORACLE_HOME/forms/server directory
    HTH
    Arvind

  • Sql Developer Launcher Not Working In Linux

    Hello,
    System Details:
    Fedora 19
    Sql Developer Version: Version 4.0.0.12
    Java Version:  OpenJDK 1.7.0-40
    I can launch Sql Developer from the command line successfully.
    /opt/sqldeveloper/sqldeveloper.sh
    But when I attempt to use the launcher icon, I receive a SIGSEGV error.  Here is the top of the hs_error.log file.
    # A fatal error has been detected by the Java Runtime Environment:
    #  SIGSEGV (0xb) at pc=0x000000317a062e00, pid=7680, tid=140636646749952
    # JRE version: OpenJDK Runtime Environment (7.0_40-b60) (build 1.7.0_40-mockbuild_2013_10_02_16_56-b00)
    # Java VM: OpenJDK 64-Bit Server VM (24.0-b56 mixed mode linux-amd64 compressed oops)
    # Problematic frame:
    # C  0x000000317a062e00
    The ~/.sqldeveloper/jdk file contains the following:
    /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.2.7.fc19.x86_64
    And my /usr/share/applications/sqldeveloper.desktop file contains the following:
    [Desktop Entry]
    Encoding=UTF-8
    Name=SQL Developer
    Comment=Oracle SQL Developer
    Icon=/opt/sqldeveloper/icon.png
    Exec=/opt/sqldeveloper/sqldeveloper.sh
    Terminal=true
    Type=Application
    Categories=GNOME;Oracle;
    I'm just switching from Ubuntu to Fedora so this has not worked in the past.
    Thank you for any help,
    Ann

    The solution in https://forums.oracle.com/thread/2594033 worked.  I added the 2nd line below to /opt/sqldeveloper/sqldeveloper.sh.
    #!/bin/bash
    unset -v GNOME_DESKTOP_SESSION_ID
    cd "`dirname $0`"/sqldeveloper/bin && bash sqldeveloper $*
    Previously, I incorrectly updated ~/.bashrc to unset GNOME_DESKTOP_SESSION_ID.  That's why running Sql Developer from the command line worked, but not from the launcher.
    Thanks su.

Maybe you are looking for

  • How to calculate Goods issue date based on the time of delivery

    Hi SAP Gurus, I seek your help/suggestion for the given scenario. The user requires calculating the GI date based on time of delivery. Based on the delivery priority (like Priority 1= Day 1, Priority 2= Day 2) maintained in customer master, the need

  • WLS 8.1 issue with .ear deployment ....

    I think the weblogic8.1 seems to have some NEW bug now. We have a .ear file that works just PERFECT in WLS6.1. But now when we try to DEPLOY this .ear file our WLS8.1 server(via the new look and feel of WLS8.1' console)....we are getting the Exceptio

  • Print out vector

    Hi Does anyone know how I could print out the contents of a vector in a list in a message dialogue box. Thanks Jon

  • How do I download itunes library to a usb flash drive

    how do I download my iTunes library on to a SanDisk Ultra 16GB usb flash drive?

  • Arithmetic in APEX

    Hello all, Multiplication function but sort of on the same lines as getting one value from and item and a second value from another item to populate a third automatically. We have a form where we want the user to put in an estimated cost of an item(P