Java 3D in Linux Redhat 9

I downloaded Java3D 1.3.3 for Linux from ftp://ftp.tux.org/pub/java/java3d/1.3.1/
in the i386 area.
I am running jdk 1.5.0_02. on linux Redhat 9.0.
The code appears to install correctly.
When I compile and run the HelloJava3Da demo I get the following error, as Jery reported
last month;
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: sun/awt/DrawingSurface
Does the fact that no one responded to Jery's original post indicate that Java 3D does not
run with the relatively standard "DrawingSurface" class in linux?
Perhaps I was mistaken that Java, and Java projects, such as Java 3D, were supposed to be platform independent?
This example runs fine in WIndows XP using the same versions for Windows.
Does something need repair in the linux versions?
Regards-
Steve Farris

Here's a link to a website you might find helpful.
http://cruisenews.net/install_java_on_redhat_9.html

Similar Messages

  • Running a java service on linux (Redhat)

    I can create a basic script to run my java service, I can stop, and restart it from the command line when logged in. I have installed the script as a service. However, when I reboot, the service will not start. I have set it to be the very last thing to start on boot-up. I'm thinking it may have something to do with the fact that when I run a java program, it does not bring me back to the command line, it just 'hangs' until it is completed, and this particular java program will obviously hang indefinitely as it is a service.
    Any help would be GREATLY appreciated.
    Thanks,
    PAUL.

    Why not start it in the background? (a trailing ampersand)
    kind regards,
    Jos

  • Java not detected in redhat 5 linux firefox

    I have installed the latest java 1.6_24 version using rpm on linux redhat machine. "java -version" works OK, I have the link:
    libjavaplugin_oji.so -> /usr/java/jre1.6.0_24/plugin/i386/ns7/libjavaplugin_oji.so
    Also:
    /usr/bin/java -> /etc/alternatives/java
    /etc/alternatives/java -> /usr/java/jre1.6.0_24/bin/java
    In the past install (java 1.4) there where also some references to "jvm" but these don't exist in 1.6 version.
    Must be something else missing..

    libjavaplugin_oji.so is the old classic Java plugin. For Firefox 3.6.x you need the Next Generation Java plugin (libnpjp2.so)
    See;
    * http://www.oracle.com/technetwork/java/javase/manual-plugin-install-linux-136395.html
    * http://kb.mozillazine.org/Java

  • OMWB under Linux redhat AS 3 : Java 1.4 not found

    Hi,
    I have already used the oracle migration workbench under Windows with a total sucess.
    But passing to Linux Redhat AS 3; Trying to launch the migration workbench by the ./omwb.sh ... the stressing error follows :
    Java 1.4 not found. Java 1.4 requiered
    I installed the j2re and j2sdk rpms without any changes
    please help ! thinks

    Hello All,
    I solved the problem by executing the following commands :
    $ java -version
    ... placeholder message ...
    $ su -
    # alternatives --remove java /usr/share/java/libgcj-java-placeholder.sh
    # alternatives --remove javac /usr/share/java/libgcj-javac-placeholder.sh
    # alternatives --remove jar /usr/bin/fastjar
    # alternatives --remove jar.1.gz /usr/share/man/man1/fastjar.1.gz
    # cd /usr/bin
    # ln -s /usr/java/jre1.5.0/bin/java java
    ... also set the links for javac etc ...
    # exit
    $ java -version
    java version "1.5.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
    Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)
    $
    Procedure of JDK is similar to J2RE...
    It seems that it wasn't a difficult problem
    sorry and thinks
    Tchao

  • Installation Iplanet 4.1 Enterprise Web Server on Linux RedHat 7.1

    I am trying to install IPlanet 4.1 Enterprise Web Server on Linux RedHat 7.1.
    After unloading the software from CDROM to a temp directory, and run ./setup, I get the following error:
    eroor while loading shared libraries; libncurses.so.4: cannot load shared object file : no such file or directory.
    Has anyone know how to resolve it??. Thanks.
    regards,
    Benny Tan

    I have answered for this topic previously for another thread. Please follow the URL to see the answer.
    http://forum.java.sun.com/thread.jsp?thread=257294&forum=14&message=968185

  • Problem with java, ASCII and Linux

    Hi Friends,
    I has a Linux RedHat 9.0 with a jre1.5.0_04 (rpm package of Sun).
    I has a problem with ASCII , for example :
    import java.io.*;
    public class HolaMundo
    public static void main (String[] args)
    System.out.println("Hol� M�ndo");
    this programs runs ok on my windows jdk so it prints "Hol� M�ndo", but when i run the same HolaMundo.class program on my linux redhat it prints "Hol�� M��ndo"
    I think the problem is with the ASCII table that uses the linux version of jre, but i dont know how to solve this problem. I need a Spanish-European ASCII table on my application but i think it is working with a US-ASCII table.
    Then i has installed a kaffe 1.0 (rpm) java machie on this linux and this solve the problem but i has another problems of compatibility with this old version of java kaffe.
    Do you know whats happening?
    Thanks in advance.

    The problem doesn't have to do anything with Java or Linux as far as i can see. It's more likely a problem with Windows XP and IE. Be assured that normally downloading the Linux JDK in windows is not a problem.

  • Java applet and Linux RedHat7.1 kernel  2.4.2-2

    Hello.
    I have really interesting problem...
    I am trying to run java applet in different env.:
    #1. windows2000, sun java1.3.1, webstart 1.0.1;
    #2. linux RedHat 7.1 kernel 2.4.2-2, sun java1.3.1, webstart 1.0.1;
    #3. linux RedHat 7.0, kernel 2.2.16-22, sun java1.3.0-01, webstart 1.0.1;
    #4.SunOs5.8, sun java1.3.0, webstart 1.0.1.
    I found that webstart can't launch applet into a full size under #2.
    Applet runnable, no error msg in java console, but the applet frame
    size is decrease into min. At the same time this application perfectly
    runnable without any changes under the other env.(#1, #3, #4).
    JNLP file:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for FpEdit.jar Application -->
    <jnlp
    spec="1.0+"
    codebase="http://www.mycodebase"
    href="FpEdit.jnlp">
    <information>
    <title>Ufp Editor Application</title>
    <vendor>ME</vendor>
    <homepage href="http://www.myhomepage"/>
    <description>Ufp Editor Application</description>
    <description kind="short">
    Swing Graphical User Interface.
    </description>
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.3+" initial-heap-size="30m" max-heap-size="50m"/>
    <jar href="http://www.myhref/SFpEdit.jar"/>
    </resources>
    <applet-desc
    documentBase="http://www.mydocumentbase"
    name="FpEdit"
    main-class="FpEdit"
    width="950"
    height="590">
    </applet-desc>
    </jnlp>
    May be somebody can explain me what is the problem???
    Thank's.

    Sorry about replay, but may be somebody can help me...
    For me ==> this is a problem between new
    linux kernel 2.4.. and java...

  • Cannot bring up the SAP ERP 6.0 Installer GUI on a linux redhat 5.4 machine

    Hi,
    I'm trying to install the SAP ERP 6.0 on a Linux Redhat 5.4 machine and the gui for the install does not come up
    Here is the message
    sudo ./sapinst
    Password:
    [==============================] \ extracting...  done!
    Starting GuiServer using:
    /usr/bin/java -Xmx256M -Djava.security.egd=file:/dev/urandom -cp /tmp/sapinst_exe.24750.1283972427/JAR/instgui.jar:/tmp/sapinst_exe.24750.1283972427/JAR/inqmyxml.jar SDTServer config=jar:sdtserver.xml guiport=21212 sapinsthost=localhost sapinstport=21200 guistart=true
    init: retrieving account information for group sapinst...
    init: retrieving account information done.
    load resource pool /remote/repeng5/SAP/sd_benchmark/Extracted/BS_2005_SR3_SAP_Installation_Master/IM_LINUX_X86_64/resourcepool.xml
    guiengine: No GUI server connected; waiting for a connection on host inspired.sybase.com, port 21200 to continue with the installation
    My env. is the following
    java -version
    java version "1.6.0"
    OpenJDK  Runtime Environment (build 1.6.0-b09)
    OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)
    Memory in the machine is 16 GB. I have tried bringing up the installer on a different linux redhat 5.4 machine and there are no issues there
    Any help/pointers would be greatly appreciated

    Thank you both for your reponse.
    I did try changing the java to 1.4.2 but I still get the same behaviour. The gui just hangs.
    Here's my new env.
    java -version
    java version "1.4.2"
    gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-46)
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  • ORA-29532 on Oracle 9i custom database creation (Linux Redhat 7.2)

    I'm trying to create oracle 9i on Linux Redhat 7.2 (2.4.16), but I got a ORA-29532 error:
    ORA-29532: java call terminated by uncaught java exception: java.net.BindException: unable to bind end point, status=12571<0.0.0.0,2481>
    This error was thrown on Oracle JVM database creation process.

    I'm trying to create oracle 9i on Linux Redhat 7.2 (2.4.16), but I got a ORA-29532 error:
    ORA-29532: java call terminated by uncaught java exception: java.net.BindException: unable to bind end point, status=12571<0.0.0.0,2481>
    This error was thrown on Oracle JVM database creation process.

  • Printing a document to a specific printer - Linux RedHat

    Is it possible to print a document to a particular printer with the jdk1.4 in Linux RedHat? I am trying to select a printer with the following program (where args[0] is the name of the printer) but even though it seems that the program selects the right printer service the output allways goes to the default printer of the server.
    public class PrintFile {
    public static void main(String args[]) {
              String printername = args[0];
              String filename = args[1];
              if (printername != null) {
              if (filename != null) {
              try {
              javax.print.PrintService myprintservice = null;
              //Document flavor
              javax.print.DocFlavor flavor = javax.print.DocFlavor.INPUT_STREAM.POSTSCRIPT;
              //Print service for
              javax.print.attribute.PrintRequestAttributeSet aset = new javax.print.attribute.HashPrintRequestAttributeSet();
              aset.add(javax.print.attribute.standard.MediaSizeName.NA_LETTER);
              //Creating the Print Service
              javax.print.PrintService[] service = javax.print.PrintServiceLookup.lookupPrintServices(flavor,aset);
              if (service.length > 0) {
    for(int i=0;i<service.length;i++) {
    if (service.getName().equals(printername)) {
    myprintservice = service[i];
    break;
              if (myprintservice != null) {
              java.io.FileInputStream file = new java.io.FileInputStream(filename);
              javax.print.Doc doc = new javax.print.SimpleDoc(file ,flavor ,null);
              //Send the document to the printer
              javax.print.DocPrintJob pj = myprintservice.createPrintJob();
    System.out.println("Printing to: " + pj.getPrintService().getName());
              pj.print(doc, null);
              file.close();
    System.exit(0);
    } catch(Exception e) {System.out.println(e.toString());}
    Is this a bug or am I missing something?

    Yes, I've got the same problem, too. First I get all the print services using PrintServiceLookup.lookupPrintServices(DocFlavor flavor, AttributeSet attributes)
    Once I have the array of PrintService object I get the one that I'm looking for:
    for (int i=0; i<services.length; i++) {
    PrintService ps = services;
    if (ps.getName().equalsIgnoreCase(myPrinterName)) {
    myService = ps[i];
    break;
    But when I try to print through the object "myService" the printing always goes to the same printer!!!

  • Bash shell does not recognise 'java', 'javac' commands (Linux command line)

    i' ve used javac and java compile & execute commands to build the same application on the DOS command line with Windows - no problem.
    But when I try to compile the same file on the command line under Linux Redhat (7.1) using Bash shell i get <bash: javac: command not found> and <bash: java: command not found>.
    In both cases I'm using j2sdk1.4.2 downloaded from java.sun.com for Windows & Linux respectively.
    I make sure I have both the javac and the file I want to compile in the same directory ../j2sdk1.4.2/bin for both the Windows and the Linux applications.
    Is there something I need to do to get bash to recognise javac, java etc? Is there a different setup procedure?
    Any angles on this are much appreciated ..

    Have you tried these correctly..
    Set 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/bin
    verify it has worked by simply typing
    java
    You 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.
    This shall resolve the issue .

  • Does printing in Linux RedHat requires CUPS?

    Does the jdk1.4 Printing API require CUPS to run in Linux RedHat? I installed the JDK and programs run well but I cannot direct the printing to a particular prnter. The printing allways goes to the default printer. I ran the examples in Print2DPrinterJob.java (code at the end of this posting) and I find that the windows to select the printers appear, I select the printer to output the image, but the printout allways goes to the default printer regardless of the printer selected.
    Since the java Printing API requires the IPP and since LPR is not based in this protocol, I was wondering if I must install CUPS in the server in order to use the printing API
    import java.io.*;
    import java.awt.*;
    import java.net.*;
    import java.awt.image.*;
    import java.awt.print.*;
    import javax.print.*;
    import javax.print.attribute.*;
    import javax.print.attribute.standard.*;
    public class Print2DPrinterJob implements Printable {
         public Print2DPrinterJob() {
              /* Construct the print request specification.
              * The print data is a Printable object.
              * the request additonally specifies a job name, 2 copies, and
              * landscape orientation of the media.
              PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
              aset.add(OrientationRequested.LANDSCAPE);
              aset.add(new Copies(2));
              aset.add(new JobName("My job", null));
              /* Create a print job */
              PrinterJob pj = PrinterJob.getPrinterJob();
              pj.setPrintable(this);
              /* locate a print service that can handle the request */
              PrintService[] services =
                   PrinterJob.lookupPrintServices();
              if (services.length > 0) {
                   System.out.println("selected printer " + services[0].getName());
                   try {
                        pj.setPrintService(services[0]);
                        pj.pageDialog(aset);
                        if(pj.printDialog(aset)) {
                             pj.print(aset);
                   } catch (PrinterException pe) {
                        System.err.println(pe);
         public int print(Graphics g,PageFormat pf,int pageIndex) {
              if (pageIndex == 0) {
                   Graphics2D g2d= (Graphics2D)g;
                   g2d.translate(pf.getImageableX(), pf.getImageableY());
                   g2d.setColor(Color.black);
                   g2d.drawString("example string", 250, 250);
                   g2d.fillRect(0, 0, 200, 200);
                   return Printable.PAGE_EXISTS;                         
              } else {
                   return Printable.NO_SUCH_PAGE;
         public static void main(String arg[]) {
              Print2DPrinterJob sp = new Print2DPrinterJob();

    i have experienced the same problem as you - inability to print to a particular printer on linux. this appears to be a bug - if you look closely at what is happening, you get the following exception thrown when you try to print to any printer other than the default one (however, by default it will just recover and print to the default printer so you won't see this exception unless you force it by trying to do a print service lookup with no attributes set). I have not had any luck gettign around this. CUPS does not help either - i have installed CUPS and still see this behavior. Let me know if you have found a workaround.
    - Dan Kokotov
    javax.print.PrintException: java.io.IOException: Bad file descriptor
         at sun.print.UnixPrintJob.print(UnixPrintJob.java:485)
         at PrintTest.printJava(PrintTest.java:67)
         at PrintTest.main(PrintTest.java:16)
    Caused by: java.io.IOException: Bad file descriptor
         at java.io.FileInputStream.readBytes(Native Method)
         at java.io.FileInputStream.read(FileInputStream.java:191)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
         at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
         at java.io.FilterInputStream.read(FilterInputStream.java:90)
         at sun.print.UnixPrintJob.print(UnixPrintJob.java:477)
         ... 2 more

  • Oracle dan Linux redhat

    Hi, Dear
    I am a student, and my university based on Indonesia, i want give a question about oracle and linux, because i want to research to completely my study.
    If i want Linux redhat and my server have memory 4 GB, and i want the server connection database with oracle 10g. can u give me a standard setting to make a best perfomance when i am access the aplication..
    my application is webased application and make from java. and webserver with apache tomcat.
    thank you

    You can get pre-tested, validated architectures along with documented best practices from "Oracle Validated Configurations" (http://www.oracle.com/technology/tech/linux/validated-configurations/index.html).
    I hope it is help for you.

  • OC4J on Linux RedHat 8.0

    Hi I want to know whether the OC4J which we use on Win2k is the same for Linux RedHat 8 or do we have to download a diff version?? If so where can I find that?
    Or how to install OC4J on Linux RedHat8
    Thanx
    Kulkarni

    I just unzipped oc4j_extended.zip into /usr/local/ and then started it like:
    cd /usr/local/j2ee/home
    $JAVA_HOME/bin/java -jar oc4j.jar &
    Then exited my shell (which bash lets me do)
    Rob

  • Java running under linux with crontab

    I'm having a problem:
    i want to run a java program under linux with crontab.
    my classes are in a directory and aren't in a package. i run em by invoking ./start which is a small script that i wrote. The script is in the same dir as the classes and invokes java by "java Main >>logjava.txt " but this doesn't seem to work all i get is an empty logfile
    i need to run the program every day at 0800 so i inserted the following in crontab:
    0 8 * 1-5 /var/"path"/start > logjava (where path is the path to the classes dir)
    if i run the cmdline from anywhere on the prompt i get the result i want. I think it's because the cron runs it from the root dir thus making java unable to find the classes
    Any suggestions would be welcome. or can some1 tell me how to make linux executables from the java (i usually use jsmooth for the windows exe)

    You can execute several commands in the process started by cron. You separate them using semicolons.
    Have you tried a cron entry like this:
    0 8 * 1-5 cd /var/"path";pwd;echo $PATH; ./start > logjavaOr, you may need to make sure the process started by cron gets the same environment as your interactive shells do, by explicitly loading your setup or .login scripts:
    0 8 * 1-5 . $HOME/.setup;cd /var/"path";pwd;echo $PATH; ./start > logjava

Maybe you are looking for

  • Decode query need for aging

    Hi All, Following is the query which is working for aging for condition and round(st.close_dt - st.open_dt) >60 and corresponding column output count(round(st.close_dt - st.open_dt)) ">60" but we need the same in report of column of count(round(st.cl

  • JHS and VPD

    I'm using ADF 11.1.1.6 and JHeadstart 11.1.1.4. An application, being upgraded to ADF and JHS, uses a virtual private database to restrict rows to logged in users based on their organisation. I found a fairly old article on the JHeadstart blog, [Row

  • Creating "Topic Alias" marker in FM document for CS Help

    Hi, I am eventiually moving toward creating content sensitive help and am looking at preparing the source documents for the leap (documents in my Framemaker version7 and book file) for the leap. On-line, it says that I should create markers called "T

  • Oracle Express in Mac

    Hi guys, Is it possible install oracle express in mac os lion? I found this thread in Internet but the link to download a oracle version to mac is dead. http://www.oracle.com/technetwork/topics/macos/whatsnew/index.html http://blog.rayapps.com/2009/0

  • 10g Database Control, View Tablespaces

    Kindly refresh my memory - what does a NEGITIVE value in the USED column mean? (And how to "corret" it)