Java 2 SDK non C: drive installation.

Hello. I am a newbie wrt Java.
My question is:
Is it possible to install JavaTM 2 SDK, Standard Edition
Version 1.3.1 for Microsoft Windows onto the D: or E: drive? If yes, how can this be done?
Thank you,
Ron.

Answer is YES!
When you install JDK1.3.1, a dialog box ask you to select a directory for JDK1.3.1. Its default is c:\jdk1.3.1 if you just say ok.
You can just typed in d:\jdk1.3.1 on the dialog box if you want to install JDK1.3.1 into d: drive.

Similar Messages

  • Installation Problem - Java SDK 1.4.1

    I have a problem with installing Java on my machine at home that you may be able to help me with.
    Here are the Details: 1) I installed the most recent java SDK on my machine. 2) I set the Autoexec file with the correct PATH statement. 3) Set the correct CLASSPATH statement 4) The "Java -Version" statement gives the correct reply that it is version 1.4.
    Below is my AutoExec.bat file
    SET windir=C:\WINDOWS
    SET winbootdir=C:\WINDOWS
    SET COMSPEC=C:\WINDOWS\COMMAND.COM
    SET PATH=C:\PROGRA~1\MICROS~3\OFFICE;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\ATF
    SET CLASSPATH=C:\J2SDK1_4\LIB\TOOLS.JAR;.;
    SET PROMPT=$p$g
    SET TEMP=C:\WINDOWS\TEMP
    SET TMP=C:\WINDOWS\TEMP
    Problem: Trying to compile a simple "HelloWorld" Program with "javac Helloworld.java" produces the error "Bad Command or File name".
    Issues: Command Line in Windows ME requires 8.3 format. Inserts tilde "~" and a number into the names of the files. even using a short name such as "HelWrld.java" inserts a tilde because of the "java" extension. Have tried using a "jav" extension but that does not work as the error is the same.
    Question: How can I get rid of the "Bad Command or File Name"?

    My First Java Progam (for Windows with Java 2 SDK v1.4.1)
    Follow these instructions EXACTLY.
    1. Download and install the Java 2 SDK, Standard Edition. You can find it here:
    http://java.sun.com/j2se/downloads.html
    Select the download for your operating system and be sure to download the SDK (rightmost column) and not the JRE. (The JRE is only the Java Runtime Environment, which does not include the Java compiler and other tools needed for software development).
    2. Read the README and installation instructions! Read these instead of asking questions about installation etc. in the Java forums.
    README for Java 2 SDK v1.4.1: http://java.sun.com/j2se/1.4.1/README.html
    Java 2 SDK v1.4.1 for Windows installation: http://java.sun.com/j2se/1.4.1/install-windows.html
    Things to note:
    - After installing, add the bin directory of the SDK to your PATH environment variable. For example, if you installed the SDK in C:\j2sdk1.4.1_01, add the directory C:\j2sdk1.4.1_01\bin to your PATH. (If you don't know what an environment variable is and how to set it, read the documentation of Windows; if you're using Windows XP, this might be useful: http://support.microsoft.com/default.aspx?scid=KB;EN-US;q310519& ).
    3. Open Notepad and type in your first program:
    public class HelloWorld {
    public static void main(String[] args) {
    System.out.println("Hello World!");
    Save this program somewhere with the filename "HelloWorld.java".
    Things to note:
    - The case of text is important. Don't type "Helloworld", "helloworld" or anything else. Also the case of the filename is important (even though Windows has case-insensive filenames!).
    - Watch out that Notepad doesn't append ".txt" to the filename. The file should be named "HelloWorld.java", not "HelloWorld.java.txt".
    4. Open a command prompt and go to the directory that contains the file "HelloWorld.java" (with the CD command).
    5. Compile the progam with the following command:
    javac HelloWorld.java
    Things to note:
    - If you get something like "Unknown command: javac" or "Bad command or filename", you did not (correctly) add the bin directory of the SDK to the PATH (see step 2).
    6. Run the program. If you didn't get any compile errors, you now have a new file "HelloWorld.class" in the same directory. Run the program with the following command:
    java HelloWorld
    Things to note:
    - If you get: "Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld/class", you have typed "java HelloWorld.class". Leave off the ".class" at the end. You are typing a class name here, not a filename.
    - If you get something like: "Exception in thread "main" java.lang.NoClassDefFoundError: helloworld (wrong name: HelloWorld)", you have typed the class name wrong. Note that the case is important (i.e., don't type "helloworld" but "HelloWorld")!
    - You don't need to set any classpath here. In Java 1.4, the current directory is included in the classpath automatically. For older versions of Java, you may need to add the current directory (".") to the classpath, like this:
    java -classpath . HelloWorld
    7. Congratulations with your first working Java program. Now follow these links:
    Java Tutorial
    http://java.sun.com/docs/books/tutorial/
    New to Java Programming Center
    http://developer.java.sun.com/developer/onlineTraining/new2java/
    FAQ
    http://java.sun.com/products/jdk/faq.html
    How Classes are Found
    http://java.sun.com/j2se/1.4/docs/tooldocs/findingclasses.html
    Setting the class path
    http://java.sun.com/j2se/1.4/docs/tooldocs/win32/classpath.html
    JavaTM 2 SDK Tools and Utilities
    http://java.sun.com/j2se/1.4/docs/tooldocs/tools.html
    Jesper

  • Are there non-public classes in Java SDK?

    Or are ALL classes in all packages of the Java SDK public?
    I have looked in the sources spot checking and didn't find a non public (default) class.
    If all classes are public, why?
    There exists a means in Java language to define a class as default ("class MyClass" instead of "public class MyClass") visibility. So why isn't it used by Java SDK (if this is really true)?

    I dont know what language you're programming in.
    If you don't specify
    public class
    or
    private class
    the class is "protected".
    Read the spec.If you read the spec, you'll see that, with respect to a class:
    (per section 6.6.2) Classes from outside the package the class lives in that extend the class have access to protected members.
    (per section 6.6.5) Classes from outside the package this thing lives in that extend this class do not have access to default members.
    Relevant part of section 6.6.5 (Example: Default-Access Fields, Methods, and Constructors) is:
    If none of the access modifiers public, protected, or private are specified, a class member or constructor is accessible throughout the package that contains the declaration of the class in which the class member is declared, but the class member or constructor is not accessible in any other package.
    This is default access, not protected access
    Lee

  • ATI Xpress 1250 Catalyst 9.3 Driver installation problem

    I have an ATI Xpress 1250 Radeon integrated graphics card on my laptop.
    The v9.4 drivers from the AUR crash my X and hangs with no keyboard/mouse interaction.
    The ATI driver website said the card required the 9.3 drivers which when installing gave this error:
    http://support.amd.com/us/gpudownload/l … ng=English
    [08:54][utils]$ sudo sh ati
    ati-driver-installer-9-3-x86.x86_64.run  atidriver/                               
    [08:54][utils]$ sudo sh ati-driver-installer-9-3-x86.x86_64.run
    Created directory fglrx-install.wdkccU
    Verifying archive integrity... All good.
    Uncompressing ATI Proprietary Linux Driver-8.593...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
    ==================================================
    ATI Technologies Linux Driver Installer/Packager
    ==================================================
    which: no XFree86 in (/bin:/usr/bin:/sbin:/usr/sbin:/opt/java/jre/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/home/chillu/bin/:/home/chillu/bin/)
    Error: ./default_policy.sh does not support version
    default:v2:i686:lib::none:2.6.29-ARCH; make sure that the version is being
    correctly set by --iscurrentdistro
    Removing temporary directory: fglrx-install.wdkccU
    Help!

    tealson wrote:
    I'm not quite sure, but the ATI Xpress 1250 may have been dropped from the driver support list. AMD/ATI changed a few things there back one month or so.
    Apart from this you should not try the driver from amd but test this one from aur:  http://aur.archlinux.org/packages.php?ID=25105
    Thank you!!
    That was exactly what I wanted to know!
    I was using the catalyst 9.4 drivers in the AUR and was searching for the legacy drivers from the AUR.
    Thanks again! Will try and post the results.

  • JAVA SDK

    I want to install JAVA 6 as recommended by Android 3Programming for the Dummies. Maybe I should pick newer version Java 7.
    I have found the webpage at Oracle for Java SDK installation. Which one should I pick Windows XP86 or WindowX64 for my Dell PC on Windows XP Home.
    Alan
    Edited by: 904313 on Dec 23, 2011 10:26 PM

    Rukbat, Tschodt and others,
    I am in the process of installing Android Starter Package. (Already installed JDK and Eclipse).
    Now I am on Android SDK Starter manager
    It asks for check on which packages I want.
    Android 3.1 (API 12
    Android 3.0 (API 11)
    Android 2.3 (API 10)
    and so forth with different versions and APIs. I guess I select all.
    And also Extras.
    On Android Support Package
    Google Admob Ads SDK package
    Google USB Driver package
    Google Webdriver package
    Google Analytics Sdk package
    Google Market Billing PAckage
    Google MArket Licensing Package
    and some more altogether (47 packages to install) . I guess I select all, too.
    I will wait until reply from you.
    Edited by: 904313 on Dec 24, 2011 8:09 AM

  • Creating a sample report using JAVA SDK

    Hi,
    I am trying to create a sample report using JAVA SDK.
    I slelect 4 "free cells" and pass 4 different strings to it.
    I even slelect the font colour and size. When i run the class and try to view the report in Infoview, I only seeblank blocks without any data. Now if I edit the report from infoview, and save the changes, I am able to see the data.
    My issue is, Why am I not able to see the data when I run the java code.
    Please find teh code below.
    package com;
    import java.awt.Color;
    import java.io.FileOutputStream;
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.List;
    import com.businessobjects.rebean.wi.BinaryView;
    import com.businessobjects.rebean.wi.DataProvider;
    import com.businessobjects.rebean.wi.DataProviders;
    import com.businessobjects.rebean.wi.DataSource;
    import com.businessobjects.rebean.wi.DataSourceObject;
    import com.businessobjects.rebean.wi.DocumentInstance;
    import com.businessobjects.rebean.wi.DocumentLocaleType;
    import com.businessobjects.rebean.wi.FontImpl;
    import com.businessobjects.rebean.wi.FreeCell;
    import com.businessobjects.rebean.wi.HTMLView;
    import com.businessobjects.rebean.wi.OutputFormatType;
    import com.businessobjects.rebean.wi.PageHeaderFooter;
    import com.businessobjects.rebean.wi.Query;
    import com.businessobjects.rebean.wi.Recordset;
    import com.businessobjects.rebean.wi.Report;
    import com.businessobjects.rebean.wi.ReportBody;
    import com.businessobjects.rebean.wi.ReportCell;
    import com.businessobjects.rebean.wi.ReportContainer;
    import com.businessobjects.rebean.wi.ReportElement;
    import com.businessobjects.rebean.wi.ReportEngine;
    import com.crystaldecisions.sdk.framework.CrystalEnterprise;
    import com.crystaldecisions.sdk.framework.IEnterpriseSession;
    import com.crystaldecisions.sdk.framework.ISessionMgr;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObject;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObjects;
    import com.crystaldecisions.sdk.occa.infostore.IInfoStore;
    import com.crystaldecisions.sdk.plugin.CeKind;
    public class Aug7th {
          * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              String CMS = "pundl8136:6400";
              String userID = "srivas";
              String password = "morcom123";
              String auth = "secEnterprise";
              List<String> entire =new ArrayList<String>();
              List<String> country =new ArrayList<String>();
              List<String> resort =new ArrayList<String>();
              IEnterpriseSession enterpriseSession;
              try
                   ISessionMgr mySessionMgr = CrystalEnterprise.getSessionMgr();
                   enterpriseSession = mySessionMgr.logon(userID, password, CMS,auth);
                   if (enterpriseSession != null)
                   {//Create and store useful objects for the session.
                        IInfoStore iStore = (IInfoStore)enterpriseSession.getService("InfoStore");
                        ReportEngine reportEngine = (ReportEngine)enterpriseSession.getService("WebiReportEngine");
                        IInfoObject infoView = null;
                        String str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS WHERE (SI_KIND = '"+CeKind.WEBI+"' OR SI_KIND='FullClient') " +
                        "AND SI_INSTANCE = 'false' AND SI_NAME='Structure Test_001_Java' ORDER BY SI_NAME ASC ";
                        //String str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS ORDER BY SI_NAME ASC ";
                        IInfoObjects objInfoObjectsWIDs = (IInfoObjects) iStore.query(str);
                        System.out.println(objInfoObjectsWIDs.size());
                        IInfoObject objInfoObjectWID = (IInfoObject) objInfoObjectsWIDs.get(0);
                        DocumentInstance doc = reportEngine.openDocument(objInfoObjectWID.getID());
                        DataProviders dps = doc.getDataProviders();
    //                     Retrieve the 1st data provider
                        DataProvider dp = dps.getItem(0);
    //                     Retrieve the universe objects
                        DataSource ds = dp.getDataSource ();
                        Query q = dp.getQuery();
                        Recordset rs = dp.getResult(0);
    //                     0: assume query has one flow
                        rs.first();
    //                     Print the column types. They can be Integer, String,
    //                     or Date.
                        for (int i = 0; i < rs.getColumnCount(); i++) {
                        Class c = rs.getColumnType(i);
                        StringBuffer sbt = new StringBuffer();
                        if ( c.equals(Integer.class) )
                        sbt.append("Integer");
                        if ( c.equals(String.class) )
                        sbt.append("String");
                        if ( c.equals(Date.class) )
                        sbt.append("Date");
                        sbt.append(";");
                        System.out.println(sbt.toString());
                        System.out.println(rs.getColumnCount());
                        while (!rs.isLast()) {
    //                          column names
                             StringBuffer sbn = new StringBuffer();
                             StringBuffer sbd = new StringBuffer();
                             for (int j = 0; j < rs.getColumnCount(); j++) {
                             sbn.append( rs.getColumnName(j).toString() );
                             sbn.append(";");
                             System.out.println("sbn "+sbn.toString());
    //                          data
                             for (int k= 0; k< rs.getColumnCount(); k++) {
                             sbd.append( rs.getCellObject(k).toString() );
                             sbd.append(";");
                             entire.add(rs.getCellObject(k).toString());
                             System.out.println("sbd "+sbd.toString());
                             rs.next();
                        System.out.println(entire.size());
                        for(int i=0;i<entire.size();i++){
                             country.add(entire.get(i));
                             i++;
                             System.out.println("entireList "+entire.get(i));
                             resort.add(entire.get(i));
                        DataSourceObject city = ds.getClasses().getChildByName("Country");
                        DataSourceObject resorts = ds.getClasses().getChildAt(1);
                        dp.runQuery();
                        ReportContainer report = doc.createReport("Resort");
                        PageHeaderFooter header = report.getPageHeader();
                        FreeCell headerCell = header.createFreeCell("Resort Report");
                        PageHeaderFooter footer = report.getPageFooter();
                        FreeCell footerCell = footer.createFreeCell("Report Ends");
                        ReportBody body =  report.createReportBody();
                        for(int k=0;k<resort.size();k++){
                        FreeCell res=body.createFreeCell(resort.get(k));
                        res.getAttachTo();
                        res.setHeight(15d);
                        res.setWidth(30d);
                        Color c = new Color(255,255,255);
                        Color c1 = new Color(255,0,0);
                        FontImpl fnt = (FontImpl)res.getFont();
                        fnt.getDecoration().setTextColor(c1);
                        res.setFont(fnt);
                        //res.deleteAttachment();
                        //res.setAttachTo(body,VAnchorType.BOTTOM,HAnchorType.NONE);
                        doc.applyFormat();
                        doc.refresh();
                        final String l_docToken = doc.getStorageToken();
                        final DocumentInstance l_docToSave = reportEngine.getDocumentFromStorageToken(l_docToken);
                        doc.saveAs("mor31",835,null,null);
                        doc.closeDocument();
                        str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS WHERE (SI_KIND = '"+CeKind.WEBI+"' OR SI_KIND='FullClient') " +
                        "AND SI_INSTANCE = 'false' AND SI_NAME='mor31' ORDER BY SI_NAME ASC ";
                        //String str = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS ORDER BY SI_NAME ASC ";
                        objInfoObjectsWIDs = (IInfoObjects) iStore.query(str);
                        System.out.println(objInfoObjectsWIDs.size());
                        objInfoObjectWID = (IInfoObject) objInfoObjectsWIDs.get(0);
                        DocumentInstance doc1 = reportEngine.openDocument(objInfoObjectWID.getID());
                        String token = doc1.getStorageToken();
                        DocumentInstance doc2 = reportEngine.getDocumentFromStorageToken(token);
                        doc2.saveAs("123123", 835, null, null);
                   //     doc.refresh();
                        //doc.save();
                   enterpriseSession.logoff();
              catch(Exception e)
                   e.printStackTrace();

    duplicate post:
    Sample report using JAVA SDK

  • Downloading and Installing Java SDK for AIX

    Could anyone please tell me where can i download Java SDk for AIX and how to install it before installing SAP?
    Thanks in Advance

    Hi Mega,
    You can downloads Java SDK 1.4.2 from this location, just choose the OS,
    https://sdlc5d.sun.com/ECom/EComActionServlet;jsessionid=CA558AF3F6842F61D26641D9A6853DCA
    installation is very simple, just copy the downloaded file and execute by running <b>./<name of the file>.sh</b> at the command prompt.
    Regards
    Juan
    Please reward with points if helpful

  • Read Before Posting - Where to find Business Objects Java SDK Resources

    Before posting you should look through the various resources below for the answers to your questions. A lot of the "how to" or "where can I find" questions are already answered in the material below.
    Search the Forums
    Use the search feature in these forums to see if your question has already been answered.
    SDK Libraries
    [BI 4.0|http://www.sdn.sap.com/irj/boc/sdklibrary]
    [BusinessObjects Enterprise XI 3.0|http://www.sdn.sap.com/irj/boc/sdklibrary?rid=/webcontent/uuid/90db428d-71ba-2e10-7eb7-d3286eec5ac0]
    [BusinessObjects Enterprise XI Release 2|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]
    [BusinessObjects Enterprise XI Release 1|http://devlibrary.businessobjects.com/BusinessObjectsXI/en/devlib.htm]
    Crystal Enterprise 10, Not available online.
    [Online Viewable JavaDocs|http://help.sap.com/javadocs/index.htm#sapbobj]
    SAP Notes
    (Formerly known as the Business Objects Knowledge Base)
    This is a good location to find known issues, look up error messages, and general tips and tricks with the BusinessObjects Enterprise product line.
    [https://service.sap.com/notes] (this requires logon to the SAP Service Marketplace).
    Crystal Reports Server, Crystal Reports and Xcelsius SAP Notes are accessible here:
    [https://www.sdn.sap.com/irj/sdn/businessobjects-notes]
    Sample Code Search
    [BusinessObjects Enterprise SDK|https://wiki.sdn.sap.com/wiki/x/HQBmBQ]
    [RAS SDK|https://wiki.sdn.sap.com/wiki/x/HgBmBQ]
    [Web Services SDK|https://wiki.sdn.sap.com/wiki/x/HwBmBQ]
    [Report Engine SDK|https://wiki.sdn.sap.com/wiki/x/IABmBQ]
    [Crystal Reports Java SDK|https://wiki.sdn.sap.com/wiki/x/JgBmBQ]
    [Java Reporting Component SDK|https://wiki.sdn.sap.com/wiki/x/JwBmBQ]
    Business Objects Downloads
    - Service Packs and Fix Packs
    - Merge Modules and Installation Packages
    - Sample Reports and Databases
    [http://service.sap.com/bosap-downloads] (requires logon to SAP Service Marketplace).
    Crystal Report For Eclipse
    [WIKI|https://www.sdn.sap.com/irj/boc/crystalreports-java]
    [Product Portal|https://www.sdn.sap.com/irj/boc/crystalreports-java]
    Crystal Reports Server, Crystal Reports, and Xcelsius Downloads
    [https://www.sdn.sap.com/irj/sdn/businessobjects-downloads]
    Business Objects Articles
    [https://www.sdn.sap.com/irj/sdn/businessobjects-articles]
    Edited by: Aasavari Bhave on Oct 25, 2011 8:49 AM

    Thanks. That was useful.
    -Rajini

  • How to set DbConnections when scheduling a crystal report using Crystal Reports Server Java SDK?

    Post Author: Manjula
    CA Forum: JAVA
    Hi,
    Trying to schedule a report using Crystal Reports Server Java SDK. Want to pass DBConnections from API, though passing DBConnections, the report is not being scheduled and says "Failed to retrieve data from the database.Details:&#91;Database Vendor Code:6550&#93;.
    Would be thankful if someone could answer my point as applicable.
    Here is the code attached.
    ISDKList dbLogons = oReport.getReportLogons();int dbLogonSize = dbLogons.size();
    for(int i=0; i<dbLogonSize; ++i) {
    IReportLogon dbLogon = (IReportLogon)dbLogons.get(i);
    dbLogon.setDatabaseName("DBname");
    dbLogon.setUserName("usrname");
    dbLogon.setPassword("pwd");
    Thanks in advance.

    Post Author: Manjula
    CA Forum: JAVA
    Ted,
    Thank you for your valuable information.
    First, tried scheduling on Central Management Console and then with the java code.It worked fine, but here is another question for you.
    On the Console, a report exists with ServerName and UserName harcoded and when trying to set ServerName and UserName from the java code, its throwing exception. Where as Password is not set on Console, am able to set password from java.
    And DatabaseName is not set on Console (non editable), unable to set the same from java too. Why is it so?
    So, my question is - though ServerName,DatabaseName,UserName,Password exists on the Console report, can't I override those parameters from java?
    Would be greatful if you answer my question and provide me some guidance.
    Thanks in advance.

  • Java SDK ME on 64bit Vista?

    I'm trying to pick up some programming skills in Java so that I can make apps for my phone, I require Java SDK ME to do so. I've seen a lot of people saying that Java SDK ME won't work on 64bit Vista and they're right, it doesn't. However, some people said there was a way to make it work, but they didn't seem to be very good at giving instructions so I'm still lost.
    At the moment, I have no Java developer tools installed because none of them worked. Could someone point me in the right direction to getting Java SDK ME to work on 64bit Vista?

    Hopefully this can help you:
    [http://blogs.sun.com/javamesdk/entry/vista_64_bit|http://blogs.sun.com/javamesdk/entry/vista_64_bit]
    Edited by: RadkoN on Feb 25, 2010 12:09 AM

  • Webi document prompts order from Java SDK does not refresh correctly?

    Hi
    I'm developping a standalone command-line Java program which will schedule a report with custom prompt values.
    I am having a problem with Webi prompts ordering acquired from the SDK.
    We are running BO XI R2 SP4 under Windows on Tomcat servers.
    Here is the problem:
    I have a Webi report called "Articles Racines" in a "Tests SDK" directory.
    This report uses two prompts named "Type Article :" and "Code Marque :" (in this order).
    Java SDK (code below) returns the right prompts in the right order.
    Now, in Infoview, I modify the report in order to change the order of the prompts (in the "Properties" tab) making "Code Marque :" the first and "Type Article :" the second one and save the changes.
    When I run the report, prompt order has changed but the prompts retrieved from the Java SDK are still in the old order.
    I noticed that if I update the name of both prompts, the prompts retrieved from the SDK now are in the right order (with the updated names).
    Am I doing something wrong? Is it a known issue?
    Thanks in advance.
    Guillaume
    PS : I am aware that "select *" are very bad but I am still in research stage of developpment.
    TestsScheduler.java:
    import java.util.Iterator;
    import java.util.List;
    import java.util.StringTokenizer;
    import com.businessobjects.sdk.plugin.desktop.webi.IWebi;
    import com.businessobjects.sdk.plugin.desktop.webi.IWebiPrompt;
    import com.crystaldecisions.sdk.exception.SDKException;
    import com.crystaldecisions.sdk.framework.CrystalEnterprise;
    import com.crystaldecisions.sdk.framework.IEnterpriseSession;
    import com.crystaldecisions.sdk.framework.ISessionMgr;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObject;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObjects;
    import com.crystaldecisions.sdk.occa.infostore.IInfoStore;
    public class TestsScheduler {
         public static void main(String[] args) {
              String cms = "XXX";
              String username = "XXX";
              String password = "XXX";
              String authentification = "secEnterprise";
              String reportPath = "/Tests SDK/Liste des racines";
              try {
                   ISessionMgr sessionManager = CrystalEnterprise.getSessionMgr();
                   IInfoObjects objects;
                   // Connexion
                   System.out.println("Connexion à "+ username +"@"+ cms +" ("+ authentification +") en cours...");
                   IEnterpriseSession session = sessionManager.logon(username, password, cms, authentification);
                   System.out.println("Connecté à "+ session.getCMSName());
                   // Récupération de l'infoStore
                   IInfoStore infoStore = (IInfoStore) session.getService("InfoStore");
                   // Récupération des informations d'un report
                   StringTokenizer st = new StringTokenizer(reportPath, "/");
                   int reportID = 0; // Le dossier "Dossiers Publics" est la racine (/)
                   IInfoObjects infoObjects;
                   IInfoObject infoObject;
                   do {
                        String token = st.nextToken();
                        System.out.println("Recherche de l'objet '"+ token +"' en cours...");
                        infoObjects = infoStore.query("select * from CI_INFOOBJECTS where SI_NAME = '"+ token +"' and SI_PARENTID = '"+ reportID +"'");
                        if(infoObjects.size() != 1) {
                             throw new Error("Le dossier SI_ID='"+ reportID +"' possède "+ infoObjects.size() + " fils nommés '"+ token +"'.");
                        infoObject = (IInfoObject) infoObjects.get(0);
                        reportID = infoObject.getID();
                        System.out.println("Trouvé l'objet SI_ID='"+ reportID +"' nommé '"+ infoObject.getTitle() +"'.");
                   } while(st.hasMoreTokens());
                   if(infoObject instanceof IWebi) {
                        IWebi webi = (IWebi) infoObject;
                        List prompts = webi.getPrompts();
                        System.out.println("Le rapport Webi possède "+ prompts.size() +" invite(s).");
                        for(Iterator itPrompts = prompts.iterator(); itPrompts.hasNext();) {
                             IWebiPrompt prompt = (IWebiPrompt) itPrompts.next();
                             List values = prompt.getValues();
                             System.out.println("     L'invite '"+ prompt.getName() +"' possède "+ values.size() +"' valeur(s).");
                             for(Iterator itValues = values.iterator(); itValues.hasNext();) {
                                  Object value = itValues.next();
                                  System.out.println("          Valeur='"+ value +"'.");
                   // Déconnexion
                   System.out.println("Déconnexion en cours...");
                   session.logoff();
                   System.out.println("Déconnecté");
              } catch(SDKException e) {
                   throw new Error("Erreur lors de la connexion : "+ e.getMessage());
    Edited by: Guillaume L on Dec 10, 2008 3:22 PM

    Here's the reason why:
    Web Intelligence document prompting is handled properly if you open the doc using the ReportEngine Java (REBean) SDK.
    When you set prompts and schedule, you'd first open the doc using REBean, set the prompts, then copy over the prompt values you've set to the IWebi you're scheduling using the PromptsUtil.populateWebiPrompts(...,...) helper method.
    So the InfoObject IWebi doesn't know about the actual ordering of the prompts in the document itself - it's just receiving the prompts in order as it's fed from PromptsUtil.
    It's not recommended to assume that the IWebi.getPrompts() will return a non-empty collection.  The Web Intellligence document must be first opened in ReportEngine and the prompting values set using PromptsUtil to fill the collection.
    Sincerely,
    Ted Ueda

  • Do I have to activate AHCI mode on a Mountain Lion after a new SSD drive installation?

    Hello All,
    Do I have to activate AHCI mode on a Mountain Lion after a new SSD drive installation?
    I have a new Corsair GT SSD sata 3 drive on my mack book, I have read on corsair web page that is good tho activate the AHCI and TRIM but I cant find information about how to do this on OS X.
    Thank you all

    That's information for non-Apple hardware. You can activate TRIM using third-party software: TRIM Enabler 2.2. However, most new SSDs should not need TRIM activated on the Mac.

  • BOXI sever unavailable after Java SDK install

    I recently installed the Java SDK on a platform running BOXI 3.1 SP3. During the install, I de-selected the Enterprise options (per the install doc). Subsequent to the install, I no longer had access to the BOXI. Upon review, it seems that the custom install removed the exec files for all of the client programs, along with the exec for SIA, CMC.url, InfoView.url, and Tomcat.
    However, with the exception of the above files and service, the installation directory in intact, along with the File Store and CMSC. What is the recommended procedure to restore the missing elements? I figure I'll have to initiatie the custom install to recapture Tomcat, but what about the exec files? Will a custom install add only the missing elements, or re-install the entire server? Thanks in advance for you help.
    Mark

    The instructions you followed were likely for installing on a new machine, not for an existing install.  The items that are selected are what will be installed after you run the installation, so removing options I believe will remove those from the installation.  It may be best to ask this in the architecture forum [here|Business Intelligence Solution Architecture; or to create a case with support.

  • Could not create the Java virtual machine error during installation

    Hi,
    We are doing an ERP 2005 Installation on AIX 5.2 ML08 with DB2 as the
    database.During "Import ABAP" Phase of the installation we are getting
    the below error.
    ========================================================================ERROR 2007-03-12 13:35:30
    CJS-30022 Program 'Migration Monitor' exits with error code 1. For
    details see log file(s) import_monitor.java.log, import_monitor.log.
    ERROR 2007-03-12 13:35:30
    FCO-00011 The step runMigrationMonitor with step key
    |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was
    executed with status ERROR .
    ========================================================================
    In "import_monitor.java.log" below entries are there
    Unrecognized option: -Xj9
    JVMCI119: Error parsing IBM_JAVA_OPTIONS java options - rc=-6
    Could not create the Java virtual machine.
    Usage: java [-options] class [args...]
    (to execute a class)
    or java [-jar] [-options] jarfile [args...]
    (to execute a jar file)
    Java Version is as below
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
    Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX build ca142-20050929a (SR3)
    (JIT enabled: jitc))
    Regards,
    Sumi

    Hi all,
    I just checked the note 716927 again - it refers to note 1024539.
    That one says you should use SR7 and activate J9 technology
    so make sure you have the java version
    "J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build
    caix64142ifx-20061222 (ifix 113727: SR7 + 112603)"
    and that the environment variable
    IBM_JAVA_OPTIONS=-Xj9
    is set for user <sid>adm
    After the installation, make sure that the JVM parameters are set as described in the note 1024539.
    By the way: it doesn't work if you use any other Java SDK (e.g. from Sun), as AIX has it's own one.
    Best regards,
    Cornelia

  • 32bit DIFx Driver Installer Error when Installing 9.0.2

    Never had a previous problem with iTunes and when I went to use it this morning, it crashes everytime. Uninstalled completely, reinstalled 9.0.2 and now I get an error "32bit DIFx Driver Installer" and iTunes "finishs" installing and crashes after opening again. Have tried unsuccessfully to figure out a fix for this. All my children got iPod Touches for Christmas and I got a brand new iPod nano and none of us can use them now. Please help!

    Hey guys! So, I experienced the same issues with the newest iTunes update. I updated several days ago, but I used iTunes for the first time since the update today. iTunes would load but immediately display a message that it needed to close. After several attempts to open iTunes, I reinstalled QuickTime as suggested by another website. Also suggested was trying to repair QuickTime and iTunes. When that didn't work, I removed both QuickTime and iTunes and did a clean reinstall from new downloads. When I did this, I got the 32bit DIFx Driver Installer error. It "finished" the install, but it still closed immediately upon opening. I ran Malware-Bytes and Hijack This to check for spyware/adware/mal-ware a few days ago so I was fairly certain my system was clean...but after two hours of trying to figure out this problem, I decided to go ahead and check for virus or malware.
    Indeed, I found six files (mostly located in the System Volume Information folder). After having Avast remove these files...iTunes successfully installed without the DIFx error! So much for being "sure" my system was clean. The files found were all related to the Win32:Malware-gen virus.
    So I suggest you check your system for malware and virus infection. I did my scan in safe mode and did the most in-depth search that Avast will perform. I highly suggest doing a full search with UPDATED virus program even if you think your computer is okay.
    I have had no issues with iTunes after cleaning my computer!

Maybe you are looking for

  • Installer App bounces but doesn't open.

    Hey guys. So for my statistics class I have to use this program called JMP. There is a Mac version available from my school so I downloaded it and unzipped it accordingly. I thought I had it downloaded on my Mac, but somehow it disappeared. I was goi

  • How can I turn off the WLS 6.1 security in order to develop my own application-based security module?

    Dear Colleagues, I am currently developing a J2EE application using WLS 6.1. My team and I have to implement a security requirement to suit our company's needs. The security requirements are that, users' password need to be aged (30 days maximum) and

  • HT1277 mail 4.6 will not open

    I just updated my OS X software to 10.6.8 and now I get a message that "mail.app" will not open.  The update installed a newer version of applemail so I now have two versons of mail.app on my hard drive.  When I try to open the old version (the one t

  • Download 9i failed

    I'm trying to download Oracle 9i database for linux. This however failed after the download of the first CD of the 3. Next links: http://download.oracle.com/otn/linux/oracle9i/9204/ship_9204_linux_disk2.cpio.gz and http://download.oracle.com/otn/linu

  • Error trying to activate cellular data plan Q1019

    Iʻm trying to activate my cellular data on my ipad, but everytime I enter my billing info. and what not it keeps giving me a Q1019 error which says "Please validate the highlighted billing information and retry" Iʻve done this a number of time with d