My Applet loads only if java sdk is installed...

I have developed an Applet which reads an image from the server (its serving host) , edits it and then writes a stream back to server, which is captured by servlet that writes the stream to a file.
I have deployed this in a web application (in Tomcat 5 .0) /webApps/Images. The jsp page accessing the applet and the jar file containing the code are placed directly under the root directory.
(I have used jdk1.4_06)
Everything is fine when i run this applet from my own system (using my system ip and port 8080 like http://...:8080/Images/Rapp.jsp ) and on other systems having jre installed (sdk 1.4 ). But when i try to invoke this applet from other machines w/o java it displays Applet not inited or Class not found exception.
This applet is a part of web site and so i can't expect all the users to have jdk installed. I don't even think i need to sign my applet as i need not access the client system.
I have been trying to find the root cause of this problem but in vein.
Please somebody help me out. Thanks in advance.

I do agree with you that the jre could be smaller but you need a jre to run applets.
With the jdk there is a msi (microsoft inistaller) of 10MB
(user.home)\Local Settings\Application Data\Sun\Java\jre1.5.0_04\jre1.5.0_04.msi
The cab file to install the jre from codebase using the object tag with clsid is located here:
http://java.sun.com/update/1.5.0/jinstall-1_5_0_04-windows-i586.cab
Note that you need mozilla to download it because IE can't do it for you.
And it's a verry small cab file executing a program that needs to fetch the rest
of the jre from SUN's website (in other words just pray it is still there when
youre clients run it)

Similar Messages

  • Applet loading only in chrome, not IE

    Hello, I made a TicTacToe applet. But the problem is, it only loads on a browser such as Google Chrome, but doesn't load on a browser, such as, Internet Explorer. Here is the code of the class that extends JApplet:
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.ArrayList;
    public class TicTacToe extends JApplet implements MouseListener {
        public void init() {
            setSize(350, 350);
            add(panel);
            addMouseListener(this);
            setVisible(true);
            for (int i = 0;i < 10;i++)
                positionAvailable[i] = true;
        public void mousePressed(MouseEvent me) {
        public void mouseClicked(MouseEvent me) {
            int x = me.getX();
            int y = me.getY();
            if (!RespondToPlayer.won && !RespondToPlayer.lost && !RespondToPlayer.tie) {
                mouseClicks(x, y);
            } else {
                drawXList.clear();
                drawOList.clear();                   
                for (int i = 0; i < positionAvailable.length; i++) {
                        positionAvailable[i] = true;
                RespondToPlayer.won = false;
                RespondToPlayer.lost = false;
                RespondToPlayer.tie = false;
                DrawBase.clearAll = true;
                panel.repaint();
        public void mouseClicks(int x, int y) {
            if ((x > 40 && x < 102) && (y > 52 && y < 102) && positionAvailable[1]) { //position 1
                drawXList.add(1);
                panel.repaint();
                positionAvailable[1] = false;
                Computer.computerTurn();
            if ((x > 107 && x < 209) && (y > 52 && y < 102) && positionAvailable[2]) { //position 2
                drawXList.add(2);
                panel.repaint();
                positionAvailable[2] = false;
                Computer.computerTurn();
            if ((x > 215 && x < 282) && (y > 52 && y < 102) && positionAvailable[3]) { //position 3
                drawXList.add(3);
                panel.repaint();
                positionAvailable[3] = false;
                Computer.computerTurn();
            if ((x > 42 && x < 102) && (y > 110 && y < 156)&& positionAvailable[4]) { //position 4
                drawXList.add(4);
                panel.repaint();
                positionAvailable[4] = false;
                Computer.computerTurn();
            if ((x > 107 && x < 209) && (y > 110 && y < 156)&& positionAvailable[5]) { //position 5
                drawXList.add(5);
                panel.repaint();
                positionAvailable[5] = false;
                Computer.computerTurn();
            if ((x > 219 && x < 285) && (y > 110 && y < 156)&& positionAvailable[6]) { //position 6
                drawXList.add(6);
                panel.repaint();
                positionAvailable[6] = false;
                Computer.computerTurn();
            if ((x > 40 && x < 102) && (y > 164 && y < 231)&& positionAvailable[7]) { //position 7
                drawXList.add(7);
                panel.repaint();
                positionAvailable[7] = false;
                Computer.computerTurn();
            if ((x > 107 && x < 209) && (y > 164 && y < 231)&& positionAvailable[8]) { //position 8
                drawXList.add(8);
                panel.repaint();
                positionAvailable[8] = false;
                Computer.computerTurn();
            if ((x > 215 && x < 282) && (y > 164 && y < 231)&& positionAvailable[9]) { //position 9
                drawXList.add(9);
                panel.repaint();
                positionAvailable[9] = false;
                Computer.computerTurn();
        public void mouseExited(MouseEvent me) {
        public void mouseEntered(MouseEvent me) {
        public void mouseReleased(MouseEvent me) {
        static DrawBase panel = new DrawBase();
        static boolean positionAvailable[] = new boolean[10];
        static ArrayList<Integer> drawXList = new ArrayList<Integer>();
        static ArrayList<Integer> drawOList = new ArrayList<Integer>();
    }This is the site: www.abraham2119.ulmb.com
    Do you know what's wrong?

    T.B.M wrote:
    Why don't you try running his applet?Why should I?
    Post the applet tag with it's contents, here. No reason why anyone should have to go to an external site to get the information needed to solve his problem. He should post that information here.
    Edit: BTW, take a close look at his page:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
    <html>
    <head>
    <title>Tic-Tac-Toe</html>
    </head>
    <body bgcolor="black">
    <!-- Begin Free Hosting Code Insert -->
    <script type="text/javascript" src="/.system/insert.php"></script>
    <!-- End Free Hosting Code Insert -->
    <center><applet code="TicTacToe.class" archive="Applet.jar" width="330" height="330">
    Java is not installed on your machine or your browser does not allowed Java Applet to run<br /><br />Get the latest Java technology at <a href="http://www.java.com/">http://www.java.com/</a>
    </applet></center>
    </body>
    </html>How do you close a title tag?
    Edit Again: That any browser shows anything but the title (if that) is much more an error in those browsers that do show it, rather than those that don't. (Not that I like MS, I despise their strategy, but they do, occassionally, do things correctly.)

  • Applet load problem where few JRE versions installed?

    Using this:
         OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="95%" height="94%" codebase="/plugin/j2re-1_4_2_04-windows-i586-p.exe#Version=1,4,2,0"
    On JSP bring up empty screen when machine is upgraded to JRE 1.6 from JRE 1.5. It seem that when machine have few versions of JRE – applets not loaded. The following: "/plugin/j2re-1_4_2_04-windows-i586-p.exe" do exist under webroot folder.
    Impact is of large volume of machines. A solution suggested is to uninstall JRE before upgrading (and it does work) but explanation of bug / reasons would be much appreciated, even more a better solution for the code itself.
    Edited by: 815564 on Nov 24, 2010 11:59 PM

    815564 wrote:
    Using this:
         OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="95%" height="94%" codebase="/plugin/j2re-1_4_2_04-windows-i586-p.exe#Version=1,4,2,0"codebase should be a directory, not a file (and certainly not a JRE installer).
    On JSP bring up empty screen when machine is upgraded to JRE 1.6 from JRE 1.5. It seem that when machine have few versions of JRE – applets not loaded. The following: "/plugin/j2re-1_4_2_04-windows-i586-p.exe" do exist under webroot folder.
    Impact is of large volume of machines. A solution suggested is to uninstall JRE before upgrading (and it does work) but explanation of bug / reasons would be much appreciated, even more a better solution for the code itself.Did you have a question?

  • How to uninstall Java SDK 1.5.0_14

    Dear,
    I just installed a brand new Solaris 10 and latest patch cluster.
    Default on my system are the following 2 folders under /usr/jdk:
    j2sdk1.4.2_11 and jdk1.5.0_06
    I installed the Java SDK 1.5.0_14, but in the wrong destination folder.
    When I check my Java version with "Java -version"
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
    Why I don't have the latest one, the SDK 1.5.0_14 ?
    My question: I want a proper situation with only the Java SDK 1.5.0_14 installed.
    How do I remove Java SDK 1.5.0_14.
    How do I remove Java SDK 1.5.0_6
    Do I have to remove the 1.4.2_11 ?
    Thx guys...

    Thx for your answer...
    I want to have the installation of Java SDK 1.5.0_14 in a different location ?
    Can I just move the folder ?
    But I guess it's better to do uninstall and re-install it ?
    Right ?
    Thx in advance guys... (I'm not yet worked in in this stuff...)

  • Java SDK  on sun machine

    How do i find out the Java SDK is installed or not in the sun machine ?
    What is the command to find the version of the SDK ?
    Thanks .

    Hi, i have set my environment variables for java
    JAVA_HOME : C:\Program Files\Java\jdk1.5.0_15
    path: C:\Program Files\Java\jdk1.5.0_15\bin
    It still points to 1.4. By the way, i never install 1.4 version into my machine personally. I think it comes with vista

  • Java Applet Load Issues

    For some applets, well, nothing happens. Im not sure what the problem is, but certain applets load, and other applets just make a gray frame and generate an error. Even my own applets I compile dont run. Everything works properly on my applets, because I can run them in the appletviewer, just not in the browser (which is kinda essential for running other peoples applets on the web, ya know). Odd thing is I can run them on my other comp, and practically the only difference is that it doesnt have the SDK on it.
    Computer specs are: WinME with JDK and JRE v 1.4.1_01, and the JVM on it.
    An excerpt of the error it generates every time a problematic applet is run (from my javalog.txt file):
    Error loading class: <AppletName>
    java.lang.NoClassDefFoundError
    java.lang.ClassNotFoundException: <AppletName>
         at com/ms/vm/loader/URLClassLoader.loadClass
         at com/ms/vm/loader/URLClassLoader.loadClass
         at com/ms/applet/AppletPanel.securedClassLoad
         at com/ms/applet/AppletPanel.processSentEvent
         at com/ms/applet/AppletPanel.processSentEvent
         at com/ms/applet/AppletPanel.run
         at java/lang/Thread.run
    I have no idea what any of that mess is, or why its so painful. If anyone can give a hand, Ill be checking here every 10 seconds until the time that it gets fixed, or you can email me at [email protected], thanks.

    Can you find a "Sun Java Console" entry on IE's Tools menu? If not, the Sun jvm isn't installed in a manner that IE can access.
    The messages that you posted in your original post are from the MS jvm. If the Sun jvm is operating, you shouldn't be seeing those messages.
    If the Sun jvm is being invoked by IE, then a red/blue icon of a steaming cup of coffee will be in the Systray area of the Start bar - at the far right. If it's there, a rightclick will allow you to open the Sun java console, which will report any problems or errors encountered.
    Check it out.

  • Java 1.5_13 applet loading problem due to 'activate control' fix

    I updated my JRE to Java 1.5 revision 13, and it seems to introduce a new problem. In order to fix the "click here to activate this control" problem in internet explorer, I iterate the document model and set the outerHTML of the applet tag to the same outerHTML. This removes the annoying rectangle in IE. This also causes the applet to load and break down the first time the page is displayed, because IE removes the old applet instance and creates a new one when replacing the outerHTML. When this happens on the new Java JRE release, an exception is thrown to the user saying:
    java.lang.NullPointerException
         at sun.plugin.AppletViewer.loadJarFiles(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    The applet loads correctly, but the message should not be displayed. Also, it only seems to happen sometimes (maybee because sometimes the applet does not yet start before IE runs the script to replace its contents)
    Full lifecyle from the console panel:
    basic: Registered modality listener
    basic: Registered modality listener
    liveconnect: Invoking JS method: document
    liveconnect: Invoking JS method: URL
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@181fbd6, refcount=5
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@982291
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    basic: Unregistered modality listener
    basic: Stopping applet ...
    basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@982291
    basic: Finding information ...
    basic: Releasing classloader: sun.plugin.ClassLoaderInfo@181fbd6, refcount=4
    basic: Done ...
    basic: Joining applet thread ...
    basic: Destroying applet ...
    basic: Disposing applet ...
    java.lang.NullPointerException
         at sun.plugin.AppletViewer.loadJarFiles(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    basic: Exception: java.lang.NullPointerException
    java.lang.NullPointerException
         at sun.plugin.AppletViewer.loadJarFiles(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    basic: Joined applet thread ...
    basic: Unregistered modality listener
    basic: Quiting applet ...
    basic: Registered modality listener
    liveconnect: Invoking JS method: document
    liveconnect: Invoking JS method: URL
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@181fbd6, refcount=5
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@1347dad
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    Does anyone know how to fix this new issue? Or does anyone know of a better way to solve the 'activate control' problem in IE that does not cause the reloading of this applet?
    Thanks.

    Hi!
    *1 -* Poor_Sitar_player's solution that i used.
    a - Build the applet's comented code into a div ...
    </div id='555>
    <!--
    <body>
    <applet name="EditoRTFa.class" id='editor' archive="../pages/expediente/Modelo/Editor/EditoRTFa.jar"
    code="br.gov.pa.tj.processo.expediente.casos.editor.EditoRTFa.class" width="750" height="550">
    </applet>
    <body>
    -->
    </div>
    b - After, insert a javascript the will remove the coments....
    <script type="text/javascript">
    var x = document.getElementById('555');
    var texto = x.innerHTML;
    texto = texto.replace('<!--','').replace('-->','');
    x.innerHTML = texto;
    <script type="text/javascript">
    *2 - Another solution*
    If you are using struts2 or your applet is inside a internal frame, is possible that the above solution will not work.
    So, the solution that i found was place the applet code in the main page, with width and heigh iguals "*0*" and style="float: left;" to hide the applet.
    This way, the applet will be load before you call the right page.
    That's all.
    Edited by: carlosmcp on Oct 14, 2008 7:01 AM

  • Java applet loading for a long time.

    If you go here (warning - long load to start with) -
    www.aclwebsite.co.uk
    I have placed a newsticker java applet there but when you first visit the site the browser freezes up for a while untill the applet loads.
    Any idea on whats causing this to load so much?
    Thanks.

    If you go here (warning - long load to start with) -
    www.aclwebsite.co.uk
    I have placed a newsticker java applet there but when
    you first visit the site the browser freezes up for a
    while untill the applet loads.
    Any idea on whats causing this to load so much?
    Thanks.A long-running init() or start() method of the applet. I guess you better do something about your own code then.

  • Fatal Error: This J2EE SDK release runs only on Java 2 (JDK1.2 or later)

    Hi
    Can any one help me
    i install the j2ee
    i have jdk 1.4 version
    i set the JAVA_HOME & J2EE_HOME path also
    but when i run j2ee.bat i got the folloing error
    Fatal Error: This J2EE SDK release runs only on Java 2 (JDK1.2 or later)
    so any one solved my problem
    Regards
    Nimesh

    Another possibility might be the J2EE implementation itself.
    In the code for j2sdkee1.2.1, the error you see appears to originate in the checkJVMVersion method of com.sun.enterprise.util.Utility:
    if ( !javaVersion.startsWith("1.2")
    && !javaVersion.startsWith("1.3") ) {
    errmsg += "Fatal Error: This J2EE SDK release runs only on " +
    "Java 2 (JDK1.2 or later)\n";
    fatal = true;
    This method is called first by J2EEServer. If you are using a later implementation of J2SE, then you will probably have some problems.

  • Applet loading on JAVA SIM CARD

    Does someone already load an Applet on a GSM java SIM Card ??
    If YES, I really need help.
    What is the difference of action between a JavaCArd & a JavaSIMCard for applet loading ?
    I can't select the Installer Applet on my SIM with :
    0x00 0xA4 0x04 0x00 0x09 0xa0 0x00 0x00 0x00 0x62 0x03 0x01 0x08 0x01 0x7F;
    response : SW1=9E SW2=00
    9E00 -> CLASS error ??
    So how to do if CLA mustn't be 0x00 ??
    thx for quick reply.

    Thx for your reply !
    I'm Working on a Gemplus Java SIM Card.
    Which tool ?
    No one !
    I used Javacard Kit 2-1-2 for compiling, converting and Script Generation.
    So I have the CAP and SCR files.
    But now, I haven't got any tool for loading my converted Applet !
    I know, you 'll tell me to buy one.
    Now, I'll be obliged to, I tried without and as i didn't find how to do ...
    Any suggestion on the Kit I need ??
    thx

  • Multiple instances of the same applet loaded causes problem

    I have a java applet that has several classes in the project. The applet has a JTable a JButton and a JLabel control. The applet is displayed within an HTML page. The problem is that if a user opens the same html page more than once with the applet in it, only the last applet loaded receives the screen updates.
    For example in one senario. I have an error message that displays in the Label control once they click on the button.
    The user opens the html page and the applet is loaded (window 1). The user then opens the same html page again (window 2) with window 1 still open. If the user clicks on the Button in window 1, the error message is displayed in the window 2 applet.
    Originally I had some static variables. Thinking it was being used globally by the JVM so I removed all of them and it still happens. I have tried using both the Applet and Object tag. But it still happens.
    Has anyone experienced this before? Any suggestions on how to make the applet update the instance that recieved the events and not just the last one that was loaded?

    You need to look at applet classloader issues. If applets have the same archive list and come from the same codebase, they have the same classloader. A class is namespaced by it's class + classloader. Any statics in a class with a classloader will be shared. If you instead make it such that your applets have unique classloaders (which you can't change for unsigned applets by yourself) by changing the codebase, that would be one solution.
    For other solutions, I recommend searching the forum. This issue comes up a lot.

  • File Access with unsigned Applet through editing the java.policy file

    I'am starting to lose my hair on this...
    I am trying to get an applet to run so that it can access the file system to move files on my local maschin. Because this applet is only running on my VM i can change the java.policy to avoid the signing of the applet.
    first of all, if i wrote in the java.policy file
    grant {
      permission java.security.AllPermission; 
    };everything is working perfekt.
    But I have not the intention to open the gates for any applet out there, so i want to limit the access to my applet. With every of the following versions I get at best an
    java.security.AccessControlException: access denied (java.io.FilePermission...
    My Setup
    My Java Version: jre1.6.0_02
    My applet is located unter the url
    http://admin.mydomain.com/applet.jar
    In Html i tryed the following different versions of loading the applet - none worked
    <applet codebase="http://admin.mydomain.com/" name="shortcut" code="start.class" archive="applet.jar" width="0" height="0"></applet>
    <applet codebase="http://admin.mydomain.com" name="shortcut" code="start.class" archive="applet.jar" width="0" height="0"></applet>
    <applet name="shortcut" code="start.class" archive="http://admin.mydomain.com/applet.jar" width="0" height="0"></applet>in java.policy i tryed following versions with every html applet load version
    grant codeBase "http://admin.x-press.de/-" {
      permission java.security.AllPermission; 
    grant codeBase "http://admin.x-press.de/+" {
      permission java.security.AllPermission; 
    grant codeBase "http://admin.x-press.de/applet.jar" {
      permission java.security.AllPermission; 
    };why is it with
    grant {
      permission java.security.AllPermission; 
    };working, and not with the other versions?
    i am almost bold now, please try to save my last hair from falling down.
    any suggestion would be nice
    thanks, feyyaz
    Message was edited by:
    feyyazdogu

    I read the mentioned documentation and your right, some of my versions were wrong, but after reading the doumentation again i came to following result which should had worked but didn't.
    java.policy
    grant codeBase "http://admin.mydomain.com/*" {
      permission java.security.AllPermission;
    HTML File
    <applet codebase="http://admin.mydomain.com/" name="shortcut" code="start.class" archive="applet.jar" height="0" width="0"></applet>if I am entering http://admin.mydomain.com/applet.jar i can download the jar, so the archive lays in the correct directory.
    what i am doing wrong? do i have to change an additional file somewhere else?

  • Get booted out as applets load

    i got a new error message yesterday....it says applets in this html page require a version of java different from the one the browser is currently using: in order to run the applets in the html page, a new browser session is required..press yes to start a new browser session....... and in the applet window it said JAVA PLUGIN DETECTED JRE COLLISION...........................so my question is that when i erase the newer version of java and load an older one...then i go back to my ameritrade account to load the applets again....it prompts me back to uploading the newest version of java the 1.4.......it wont read the older plug in.....so what am i supposed to do......i always get booted out...............HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Maybe the answer for someone who is using FireFox!
    Java plug-in detected jre collision ( Firefox 2.0.0.6 ) Java applet
    Mozilla Firefox error Java JRE applet code
    Finally after two days I got ( Java applet ) working; really crazy one!
    Two days of frustration In the end a really easy Fix but no-one can tell you what is wrong!!
    I will place this Helping note in this forum sure this will help someone!!
    Original Reference Link: http://forums.java.net/jive/message.jspa?messageID=234129#234129
    Search all over Googles to get it fixed no luck! Why not one forum gives this resold too fix this problem??
    Tried everything reinstalled JRE 1.4.2 then JRE 1.5. then JRE1.6.1 nothing worked!
    Then I started playing in the Firefox plugin directory removed all plugin's and copied them back one by one thats how I
    found the bad file creating the whole problem!
    All I ended up doing is I removed this file in the Firefox plugin Dir ( NPOJI610.dll ) and all work's FIN
    now!
    (Don't know what this file is used for but no problem <applet> works and no crash and error anymore!!)
    Java <applet> images working now on my Firefox! Also the Java test tool ( Test your JVM ) works!
    http://java.com/en/download/help/testvm.xml
    Resold:
    Your Java configuration is:
    Vendor: Sun Microsystems Inc.
    Version: 6 update 2
    Operating System: Windows XP SP2
    OS version: 5.1
    All the Errors I got before!!
    1) FireFox Crash when I load my Web page with <applet> </applet> instruction Init!
    2) Java plug-in detected jre collision
    3) Also the Firefox Browser is prompting to open new Tap!
    4) FireFox Error msg:
    The prompt "Applet(s) in this HTML page requires a version of java different from the one the browser is currently
    using. In order to run the applet(s) in this HTMLpage, a new browser session is required, press 'Yes'
    to start a new browser session" appears but with no 'Yes' button to press.
    Browser Detail:
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
    Java Installed up to Date version!
    ( jdk-6u2-windows-i586-p.exe ) JER is include in this download size= ( 67.147 MB ) Download Link:
    Installation Resold= only have this version Installed!
    C:\PROGRAM FILES\java\jdk1.6.0_02
    C:\PROGRAM FILES\Java\jre1.6.0_02
    Still got in my Java Dir ( Java Launcher ) & ( Java3D ) installed!
    Make sure after installation to clear all the Cache on all browser's and restart your computer!!
    With this combination I got: ( IE v6,) ( Opera v9.23 ) ( Netscape Navigator/9.0b3 ) and
    Firefox/2.0.0.6 WORKING!
    NO MORE ERRORS and Java <applet> </applet> code is loading and working now!
    A Sample this was the web page I had the problem with: htp://pnpb.110mb.com/
    Note:
    Just fun I deed I copy this bad file NPOJI610.dll to the Netscape plugin directory and
    there we go I get the exact same problem as I had before with FireFox Java <applet> will not working!
    Hope this will Help someone with the same problem I had!
    Regards;
    Mario
    Let me know if this worked for you! [email protected]

  • [BOXIR2] required before using JAVA SDK's

    Hi,
    I need somme information before begin the development of customisation of BusinessObjects XIR2.
    My company using only the BusinessObjects reports (rep and unv file) from BusinessObjects 6.x with some VBA macro for interact with internal specific product.
    Now, with the futur migration, the solution available is the conversion of JAVA framework of all VBA macros but before migration, i need information it's available by the JAVA SDK's.
    Questions :
    1° : It's possible to import all reports and universes from 'repository'to local folder ?
    2° : It's possible to export all reports and universes from local folder to 'repository' ?
    3° : it's possible to change the connexion for univers by one another ?
    4° : it's possible to change the name of table in a specific universe (like CWD01 --> CWD01_2)?
    5° : it's possible to add table,class and Objects into specific universe ?
    It's very important for beginning the migration of BOXIR2.
    Thank you,
    Gilles

    Hi Michael,
    What if i need to add an Global variable  in the below code ?
    Also can you please suggest me a book or reference documentation on how to use Groovy in ODI ? Thanks for your help.
    //find the variable and add it to the load plan.
    varTextGen = new OdiVariableTextGeneratorDwgImpl(odiInstance)
    varFinder = (IOdiVariableFinder) odiInstance.getTransactionalEntityManager().getFinder(OdiVariable.class)
    varName = "V_EXAMPLE_TWO"
    var = varFinder.findByName(varName, projectName)
    varId = var.getVariableId()
    loadPlanVariable = loadPlan.addVariable(var, varTextGen)

  • Applet loading problem

    Hi, I'm new to applets and I'm having problems - it seems that I can't compile applets correctly or something. I tried the example at http://java.sun.com/docs/books/tutorial/applet/overview/lifeCycle.html .
    If I download and compile Simple.java and set up the html and resulting class file on my server as instructed, the applet won't load - I get a message saying "load: class Simple not found".
    HOWEVER, if I then simply download the Simple.class file from the example above (http://java.sun.com/docs/books/tutorial/applet/overview/example/Simple.class) and use that to replace the file that my compiler produced, the applet loads up fine.
    I'm using version 1.4.1_02 of the java2 SDK and version 6.0 of IE with service pack 1.
    Any help would be much appreciated!
    Thanks!

    Sure. =)
    Simple.java:
    import java.applet.Applet;
    import java.awt.Graphics;
    public class Simple extends Applet {
        StringBuffer buffer;
        public void init() {
         buffer = new StringBuffer();
            addItem("initializing... ");
        public void start() {
            addItem("starting... ");
        public void stop() {
            addItem("stopping... ");
        public void destroy() {
            addItem("preparing for unloading...");
        void addItem(String newWord) {
            System.out.println(newWord);
            buffer.append(newWord);
            repaint();
        public void paint(Graphics g) {
         //Draw a Rectangle around the applet's display area.
            g.drawRect(0, 0,
                 getSize().width - 1,
                 getSize().height - 1);
         //Draw the current string inside the rectangle.
            g.drawString(buffer.toString(), 5, 15);
    The html page just contains a tag that says
    <applet code="Simple.class" width="500" height="100"></applet>And I put both the html and the class file in the same directory on my web server.
    Here's a link to a site with the class file I compiled from Simple.java:
    http://www.webdino.net/~bkwa/applet/ben/simple.html
    Here's a link to a site with the class file I downloaded from sun's site:
    http://www.webdino.net/~bkwa/applet/sun/simple.html

Maybe you are looking for

  • Smart playlists and hollow stars

    Does anyone know how to make iTunes' smart playlists distinguish between hollow (iTunes generated) and solid (user generated) stars? I like rating albums, but I also want to be able to create playlists that only include tracks with four or five user-

  • Cannot connect samsung 7500 hdtv to imac

    hi can anyone help me cannot connect samsung 7500 hd tv to imac. Have already tried switching them both off starting tv fist and all three hdmi ports just getting no signal on the tv. also tried detecting the tv in the display in preferences but the

  • How do I copy all my saved Websites and Usernames and Passwords in Safari in one click?

      I am trying to save all my Safari Websites and Usernames and Passwords stored in safari all at one time, how do i do this.

  • Best mouse for Imac?

    I'm really enjoying my Imac but am having trouble with the Mighty Mouse (corded mouse) that came with it. For some reason 25% of the time, the mouse responds as if I hit the secondary-right button. I'm sure it's just the way I am hitting it, but prod

  • How to change scene numbering schema

    Is it possible to change the numbering schema for scenes? For example a sitcom with scene letters A-L or including episode number with scene number like 1.1-1.35 and 2.1-2.25? I'm a new user and so far all I see is automatic numbering 1-10. Thanks!