Installing Java3D API (1.2.1_03)

Okay, I downloaded and ran the install program for the Java3D API v1.2.1_03 (OpenGL version). I'm using JDK1.3.1_01. When it asked which dir the jre\ and demo\ directories were I pointed it to C:\jdk1.3.1_01 (which is correct on my system) I ensured that the CLASSPATH variable has "." in it. However when I try to run:
java HelloUniverse
I get an error:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/j3d/SceneGraphObject
So I included the java3dcore.jar and other files in C:\jdk1.3.1_01\jre\lib\ext\ in my classpath and still received the error. If I set no classpath at all, I get the same error. I am using Windows98, and I have the PATH variable set to C:\jdk1.3.1_01\bin (and a few others, but that one is the only one that matters in this case).
Anybody have any suggestions as to why I'm getting this error and what I can do to fix it?
Thanks in advanced,
Cheap Thief

You've done everything right with the classpath etc...
Have you checked in the java3D jar file to see if you actually have a "javax/media/j3d/SceneGraphObject" in there?

Similar Messages

  • Convenient way to install Java3d API&Java1.4 jre at the same time?

    My Java3D program is embedded on Applet and I hope that anyone can run my program with only 1 installation(such that install Java1.4 jre and Java3D api at the same time...of course auto install all is best).Also,I have 2 link on my page..one is Java1.4 jre and other is Java3D 1.3 jdk,I hope my page have only 1 link and anyone can press once to install all..how can I do~~thank you~

    As stated in the Creative Suite CS5.5 EULA you are permitted to install ONE copy of Creative Suite  on your primary computer, and one additional copy on "a portable computer or a computer located at your home", provided this copy is not used at the same time as the primary installation. This is different from the idea that you can install it "on two computers" - you have to think of it as one copy being used in either of two locations, but never both. Installing two copies on desktop machines is not permitted unless one or both of them is in your own home.
    Creative Suite is sold and licensed as a single product (it has a unified serial number and the member applications cannot be transferred out of the Suite) so the rule on simultaneous use applies to any combination of the member applications. If your primary computer is running Photoshop, your home computer or laptop cannot run anything. This applies whether or not you're sitting at either machine (so leaving an office computer rendering out a video sequence overnight counts as 'in use').

  • How can we avoid installing java3d runtime envoirnment on the client side

    Hi All, my applet uses java3d api. To see this applet in the browser on the client side we need to install java3d runtime envoirnment. Is it neccassary or can we avoid it. If we can avoid installing java3d runtime env , how can we do that.. Can Java WebStart help in this.
    your suggestion will be valuable..
    Thanks
    Akhil

    Yes, of course we can avoid it. Just as we can avoid asking the user to download the JRE if they want to run java.
    The only slight pay off we make for that is that the program won't run at all on their computer.
    As long as this is not an issue, there should be no problem.
    Seriously, my understanding is that Web-Start can hide the fact that we are installing Java 3D on their machine or at least make the installation very simple. There is no way to run Java3D applications without Java3D.

  • Download JAVA3D API necessary to run java3d?

    I have a problem because i made a game in java3d
    for new users that connect for the first time they have to download java1.3.1_06 plug in and then they have to download java3d API and installe manually.
    is there a way to download only one thing to make the two functions...?
    I would like the user to just download a plug in conataining everything necessary to the execution of my game.
    thank you seriously,i am blocked.

    The short answer to your question is "No".
    As you know, installing the JPI is simple. In principle, it would be possible, to autoinstall Java3D as an own JAR-file too. See this article:
    http://www.j3d.org/tutorials/quick_fix/auto_install.html
    But there are some problems with this solution:
    - The Java3D-files in the auto installer are fixed on a specific platform like "J3D 1.2 for Windows & DirectX" etc.
    - The JAR-file has to be signed, an that is a process
    - You can use a self made (test-) certificate to sign the JAR-file, but (on Windows), double clicking a certificate will install it in the Windows internal database - and that database is ignored by Java since version 1.3. Therefore, the certificate has to be installed in the Java internal certificate database via command line.
    I think it's the better way to let download the User the 3D API for his specific platform. As you know, there are some other obstacles:
    Each combination of OS, Graphics Acceleration and JVM Version requires different versions of J3D. (For example: The JVM 1.4, requires J3D 1.3. Otherwise, J3D 1.3 requires DirectX 8. But what's with platforms with JVM 1.4 and DirectX 7? For those, there is the J3D 1.3_4 etc...)
    Not necessary to say, that this is too much to almost all visitors of a normal website.
    Therefore, we have created a "Java 3D Download Guide". It is available on http://www.AniFun3.de/java3d/index.php. It has a neutral Design and can be integrated into other websites. The Download Guide will ask some questions and than redirect to the download page of a specific J3D version.
    You have to grant that the User will restart the JVM after installing the 3D API. That means, all browser windows has to be closed after the 3D API installation.
    Additional hint: Your game can check the local system for a proper installation of J3D at startup, and, if not installed, redirect to the download guide. The game can feed the download guide with information about the local system like OS name and JVM version. This infomation let the download guide jump over the first page.
    Note: To make this "auto check" propper work, your start class must not have any reference to a class of the 3D API!
    Here is a code example:
    // Member variable: Data structure, containing Java version information
    private static int[]          ivJavaVersion    = null;
    // Member variable: Flag, that indicates, if the program is started in applet mode or not.
    //                  Set this flag to 'false' in main()
    private static boolean        ivIsApplet       = true;
    * This method returns true, if Java 3D (TM) has been found in the
    * environment. If there is a problem using Java 3D, this method will
    * (if started in applet mode) try to open the Java 3D Download Guide
    * in a new browser.
    * @return boolean
    private boolean check3DAPI()
         boolean error        = false;
         boolean exit         = false;
         boolean exception    = false;
         String  errorMessage = "";
         boolean isApplet     = (this instanceof Applet);
         String  downloadURL  = "http://www.AniFun3.de/java3d/index.php";
         // Try to access a class of the 3D API
         try
              Class.forName( "javax.media.j3d.VirtualUniverse" ).newInstance();
         catch( Exception e)
              exception = true;
         catch( Error err )
              error = true;
              errorMessage = err.getMessage();
         // 3D API not available
         if( exception )
              // Bring up an error message
              errorMessage = "Java 3D extension not installed. \nPress OK to get redirected to the Java 3D download page\n" + downloadURL;
              System.err.println(errorMessage);
              JOptionPane.showMessageDialog( this, errorMessage, "AniFun3", JOptionPane.ERROR_MESSAGE );
              exit = true;
              // If started in applet mode, try to open the Download Guide
              if( isApplet )
                   // OK. Now find some information about the local System
                   // and submit it via the query string to the Download Guide.
                   // Doing so, will avoid one HTML-Form.
                   StringBuffer query = new StringBuffer();
                   query.append("?");
                   for( int i=0; i<getJavaVersion().length; i++)
                        query.append("jv");
                        query.append(i);
                        query.append("=");
                        query.append(getJavaVersion());
                        query.append("&");
                   query.append("os=");
                   query.append(System.getProperty("os.name"));     
                   // Open the browser     
                   try
                        ((Applet)this).getAppletContext().showDocument( new URL(downloadURL + query.toString()), "_blank" );
                   catch( Exception ex )
                        ex.printStackTrace();
         // There has occured another error. Java 3D seems to be installed, but maybe not correctly:
         else if( error )
              // Bring up an error message
              errorMessage = "Java 3D reports an error. Maybe the extension is not propper installed.\n" + errorMessage;
              System.err.println(errorMessage);
              JOptionPane.showMessageDialog( this, errorMessage, "AniFun3", JOptionPane.ERROR_MESSAGE );
              exit = true;
         if( exit )
              // Try to shutdown the programm, this will fail in applet mode
              try
                   System.exit(1);
              catch( Exception ex )
                   // can't shutdown the program
              return false;
         return true;
    * This method parses the Java VM version into an integer array.
    * @return int[]
    private int[] getJavaVersion()
         if( ivJavaVersion == null )
              ivJavaVersion = new int[]{0,0,0,0};
              try
                   StringTokenizer tokenizer = new StringTokenizer (System.getProperty("java.version"), ".");
                   String actToken = null;
                   int i=0;
                   while( tokenizer.hasMoreTokens() )
                        actToken = tokenizer.nextToken();
                        try
                             ivJavaVersion[i] = Integer.parseInt(actToken);
                             i++;
                        catch( NumberFormatException e )
                             // Some versions are seperated by a '_'
                             StringTokenizer newTokenizer = new StringTokenizer( actToken, "_" );
                             while( newTokenizer.hasMoreTokens() )
                                  ivJavaVersion[i++] = Integer.parseInt(newTokenizer.nextToken());
              catch( Exception e )
                   System.out.println("[KFBuddy]::getJavaVersion(): couldn't parse Java version: " + e);
         return ivJavaVersion;
    Regards,
    OFH

  • Error while installing DI API (32 bit) for SBO 9.0 PL 05

    Dear Experts ,
    I'm trying to install version 9.0 (32 bit) on my machine (windows 7 64 bit) . Everything is installed successfully except DIAPI . I'm not able to install the DI API. I try to uninstall / install many times but without luck . Cleared the SAP folder, temp folder but still when it comes to DI API installation it just failed.
    Any help would be much appreciated .
    Thanks in advance.

    Hi Nagarajan,
    Thanks for your prompt reply. The installation setup is on my local machine and i have the local admin rights on machine machine. And I don't have any problem in installing other components including server tools, server and client etc.
    Friday I changed my computer name keeping SBO 9.0 instructions in mind (not to include any special character in computer name) and then I uninstall sap 8.82 from control panel , everything related to SAP was removed. Then I try to install SAP 9.0 PL 05 .
    Server tools -- > installed
    Server  -- >Installed
    Client -- > installed
    SDK -- > Installed
    DI aPI (32 but ) -- > Error -- > Another version is already installed .
    I looked in control panel again -- > nothing there.
    Then i again uninstall everything (for V9.0) -- > delete sap folder from program files (x86) restart my system --> again same error regarding DI API.
    This error was showing me the registry value so I search the registry and found there that DIAPI related version 8 is still there .
    So I took registry backup and try to rename registry key and value but with no luck . Still i was not able to install DI API
    So today morning I delete the all the references from registry related to that value (the one i was getting showing Another version is already installed). and I start getting this error i.e. the network related error which is 1316.
    I restore the registry backup to Friday's backup and then again try to install but I'm getting 1316 error constantly.
    Try to clean the registry and fix the registry errors with CC cleaner but nothing is happened still stuck with 1316 error.
    Regards

  • I need to install servlet-api.jar in the libext folder.

    Hi I am doing a tutorial on struts 2.0.11.
    i need to install servlet-api.jar in the libext folder which I have created inside WEB-INF
    Now I have downloaded servlet.api which is in the zip form.
    When I extract the files. Its giving me two folders
    1. javax
    2. META-INF
    Inside javax there is a folder called servlet. Inside servlet folder there are
    a) bunch of call files
    b) http folder
    c) resources folder
    Inside http folder there are
    a) class files
    b) properties files
    Inside the resources folder there are
    a) dtd files
    b) xsd files
    Inside the META-INF folder there is the manifest.mf file
    I just need servlet-api.jar
    I think that I have extracted the contents of servlet-api.jar by using the extract feature of winzip.
    Do you think that by just changing the extension of the file from servlet-api.zip to servlet-api.jar it will do the trick or do i need to do something else.
    Please guide

    pksingh79 wrote:
    Hi ^^,
    your replies were very helpful. I did try to check the lib folder of the webserver and there was not servlet-api.jar. However I downloaded a dummy project and it did have servlet-api.jar in it, so I am ok for now.
    thanks and regards,
    PrashantYou should not be doing that. Always use the one from the application server which you're going to use. Otherwise you will possibly get in runtime trouble due to version differences.
    The actual location and filename of the servlet API might differ per application server implementation. If it was for example Tomcat 6, it is the servlet-api.jar in the /lib directory. If it was for example Glassfish (the current release), then it is the javaee.jar in the /lib directory.

  • Installing Java3D with Windows XP?

    Installation problems seem to be a frequent topic in this forum, though I haven't seen a solution yet. Maybe I can help by describing the (my) problem in detail. Any suggestions are welcome.
    I'm running Windows XP professional, I have installed Java SDK 1.4 and it works correctly. When I try to install Java3D (java3d-1_2_1_03-win32-opengl-sdk.exe), the installer program extracts some files into a temporary directory, but then says it is done, while not actually doing anything. This behaviour is actually described in the installer program's "please read before continuing"-screen under the heading "installation".
    The reason given is that I might not have the necessary rights. I am the only user on my machine and I have all the rights imaginable. Though, when I look at my j2sdk1.4.0 directory, the property dialogue says it is write-protected. So I remove the protection. Start the property dialogue again - the write protection is still there.This seems to be the heart of the problem.
    With an earlier version of Java3D I had the same problem under Windows ME. Though under Windows ME the "protection" was actually an entry in a hidden file in der jsdk directory, so I could remove it. Under Windows XP I have unfortunately no idea how to remove this protection.
    Can anyone help?

    I am using Windows XP Professional and JDK1.4 (j2sdk-1.4.0-win.exe).
    I also had a problem with installing Java3D.
    But, I got installed Java3D 1.3 Beta (java3d-1_3-beta1-win-opengl-sdk.exe) with Windows XP
    as following steps.
    1) Execute installer (java3d-1_3-beta1-win-opengl-sdk.exe).
    2) Introduction->Next
    3) License agreement->Next
    4) Readme->Install
    5) Choose a JRE VM->Install->Choose... (Choose your JRE VM folder, although you feel it seems be weird)
    6) Previous
    7) Choose an SDK VM->Next->Choose... (Choose your j2sdk1.4.0 folder)
    8) Install
    Don't select "Add Java 3D to these VMs", it will crash your installer.
    I think that the installer has a problem in detecting your VM folders.
    Please, let me know whether it works or not.

  • Installing Tomcat API's - help!

    I want to write Java Servlets for uploading to my webserver, but I can't find any documentation on how to install the Servlet API! I don't need a server, just the API's required to compile servlets. My questions are:
    1) How can I install the API's so I can compile servlets
    2) What do I need to do to get a servlet working on my webhost (they say they support servlets)

    Ok, I've got the servlet compiling now - what do I need to do to get it to run on my hosts server?

  • How to install Java API

    I have installed Hyperion Essbase 6.1.4, so i can use VB or C to access OLAP databases. However, i would like to use Java.How can i install Java API?thanks in advance

    You will have to download/install the Essbase Enterprise Services 6.1. The Java API is contained within this product and all interaction with Essbase via the Java API uses EES on the middle tier. The good news is that the Java API portion of EES is available for free. If, however, you want to/need to leverage the scalability options of EES, such as server clustering, you will need to add the 'High Concurrency Option' to your Hyperion license agreement.Tim TowApplied OLAP, Inc

  • Run java3d applications / applets without having to install java3D

    hi
    is it possible to run a application or applet which uses
    java3d on a computer that has not installed java3D? could
    this be done by adding the required jars to the
    application? i tried this and have added the java3d jars
    to my applet jar, but when i start this applet from a
    computer whithout java3d i get the error "no J3D in
    java.library.path".
    what can i do?

    I think, applets can't directly execute dll files coming from a remote computer. If i understand you correctly, then you need a solution especially for applets. This is imho an unsolved "problem". Please take a look here: http://forum.java.sun.com/thread.jsp?forum=21&thread=339185&tstart=30&trange=15
    Regards

  • Java3D API for SuSE and Mesh Grid

    I wanted to download Java3D API for SuSE 8.1 but I did not see that as an option when I went to download it, am I missing something here or is it not available?
    Also:
    Does anyone know how to make like a grid in J3D, something full screen...a mesh of some sort that can be displayed in full screen, thats all that needs to happen, nothing else, I'm not sure how to do this, i'm relatively new to J3D...any help would be appreciated...thanx.

    I wanted to download Java3D API for SuSE 8.1 but I did
    not see that as an option when I went to download it,
    am I missing something here or is it not available?http://java.sun.com/products/java-media/3D/ports.html

  • Install base API error Material Transaction errored prior to the current tr

    All,
    I wrote a script to update the install base installed date using API - csi_item_instance_pub.update_item_instance.
    Script updated many successfully, but, for many I am getting following error:
    You have Material Transaction_id (12169418) errored Prior to the Current Transaction. You need to process that first.
    You have Material Transaction_id (12020011) errored Prior to the Current Transaction. You need to process that first.
    I tried to reprocess using API again, but, it does update.
    Does any one encountered this before ? What's causing this issue and resolution for same ? Is there any data issue, if so where ?
    Thanks much

    Nagmohan,
    Thanks for quick update...
    I found that progam you mentioned 'Install Base Error Correction and Synchronization Program' and ran that with options Show instances - Y, Mode - C, Force all data fix - Y.
    I don't see any change what so ever in the csi_txn_errors. Though, I didn't ran the update API program.
    For testing purposes, I took one inventory_item_id from the csi_txn_errors table to see how many errors it got.
    Inventory_item_id = 304076
    Found there are 123 rows for this items. processed_flag D-20 ; E-103 ;
    I am enclosing few of data from the table here.
    I understand from you that we need to clean these errors by some means, so, we need to look at each one in sequential order, then, try to resolve that to get to next one and so on until all the errors cleared. Also, is that business users needs to do something over here to fix these errors ? Or each one have it's own resolution ?
    Why did Install Base error correction program did not fix the issues ? Is the program expected to fix the error by correcting the issue internally ?
    Thanks much,
    TRANSACTION_ERROR_ID MESSAGE_ID ERROR_TEXT PROCESSED_FLAG CREATION_DATE
    1 12224 10818 Transaction prior to freeze_date in install parameter D 10/6/2007 8:10:40 PM
    2 12227 10822 Transaction prior to freeze_date in install parameter D 10/6/2007 8:10:40 PM
    3 12229 10828 Transaction prior to freeze_date in install parameter D 10/6/2007 8:10:40 PM
    4 12230 10832 Serial control is now inappropriate for this txn. Knocking this D 10/6/2007 8:10:40 PM
    5 12225 10820 Transaction prior to freeze_date in install parameter D 10/6/2007 8:10:40 PM
    6 12226 10824 Transaction prior to freeze_date in install parameter D 10/6/2007 8:10:40 PM
    7 12228 10826 Transaction prior to freeze_date in install parameter D 10/6/2007 8:10:40 PM
    8 12231 10830 Serial control is now inappropriate for this txn. Knocking this D 10/6/2007 8:10:40 PM
    9 12950 12718 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:23 PM
    10 12952 12722 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:24 PM
    11 12954 12726 Serial control is now inappropriate for this txn. Knocking this D 10/6/2007 8:11:24 PM
    12 12947 12710 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:23 PM
    13 12948 12714 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:23 PM
    14 12949 12716 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:23 PM
    15 12951 12720 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:24 PM
    16 12953 12724 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:24 PM
    17 13574 14556 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:58 PM
    18 13575 14560 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:58 PM
    19 13573 14554 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:58 PM
    20 13576 14562 Serial control is now inappropriate for this txn. Knocking this D 10/6/2007 8:11:58 PM
    21 144067 34168 Either sub type has change owner code as "E" ,so the external party_id: (47598 ) E 12/6/2007 7:02:11 PM
    22 144133 34396 This customer item instance is currently in an Internal location INVENTORY and it is an Invalid location for the type of transaction being processed. E 12/8/2007 7:23:16 AM
    23 145027 34578 You have Material Transaction_id (4844377) errored Prior to the Current Transaction. You need to process that first. E 12/10/2007 12:04:35 PM
    24 168201 41858 You have Material Transaction_id (6048616) errored Prior to the Current Transaction. You need to process that first. E 1/30/2008 4:31:33 PM
    25 168195 41840 You have Material Transaction_id (4869894) errored Prior to the Current Transaction. You need to process that first. E 1/30/2008 4:18:43 PM
    26 169223 42238 You have Material Transaction_id (6048754) errored Prior to the Current Transaction. You need to process that first. E 2/1/2008 2:17:01 PM
    27 169211 42162 You have Material Transaction_id (6048616) errored Prior to the Current Transaction. You need to process that first. E 2/1/2008 8:52:50 AM
    28 170277 42680 You have Material Transaction_id (6072810) errored Prior to the Current Transaction. You need to process that first. E 2/5/2008 3:27:28 PM
    29 190286 46872 You have Material Transaction_id (6075528) errored Prior to the Current Transaction. You need to process that first. E 3/6/2008 6:43:27 AM
    30 190288 46876 The source item instance 304076, in Subinventory STAGE, for Organization 193 in Oracle Install Base does not exist. Please verify that any receipt transations were successful. (ITEM=304076) E 3/6/2008 6:49:20 AM
    31 207309 50410 You have Material Transaction_id (6635323) errored Prior to the Current Transaction. You need to process that first. E 3/28/2008 11:12:24 AM
    32 209320 51074 You have Material Transaction_id (7279930) errored Prior to the Current Transaction. You need to process that first. E 4/1/2008 11:44:27 AM
    33 241414 57434 You have Material Transaction_id (6151851) errored Prior to the Current Transaction. You need to process that first. E 5/12/2008 4:05:12 PM
    34 241435 57484 No instance is found for the inventory location attributes E 5/12/2008 7:01:04 PM
    35 242428 57654 No instance is found for the inventory location attributes E 5/13/2008 7:00:39 PM
    36 242419 57602 You have Material Transaction_id (7332482) errored Prior to the Current Transaction. You need to process that first. E 5/13/2008 2:44:11 PM
    37 244522 58180 You have Material Transaction_id (8291855) errored Prior to the Current Transaction. You need to process that first. E 5/15/2008 7:00:52 PM
    38 244499 58102 You have Material Transaction_id (6151851) errored Prior to the Current Transaction. You need to process that first. E 5/15/2008 1:42:11 PM
    39 247465 60310 The source item instance 304076, in Subinventory UCORE, for Organization 193 in Oracle Install Base does not exist. Please verify that any receipt transations were successful. E 5/30/2008 10:48:36 AM
    40 266432 81460 Invalid Instance Id Provided. The Item Instance ID (537385) provided is Either Expired or it does not exist in Installed Base Tables. E 9/19/2008 7:01:26 PM
    41 275056 87920 "You have encountered an unexpected error in Call_to_Contracts, with error ORA-01403: no data found.
    " E 10/22/2008 7:01:39 PM
    42 275055 87918 "You have encountered an unexpected error in Call_to_Contracts, with error ORA-01403: no data found.
    " E 10/22/2008 7:01:36 PM
    43 276087 89296 "You have encountered an unexpected error in Call_to_Contracts, with error ORA-01403: no data found.
    " E 10/30/2008 7:01:21 PM
    44 276135 89564 "You have encountered an unexpected error in Call_to_Contracts, with error ORA-01403: no data found.
    " E 10/31/2008 7:01:38 PM
    45 276153 89618 "You have encountered an unexpected error in Call_to_Contracts, with error ORA-01403: no data found.
    " E 11/3/2008 8:45:52 AM
    46 276155 89622 You have Material Transaction_id (12743392) errored Prior to the Current Transaction. You need to process that first. E 11/3/2008 8:48:13 AM
    47 276179 89690 "You have encountered an unexpected error in Call_to_Contracts, with error ORA-01403: no data found.
    " E 11/3/2008 9:31:46 AM
    48 276223 89868 You have Material Transaction_id (12743411) errored Prior to the Current Transaction. You need to process that first. E 11/3/2008 1:45:18 PM
    49 276205 89772 You have Material Transaction_id (12743982) errored Prior to the Current Transaction. You need to process that first. E 11/3/2008 11:32:40 AM
    50 276180 89694 You have Material Transaction_id (12743974) errored Prior to the Current Transaction. You need to process that first. E 11/3/2008 9:32:23 AM
    51 276318 90432 "You have encountered an unexpected error in Call_to_Contracts, with error ORA-01403: no data found.
    " E 11/5/2008 2:51:48 PM
    52 276370 90758 No instance is found for the inventory location attributes E 11/6/2008 7:01:02 PM
    53 276360 90686 You have Material Transaction_id (12744871) errored Prior to the Current Transaction. You need to process that first. E 11/6/2008 2:05:38 PM

  • Install Base APIs - creating 'Installed At' address

    Dear Experts,
    I am looking to create an Item Instance using the API: CSI_ITEM_INSTANCE_PUB.create_item_instance such that when it is queried from the Oracle E-Business Suite under the responsibility: 'Oracle Installed Base User' then all the information is there as if it was created through this front-end.
    I have managed to get the API to work successfully. However, when I query the Item Instance through the E-Business Suite, the 'Installed At' address is not there. I wish it to be the same as the current address.
    Is there any way I can create the 'Installed At' address using the API?
    My code is below. Many thanks for your time and assistance,
    Mark
    Declare
    l_instance_rec csi_datastructures_pub.instance_rec;
    l_ext_attrib_values_tbl csi_datastructures_pub.extend_attrib_values_tbl;
    l_party_tbl csi_datastructures_pub.party_tbl;
    l_party_account_tbl csi_datastructures_pub.party_account_tbl;
    l_pricing_attribs_tbl csi_datastructures_pub.pricing_attribs_tbl;
    l_org_assignments_tbl csi_datastructures_pub.organization_units_tbl;
    l_asset_assignment_tbl csi_datastructures_pub.instance_asset_tbl;
    l_txn_rec csi_datastructures_pub.transaction_rec;
    x_instance_id_lst csi_datastructures_pub.id_tbl;
    lr_party_rec csi_datastructures_pub.party_rec;
    lr_party_account_rec csi_datastructures_pub.party_account_rec;
    lr_ext_attrib_value_rec csi_datastructures_pub.extend_attrib_values_rec;
    l_return_status VARCHAR2(1);
    l_msg_count NUMBER;
    l_msg_data VARCHAR2(2000);
    l_msg_index_out VARCHAR2(100);
    l_api_version CONSTANT NUMBER := 1.0;
    l_error_stage VARCHAR2(240);
    l_start_date DATE;
    l_start_time DATE;
    Begin
    dbms_output.enable('1000000');
    l_instance_rec.instance_id := NULL;
    l_instance_rec.instance_number := NULL;
    l_instance_rec.external_reference := '';
    l_instance_rec.serial_number := '';
    l_instance_rec.inventory_item_id := 142;
    l_instance_rec.inv_master_organization_id := 83;
    l_instance_rec.vld_organization_id := 83;
    l_instance_rec.instance_status_id := 1011;
    l_instance_rec.object_version_number := 1.0;
    -- l_instance_rec.location_type_code := 'HZ_PARTY_SITES';
    l_instance_rec.quantity := 1;
    l_instance_rec.unit_of_measure := 'EA';
    l_instance_rec.mfg_serial_number_flag := 'N';
    l_instance_rec.version_label := 'AS_CREATED';
    -- l_instance_rec.location_id := l_location_id;
    l_instance_rec.active_start_date := sysdate;
    l_instance_rec.install_date := sysdate;
    --l_instance_rec.rec.active_end_date := l_hdr_rec.ib_end_date;
    lr_party_rec.party_source_table := 'HZ_PARTIES';
    lr_party_rec.instance_id := NULL;
    lr_party_rec.relationship_type_code := 'OWNER';
    lr_party_rec.party_id := 10780429;
    lr_party_rec.contact_flag := 'N';
    l_party_tbl(1) := lr_party_rec;
    lr_party_account_rec.relationship_type_code := 'OWNER';
    lr_party_account_rec.parent_tbl_index := 1;
    lr_party_account_rec.party_account_id := 1357;
    lr_party_account_rec.bill_to_address := '';
    lr_party_account_rec.ship_to_address := '';
    l_party_account_tbl(1) := lr_party_account_rec;
    lr_ext_attrib_value_rec.attribute_value_id := NULL;
    l_txn_rec.transaction_date := sysdate;
    l_txn_rec.source_transaction_date := sysdate;
    l_txn_rec.transaction_type_id := 1;
    l_error_stage := 'Call API CSI_ITEM_INSTANCE_PUB.CREATE_ITEM_INSTANCE';
    l_msg_data := NULL;
    l_msg_index_out := NULL;
    l_msg_count := NULL;
    CSI_ITEM_INSTANCE_PUB.CREATE_ITEM_INSTANCE
    p_api_version => l_api_version
    ,p_commit => FND_API.G_FALSE
    ,p_init_msg_list => FND_API.G_FALSE
    ,p_validation_level => FND_API.G_VALID_LEVEL_FULL
    ,p_instance_rec => l_instance_rec
    ,p_ext_attrib_values_tbl => l_ext_attrib_values_tbl
    ,p_party_tbl => l_party_tbl
    ,p_account_tbl => l_party_account_tbl
    ,p_pricing_attrib_tbl => l_pricing_attribs_tbl
    ,p_org_assignments_tbl => l_org_assignments_tbl
    ,p_asset_assignment_tbl => l_asset_assignment_tbl
    ,p_txn_rec => l_txn_rec
    ,x_return_status => l_return_status
    ,x_msg_count => l_msg_count
    ,x_msg_data => l_msg_data
    IF(l_return_status IN ('E', 'U')) THEN
    FOR i IN 1..fnd_msg_pub.count_msg LOOP
    fnd_msg_pub.get( p_msg_index => i
    ,p_encoded => 'F'
    ,p_data => l_msg_data
    ,p_msg_index_out => l_msg_index_out);
    dbms_output.put_line('l_return_status: ' || l_return_status);
    dbms_output.put_line('l_msg_data: ' || SUBSTR(l_msg_data, 1, 250));
    END LOOP;
    ELSE
    dbms_output.put_line('------------------------------------------');
    dbms_output.put_line('l_return_status: ' || l_return_status);
    dbms_output.put_line('l_msg_data: ' || SUBSTR(l_msg_data, 1, 250));
    dbms_output.put_line('The instance ID: ' || to_char(l_instance_rec.INSTANCE_ID));
    dbms_output.put_line('The instance Number: ' || to_char(l_instance_rec.INSTANCE_NUMBER));
    dbms_output.put_line('------------------------------------------');
    COMMIT;
    END IF;
    End;
    /

    I have found the problem:
    In create_item_instance for record type "instance_rec" pass values for "INSTALL_LOCATION_TYPE_CODE" and "INSTALL_LOCATION_ID". This will populate the "Installed At" address.

  • Installing java3d opengl version?

    i have my java j2sdk1.4.2_04 installed in the root of c:
    i have j2re1.4.2_03 installled in the following location C:\Program Files\Java
    i installed the java3d-1_3_1-windows-i586-opengl-sdk package, and when it asked for my install directories, it automatically picked my above locations that the sdk and jre were installed to in the prior installation. the install notes says
    >
    Setting CLASSPATH
    If Java 3D is installed into the JDK or JRE, you do not need to include the Java 3D jar files in your CLASSPATH, nor do you need to include the Java 3D shared libraries in your PATH or LD_LIBRARY_PATH. You should include "." in your CLASSPATH or ensure that CLASSPATH is not set.
    [\quote]
    but when i try to compile the following code in netbeans 3.6, it will not complete the compile does anyone know what i did wrong?
    //import Program Files\Java\j2re1.4.0_01
    import javax.media.*;
    import com.sun.j3d.utils;
    import java.awt.*;
    import javax.vecmath;
    public class HelloJava3Da extends Applet
      ///////////////////////////////class constructor//////////////////////////////
      public HelloJava3Da()
        setLayout(new BorderLayout());
        GraphicsConfiguration config = simpleUniverse.getPreferredConfiguration();
        add("Center", canvas3D);
        BranchGroup Scene = createSceneGraph();
        scene.compile();
        SimpleUniverse simpleU = new simpleUniverse(canvas3D);
        simpleU.addBranchGraph(scene);
      //////////////////////////////Main////////////////////////////////////////////
      public static void main( String args[] )
        Frame frame = new MainFrame(new HelloJava3Da(), 256, 256); 
      //////////////////////////////Methods/////////////////////////////////////////
      public BranchGroup createSceneGraph()
        BranchGroup objRoot = new BranchGroup();
        objRoot.addchild(new ColorCube(0.4));
        return objRoot;
    }with the following errors
    HelloJava3Da.java [2:1] package javax.media does not exist
    import javax.media.*;
    ^
    HelloJava3Da.java [3:1] package com.sun.j3d does not exist
    import com.sun.j3d.utils;
                       ^
    HelloJava3Da.java [5:1] package javax does not exist
    import javax.vecmath;
                 ^
    HelloJava3Da.java [7:1] cannot resolve symbol
    symbol  : class Applet
    location: class HelloJava3Da
    public class HelloJava3Da extends Applet
                                      ^
    HelloJava3Da.java [31:1] cannot resolve symbol
    symbol  : class BranchGroup
    location: class HelloJava3Da
      public BranchGroup createSceneGraph()
             ^
    HelloJava3Da.java [12:1] cannot resolve symbol
    symbol  : method setLayout (java.awt.BorderLayout)
    location: class HelloJava3Da
        setLayout(new BorderLayout());
        ^
    HelloJava3Da.java [13:1] cannot resolve symbol
    symbol  : variable simpleUniverse
    location: class HelloJava3Da
        GraphicsConfiguration config = simpleUniverse.getPreferredConfiguration();
                                       ^
    HelloJava3Da.java [14:1] cannot resolve symbol
    symbol  : variable canvas3D
    location: class HelloJava3Da
        add("Center", canvas3D);
                      ^
    HelloJava3Da.java [16:1] cannot resolve symbol
    symbol  : class BranchGroup
    location: class HelloJava3Da
        BranchGroup Scene = createSceneGraph();
        ^
    HelloJava3Da.java [17:1] cannot resolve symbol
    symbol  : variable scene
    location: class HelloJava3Da
        scene.compile();
        ^
    HelloJava3Da.java [19:1] cannot resolve symbol
    symbol  : class SimpleUniverse
    location: class HelloJava3Da
        SimpleUniverse simpleU = new simpleUniverse(canvas3D);
        ^
    HelloJava3Da.java [19:1] cannot resolve symbol
    symbol  : class simpleUniverse
    location: class HelloJava3Da
        SimpleUniverse simpleU = new simpleUniverse(canvas3D);
                                     ^
    HelloJava3Da.java [19:1] cannot resolve symbol
    symbol  : variable canvas3D
    location: class HelloJava3Da
        SimpleUniverse simpleU = new simpleUniverse(canvas3D);
                                                    ^
    HelloJava3Da.java [20:1] cannot resolve symbol
    symbol  : variable scene
    location: class HelloJava3Da
        simpleU.addBranchGraph(scene);
                               ^
    HelloJava3Da.java [27:1] cannot resolve symbol
    symbol  : class MainFrame
    location: class HelloJava3Da
        Frame frame = new MainFrame(new HelloJava3Da(), 256, 256); 
                          ^
    HelloJava3Da.java [33:1] cannot resolve symbol
    symbol  : class BranchGroup
    location: class HelloJava3Da
        BranchGroup objRoot = new BranchGroup();
        ^
    HelloJava3Da.java [33:1] cannot resolve symbol
    symbol  : class BranchGroup
    location: class HelloJava3Da
        BranchGroup objRoot = new BranchGroup();
                                  ^
    HelloJava3Da.java [34:1] cannot resolve symbol
    symbol  : class ColorCube
    location: class HelloJava3Da
        objRoot.addchild(new ColorCube(0.4));
                             ^
    18 errors
    Errors compiling HelloJava3Da.

    thanks for responding to my prior request.
    i have a few more fu questions.
    Is the following module required for java3d in netbeans?
    http://java3d.netbeans.org/module_intro.html
    Can i use the normal javac and java w/o mounting the class directory?
    if I did want to mount the directory for the java3d classes, what directory would it be?
    Is there a default folder in the jsdk that holds all classes, including the new installed j3d?
    what is in the following directory? it looks like to a package directory located on a remote server, or a package located on the system that originally compiled the code.
    As for mounting the class folder or class itself, would you be so kind to provide me with a j3d class mounting for dummies? I understand ide's and i'm getting decent at java, but j3d is still a marval.
    import com.sun.j3d.utils;sorry for all the questions, but thank you for the help.

  • How to run Java 3D Applet without install java3d

    I've written a java3d applet, and it runs correctly in browser on my computer. Now I want it can be run on other computers which havent' Java3d installed. If the program runs as application, then we can use jnlp and web-start to solve this problem. But what about applet? How can I do it just like the application?
    Pls help me!

    Hello. I read this article too. It sounds interesting but I have some questions. The example is given for win32 and what about other OSs and platforms? Sun provides different libraries for different OS. According to this article it is possible to run applets without previous installation of Java3D and if a user runs Windows 2000, Java3D libraries will be downloaded and installed from the location pointed out by the programmer. But how to do this for all OSs and all platforms and architectures so that if a user doesn't have Java3D installed on his/her computer, might to see the applet in his/her browser? Is it the only way that a programmer needs to include into "loader_singed.jar" all possible libraries for all possible platforms?

Maybe you are looking for

  • Pages 09 and Hebrew

    I am a student at a bilingual school where English and Hebrew are taught. I have work to do in hebrew, and using Pages or Keynote with the hebrew is HORRIBLE. Once you type in hebrew into pages, you cannot see the cursor in between letters! You can o

  • Need help setting up wireless file sharing

    We have 3 iPhones, 3 iPads, and 2 iPod touch devices. We recently purchased the Apple air port extreme, air port express, apple tv, and a western digital external hard drive my book (for Mac) 2t. I need to know how to get photos from my phone to the

  • NAT Type 2 but still strict in MW3 - Help please!!

    So here's my dilemma. I've been searching for 2 days now how to get an open NAT type in Call of Duty: Modern Warfare 3.  I've got a BT HomeHub 2. Simply connecting wirelessly to the network grants me a NAT Type 2, which I understand is supposed to be

  • Applcation scanning using SQL developer3.0

    How to do application scanning in SQL Developer for sybase ctlib and dblib applications? A reply with a step by step walk through will be helpful ..

  • The keyboard isn't showing when I want to text someone?

    The scroll on the side stops like it there but there is nothing? it happened the other day when I received a message and I could text back. I've nothing to the settings? It's only happening on my text and iMessages