Import com.sun.j3d.loaders.Scene - no longer compiles - what package?

import com.sun.j3d.loaders.Scene -- this line compiled back in 2002, but is not supported under the current Java Development Package. Does anyone know the replacement package? I installed Java3D and JDIC, but my compiler still complains of an error. I read that JDIC got moved to org.jdesktop, but I tried
import org.jdesktop.j3d.loaders.Scene -- this did not work either. Can someone tell me what package I need to include in my class path to get my compiler to recognize loaders.Scene?
Thanks in advance.

Nevermind this post. I added my vrml97 package to the runtime library, but I forgot to add it to the compile library. Oops.

Similar Messages

  • Com.sun.j3d -  not in API Specification

    Where can i find the classes of this package?

    What do you mean? It's all in the Java3D javadocs, which you can download from the same place as the sdk. I don't think there are any com.sun.j3d.* classes, they are all in .utils, .loaders or .javasound.

  • Cant import com.sun.xml.internal.ws.spi

    I was intalled NetBeans IDE 6.1, JDK/JRE 1.6.0_07.
    but
    import com.sun.xml.internal.ws.spi.ProviderImpl;
    This statement comes an error (package com.sun.xml.internal.ws.spi does not exist )
    but JDK6(rt.jar) has this package and class.
    why this happen?

    Probably it wasn't his fault:
    * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
    * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
    *$Id: Provider.java,v 1.8.2.6 2007/03/09 23:51:10 kohlert Exp $
    package javax.xml.ws.spi;
    import java.net.URL;
    import java.util.List;
    import javax.xml.ws.Endpoint;
    import javax.xml.ws.WebServiceException;
    import javax.xml.ws.WebServiceFeature;
    import javax.xml.namespace.QName;
    import javax.xml.ws.EndpointReference;
    import javax.xml.ws.wsaddressing.W3CEndpointReference;
    import org.w3c.dom.Element;
    * Service provider for <code>ServiceDelegate</code> and
    * <code>Endpoint</code> objects.
    * <p>
    * @since JAX-WS 2.0
    public abstract class Provider {  .....
    static private final String DEFAULT_JAXWSPROVIDER
    = "com.sun.xml.internal.ws.spi.ProviderImpl";
    Edited by: mgb on Oct 7, 2008 3:59 PM

  • Import com.sun.javafx.mediabox.*; package does not exist

    hi,
    i am using netbeans 6.7.1 with javafx inside
    i saw alot of example from sun using import com.sun.javafx.mediabox.;* and import com.sun.fxmediacomponent.*;
    however in netbeans when i try to import either this 2 import
    it say that package does not exist
    can someone help me ?
    thanks alot

    It is possible to create New Project ->Samples-> JavaFX -> Media Box sample in NetBeans, built it and use it as library for a media project.

  • Import com.sun.rave.web.ui.event.TableSelectPhaseListener

    Hellow
    Im applicaction in NetBean 6.1. This applicaction consist of table plus checkbox columns. I am folowing the tutorials that make this, in particular i download and open a project that ok. (FOODTABLE)
    But when in my project make
    private TableSelectPhaseListener tablePhaseListener =
    new TableSelectPhaseListener();
    i have a error cannot find symbol. Then i search the package where the class TableSelectPhaseListener() an this is it:
    import com.sun.rave.web.ui.event.TableSelectPhaseListener, but i hav error
    package com.sun.rave.web.ui.event does not existe ....surround with...
    But i open the proyects FOODTABLE (the tutorial project) this have
    import com.sun.rave.web.ui.event.TableSelectPhaseListener
    private TableSelectPhaseListener tablePhaseListener =
    new TableSelectPhaseListener(); and ok
    What is my problem?
    Thanks for advance
    Pedro Emilio
    and

    As I understand EL value causing the exception is file name "DMC-B09551-A-N4-11-00-04A-055A-A.html"
    getIframe1().setUrl("doc/DMC-B09551-A-N4-11-00-04A-055A-A.html");renaming file to "1.html" makes it work

  • Compile Error for Import com.sun.javadoc.*;

    I need to write some simple doclets and found some beginner code on the Sun website. The first line of the sample app is:
    import com.sun.javadoc.*;However, I get a compile error:
    C:\JavaDoc\Doclet\ListClass.java:1: package com.sun.javadoc does not exist
    import com.sun.javadoc.*;I found the com.sun.javadoc package in the tools.jar file in the lib directory of my sdk. So I added the following to my classpath:
    C:\j2sdk1.4.2_08\lib;Then I recompiled but received the same error. What have I done wrong? I'm on Windows XP.
    TIA.

    > C:\j2sdk1.4.2_08\lib;
    C:\j2sdk1.4.2_08\lib\tools.jar;

  • Java.lang.NoClassDefFoundError: com/sun/j3d/utils/applet/MainFrame         at HelloUniverse.main(Compiled Code)

    I'm getting this error
    java.lang.NoClassDefFoundError: com/sun/j3d/utils/applet/MainFrame
    at HelloUniverse.main(Compiled Code)
    I receive this error when I try to run the demos that are in the /usr/java1.1/demo folder.
    I followed the directions to install java3d. I installed the java3d binary in the top part of
    the JDK directory then ran the binary. Everything installed o.k., but I cannot run
    any of the demos. I also have J2SE 1.2.2_05a, JDK 1.1.8_10, and.
    JRE 1.1.8_10 installed. My operating system is SunOS 5.6, Solaris 2.6. My workstation
    is an Ultra 5 with 374mb ram.
    Here is part of the install intructions.
    Place the java3d1_2-solsparc.bin file into the top level directory
    of the JDK you wish to install Java 3D into. Execute the
    java3d1_2-solsparc.bin file (ex: sh java3d1_2-solsparc.bin).
    After installation, you may remove this file.
    The Java 3D(TM) SDK includes several demo programs that can
    verify correct installation. Assuming your Java 2 SDK is installed
    at ~/Solaris_JDK_1.2.2_05, try the following:
    cd ~/Solaris_JDK_1.2.2_05/demo/java3d/HelloUniverse
    java HelloUniverse
    Note: Many more demos are available under the demo/java3d/
    directory. Some of the demos require a maximum memory
    pool larger than the default in java. To increase the
    maximum memory pool to 64 meg, add the following command
    line options to java or appletviewer:
    java: -mx64m
    appletviewer: -J-mx64m
    You do not need to include the J3D jar files in your CLASSPATH,
    nor do you need to include the J3D shared libraries in your PATH.
    You should include "." in your CLASSPATH or ensure that CLASSPATH
    is not set.
    I'm not sure how to set set/unset the CLASSPATH and I'm not sure if I was supposed to
    place the binary file in the /usr/java1.1 or /usr/java or /usr/java1.2 directory.
    Can anyone help?
    tomjones

    -- If jar size isn't an issue, I recommend using thick "weblogic.jar" instead of the thin "wl*.jar" jars. The thick jar is a better performer, is used by more customers, and has more features. Otherwise:
              -- It might help to use the thin client jars from a later service pack - several service packs have been released since SP2, or you might even try using jars from a recent 9.2 SP or even 10.0.
              -- Also, check to see if the 1.4.2 JVM is up-to-date and/or try switching from the Sun JVM to the JRockit JVM (or vice-versa).
              -- Finally, it might help to check if your XP environment matches your Linux environment (JVM command-line, classpath, etc).
              -- Also: The IIOP newsgroup may also have some advice. The thin client uses the IIOP protocol even when a "t3:" URL is specified by the application.
              Tom

  • Where exactly can i download the com.sun.j3d.*?

    where exactly can i download the com.sun.j3d.*?
    can anyone provide a complete download website for me?

    but still couldnt get what i really want?Well, the first link takes me straight to Sun's 3D download page... so I'm confused.
    What do you "really want" then?
    And PS: Type whole words FFS... SMS speak shits me.

  • Where to download API for com.sun.j3d.utils ?

    hi,
    where can i download the api for com.sun.j3d.utils. i dont want to see it online, i need an offline version (in order to use it with a textpad-plug-in.
    thanx,
    Usul

    yes, the documentation.
    well, of couse i have downloaded java3d. but i cant find the documentation in there. java3d has two subfolders "demo" and "jre". in "jre" are the two subfolders "bin" and "lib". and the documentation nowhere to be found.

  • Is "com.sun.j3d.utils.picking.Pickcanvas" deprecated

    Hi
    I use Netbeans 6.0. Netbeans shows that both the classes listed below are deprecated.
    I am unsuccessfully tring to find if they have any replacements. If any body knows of any
    such replacements please answer.
    com.sun.j3d.utils.pickfast.PickCanvas
    com.sun.j3d.utils.picking.PickcanvasThanks in advance
    Venkat

    .. last edit. Letting someone else answere this instead..
    Edited by: prigas on May 26, 2008 8:48 AM
    Edited by: prigas on May 26, 2008 8:49 AM
    Edited by: prigas on May 26, 2008 8:51 AM

  • Import  com.sun.xml.tree.XmlDocument

    Hello! Can some one help me on the following problem?
    I am writing a DOM parser and I need to print out the modified xml file. So I want to use the write funcition defined in the com.sun.xml.tree.XmlDocument library. But this package is NOT included in JAXP package. Where shall I get this com.sun.xml.tree.XmlDocument library?
    Any help is greatly appreciated.

    You are WRITING an XML parser? Hopefully you meant that you were USING an XML parser. If you are using JAXP (which does include an XML parser) then you don't need that package to output XML. The example you got that idea from is obsolete.
    If your question is "How to use JAXP to write XML from a Document object?" then this is a FAQ here. Perhaps the search function is working and you could find the answer in this forum; I recall that it involves creating a Transformer whose input is the Document and whose output is wherever you wanted the XML to go to.

  • Trouble with compiling class that contains "import com.sun.xacml.*;"

    I think the package com.sun.xacml is included in j2sdk 1.4.2 (the one that I have)
    but every time I try to compile a class that importes this package classes, the compiler dosen't recognize the package.
    It's a problem of updating the CLASSPATH?
    Thanks in advance

    I don't think this would be part of any standard java distribution.
    But I found a couple of jars (versions) available for download at
    http://ebxmlrr.sourceforge.net/maven/repository/xacml/jars/

  • How to get import com.sun.image.codec.jpeg.*;..Help..

    I’m doing a research for video compression n I need to compress the frame as image, I want to use com.sun.image.codec.jpeg.* , but I can’t download the plugin every where. I use JDK 1.5.0 to do my java program. Does any one have a suggestion about my problem? What should I do, so I can use com.sun.image.codec.jpeg.*?
    thanks

    That is part of the following:
    [http://java.sun.com/javase/technologies/desktop/media/2D/]

  • Package com.sun.j3d does not exist (Linux - Fedora Core 6 - jdk 5.0)

    Here's the thing.
    I realize it's probably a classpath issue, but I don't know where to put the libraries. Compiling non-3d code works fine, which leads me to believe that running the j3d installer in the right place ought to put the libraries in the right place and let me use them. Clearly this is not the case.
    Now I've tried to fiddle with the classpath, specifically I've put this into my .bash_profile:
    CLASSPATH=.:$CLASSPATH:$HOME/Libraries/ext:$HOME/Libraries/i386
    export CLASSPATH
    And stored the jars in a libraries folder on my home directory
    Odd thing: echo $CLASSPATH sends out empty, like CLASSPATH isn't even defined. How do I fix that? And if that's true, why is the regular javac working?

    Duplicate, answered here
    http://forum.java.sun.com/thread.jspa?threadID=5197667

  • Package com.sun.j3d does not exist (Linux - Fedora Core 6)

    I posted this on the 3d forums also, but it really has nothing to do with 3d but the classpath (I assume) so posting it here might work better.
    Here's the thing.
    I realize it's probably a classpath issue, but I don't know where to put the libraries. Compiling non-3d code works fine, which leads me to believe that running the j3d installer in the right place ought to put the libraries in the right place and let me use them. Clearly this is not the case.
    Now I've tried to fiddle with the classpath, specifically I've put this into my .bash_profile:
    CLASSPATH=.:$CLASSPATH:$HOME/Libraries/ext:$HOME/Libraries/i386
    export CLASSPATH
    And stored the jars in a libraries folder on my home directory
    Odd thing: echo $CLASSPATH sends out empty, like CLASSPATH isn't even defined. How do I fix that? And if that's true, why is the regular javac working?

    Use
    . .bash_profile
    P.S. Where did you find the information to use
    .bash_profile. I would expect you to set the
    classpath in .bashrc, .profile or, to allow all to
    get the same environment, in /etc/bashrc .I tried . .bash_profile and got this answer:
    bash: CLASSPATH: command not foundAnd I don't recall how I decided to use .bash_profile, but .profile doesn't exist and I don't understand the syntax in .bashrc and it frightens me.

Maybe you are looking for