Typical problem - Will Java Runtime options help me ?

Hi,
We are using JInitiator to launch our application.When launching, this application downloads the ".JAR" files which are in server .I'm able to get the handle of the application and access all the Methods and properties from Visual Basic 6.0. But the problem is that I'm able to call methods which accepts only Integer or String as arguments.
I'm unable to call the methods which has argument type as Boolean [ Ex : Win.setVisible( Boolean b)  ]. I tried passing all types of VB variables ,But I get "Type Mismatch Error" . I found an application which is similar to mine that uses "-Xbootclasspath" , "-Xrunmicsupp" , "MIC_CLASSES" & "_classload_hook" options to control Java applications by overriding some classes.
I created a new class with the same name but which has an extra function to accept string as a parameter [ Win.setVisible( String b) ] that enables me to call from VB. I want to Override my application's class with my class file which is in my local system. I want to override it because I'm supposed to change the class file in the server.
Is it possible to do my task using " java -Xbootclasspath" or something similar to that ? If so, Please tell me the way to do this. Please point me to some sites where in i can find the details about the above options that which the application similar to mine is using. Please help me,I will be very thankful to you guys.Hope to see your replies soon.
Thanks and Regards,
Srinivas.

D:\>javac AnimalTest.java
.\Cat.java:4: illegal start of expression
^You really need to start to understand what you are doing. Look at the error, it even points to what the error is. Look at where this bracket appears in your code and think to yourself "Should that be there or should it be something else" Once you fix that, the other errors will probably disappear.
Stoopid lag.
Message was edited by:
flounder

Similar Messages

  • Typical problem in java program ?

    Typical problem in java program ?
    I have three java files , i am pasting them here. Please show me the errors. Compilation error in Cat.java
    File 1 : Dog.java
    public class Dog extends Animal {
    public String noise() { return "back"; }
    File 2 : Cat.java
    public class Cat extends Animal {
    public String noise() {
    return "meow";
    File 3:AnimalTest.java
    public class AnimalTest {
    public static void main(String[] args)
    Animal animal = new Dog();
    //Cat cat = (Cat)animal;
    Cat cat = new Cat();
    System.out.println(cat.noise()...
    Output :
    D:\>javac AnimalTest.java
    .\Cat.java:4: illegal start of expression
    ^
    .\Cat.java:5: ';' expected
    ^
    .\Cat.java:5: '}' expected
    ^
    3 errors
    Please help me. Not a homework.
    Message was edited by:
    Taton

    D:\>javac AnimalTest.java
    .\Cat.java:4: illegal start of expression
    ^You really need to start to understand what you are doing. Look at the error, it even points to what the error is. Look at where this bracket appears in your code and think to yourself "Should that be there or should it be something else" Once you fix that, the other errors will probably disappear.
    Stoopid lag.
    Message was edited by:
    flounder

  • Setting java runtime option through java program

    I want to set java runtime options(like -verbose, -ea) through java program instead of setting them through command promt. (Like, I can set -D options through System.setProperty() method). Is there any way out?

    I want to set java runtime options(like -verbose,
    -ea) through java program instead of setting them
    through command promt. (Like, I can set -D options
    through System.setProperty() method). Is there any
    way out?I don't think you can (at least not for the Sun JVM).
    The command-line options for the JVM are used when the
    JVM is created, which precedes the loading of the class
    files representing your application. At that time it is too
    late to set the start-up options for the JVM which is already
    up and running.

  • I have a MacBook White.  Everything worked great with Snow Leopard including Mathematica, and all Pogo games. I downloaded Lion two days ago and now neither program works.  The box states that I need J/Link, and/or java runtime.  Help.

    I have a MacBook White, early 2009 model, just downloaded/installed OS X Lion.  Everything worked well with Snow Leopard - Mathematica, pogo.com games. Now, with Lion, I am getting a box that states I need J/Link, and/or java runtime.  Software update feature states all software is up to date.  Help.

    StoneComputers wrote:
    What about the incredable lag time from clicking on a program to the time it opens (or the time till the loading screen starts)? I wish I could record it and play it so I could see if thats normal from other members... the icon just sitting there for over 35 second (I just counted 36 till the loading screen popped up) at first I thought it was me not clicking hard enought cuz the mouse button I have is real stiff (any ideas on that?) but no it takes that long just to get to the app loading screen... this happens every time same amount of time with the 3 programs I use the most, prolly more but I know for a fact world of warcraft, uTorrent, and Google Chrome. I would just chalk it up to slow hardware but they load real quick in windows 7 and once this bad spot is loaded the program runs so fast and nice afterword. Maybe some tweeks? I wonder if this would happen in Snow?
    The coment "few outdated programs" Ive seen alot its not just a few its a lot and since games are not Apple's strong point I would think they would want to keep as many as they could...
    An example of the rants you will see from a lot here. Don't be put off as these problems are generally user specific, and these same old comments come out after the release of every OSX I can remember. When Lion is upgraded  to the next OSX you can gaurentee these forums will be full of people screaming about how great Lion was. Happened with Tiger, Leopard and Snow Leopard.
    So come to think of it you may be better off Googling sites that give you unbiased views on Lion, rather than expect any positive comments here. For every one complaint there are probably 100,000 people with no issues.
    Cheers

  • PROBLEM with JAVA RUNTIME ENVIRONMENT

    HI I installed Limewire & everything but then it said I need a Java Run Time Environment so I downloaded it & installed it but it STILL says the same message:
    Sorry, Limewire could not locate a suitable Java Runtime environment. Please download and install one from http://java.sun.com/getjava/download.html
    I HAVE tried restarting my comp and uninstalling it and reinstalling and verifying it on the internet or whatever but it said it couldn't find it on my comp but another part of their webbie says i have the latest version! How do i fix it?
    I have Windows XP and internet explorer so i don't have ANY idea? Can anyone help? thanx xx

    Why is the Registry invalid? Unless you can assure that this is the only error, it's probably better to uninstall Java and reinstall it, that way any additional errors can also be resolved.

  • Problems in Java Runtime Environment Update 14 Control Panel on Windows 7

    When opening the Java Control Panel 6 Update 14 on Windows 7, the text and other elements in the Java Control Panel are distorted as shown in this pic: http://jdash007.googlepages.com/javare614prob.jpg
    so, what's the problem?
    Edited by: jdash007 on Jul 30, 2009 4:10 AM
    Edited by: jdash007 on Jul 30, 2009 4:11 AM

    Sounds like a Windows problem, in light of this statement from sun about Java 6u14.
    This release is Windows 7 support-ready and includes support for Internet Explorer 8, Windows Server 2008 SP2, and Windows Vista SP2
    The Java Control Panel lives in the Windows world, not Java. It is a .cpl Windows program. Windows 7 is still pre-release.

  • Problem with Java 3D API help!

    hellow people,
    i'm working working on a 3D game project. My program compiles fine but when it runs it gives me the following error:
    Java 3D ERROR : wglGetExtensionsStringARB not support !
    - The specified procedure could not be found.
    Fallback to use standard ChoosePixelFormat.
    Java 3D ERROR : OpenGL 1.2 or better is required (GL_VERSION=1.1)
    Exception in thread "J3D-Renderer-1" java.lang.IllegalStateException: GL_VERSION
            at javax.media.j3d.Canvas3D.createNewContext(Native Method)
            at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2429)
            at javax.media.j3d.Renderer.doWork(Renderer.java:747)
            at javax.media.j3d.J3dThread.run(J3dThread.java:250)I tried installing the latest version of openGL , but it still gives the same error.
    I'm using GeForce4 MX Intergrated Graphics card on windows pro.

    This should be posted in the Java 3D forum. I had the same problem. I had to install directX to fix it. :(

  • Java runtime enviroment 1.3.1_01 properties type activeX control

    can any one help please. i have a problem with java runtime enviroment
    1.3.1_01, in tools= internet options i have the following problem= in genral tab java runtime enviroment 1.3._01, type activeX control, createad, 29-6-03.8.43.p.m. last accessed 26-7-03. total size.0 bytes
    ( None ), ID CAFEEFAC-0013-0001-0001-ABCDEFFEDCBA. status, damaged. codebase http://java.sun.com/products/plugin/1.3.1/jinstall. i am running windows XP professional, when i got to a forum with applets i get the following message= java.lang.ClassNotFoundException.Forum.Class. loading java applet failed, any ideas greatly received many thanks mistylady.

    Hi,
    is this the only time you got this problem? If no then probably you should try installing the jre again or download the latest version from sun.
    http://galileo.spaceports.com/~ibidris/

  • Having trouble updating Java Runtime for OSX Lion

    Is anyone having problems updating Java Runtime for OSX Lion?

    I have the same problem.  It is not possible to launch the "Java Preferences" app.  When I do, I get the error message:
    'To open “Java Preferences,” you need to install a Java runtime, but you are not connected to the Internet.'
    I am *most certainly* connected to the internet, since I'm posting to this forum. 

  • I installed Lion today but to my dismay no Adobe CS programmes will run. I am informed that I must install a Java runtime followed by a declaration that I am not connected to the internet....help!

    After installing Lion I tried to run Adobe Photoshop but A message informed me I must "...install Java runtime, but you are not connected to the internet." I am connected to the internet and after running a network diagnostic I was told that there doesn't appear to be a problem with my connection. Can anyone help me?
    Chris_98

    Try downloading Java from here:
    http://support.apple.com/kb/DL1421

  • Problem with file download option in ALV via ITS. Please help!

    Hi Experts,
           I have a ALV report which I have web enabled using ITS service. In the ALV there is a delivered functionality for file download. It works fine when the report is run in the SE80. But when I run the ITS service for the report and choose file download option it displays a page saying "this page has been diaplayed due to technical reasons" with title "File properties". In addition it looks for Java runtime in the browser. After all this it opens a popup window for selecting path and file name.
    This is not user friendly and many customers have rasied their concerns on it.
    My question is that,
    Q1: What is the need of this "File properties page"? Why ITS calls this while ABAP editor does not?
    Q2: Is there any way we can suppress this so that it directly opens a popup window for selecting path and file name?
    Please help me.
    Thanks
    Gopal

    Hello Klaus,
    i have also the problem with these intermediate screens!
    We have in between installed patch 22 for ITS 6.20 and SP18 at SAP Netweaver 2004!
    But they are still not processed invisible for the users.
    Are there any additional parameters, which controls this behaviour(~webgui_updown_make_visible is not used!)?
    How can i check, if i have really a.ex. the actual ws.jar-file or other related files of the patch?
    We are using the standalone ITS with an own (modified) IAC with an own CI-design for the webpages. The intermediate screens are displayed with the "normal" SAPGUI-design because of the parameter ~generatedynpro. Without this it does not work, because the template SAPLSIT_0100 is missing!
    Or do you have an example for such a intermediate template with the applet for an upload of a file?
    Thanks in advance
    Felix

  • Java runtime problem Internet Sales

    I am getting a runtime error in the SAP Internet Sales Shop Management tool when I try to create a new shop. I am quite sure my problem is java related because the SAP generated webform fails too fast. There doesn't seem to be any time for abap processing.
    Has anyone experienced this before. How can I find out where the problem is?
    Thanks very much,

    Hi Pankaj,
    you can try with the first patch of the SP 9 - for example try the file ISAWAC40SP09_0-10002109.SAR. Extract the file using the sapcar program and search for docs.sar file where the documents are.
    I hope this will help you.
    Regards
    Borislav

  • Java runtime 6 (crazy) install problem - OS X 10.7.5

    Hello everyone,
    I have been reading the various threads on this issue, but found no answer to my problem:
    I am under Lion version 10.7.5 - MacBookPro
    I need Java 6 for a program I use for my work.
    When I want to install from Java Preferences, i get the following message:
    "To open “Java Preferences,” you need to install a Java SE 6 runtime, but you are not connected to the Internet." But I AM connected to the internet.
    Accroding to waht I read, I went to the Apple download files and downloaded JavaForOSX.dmg file...
    But when I want to install it, I get the message:
    "Alert: A newer version of this package is already installed."
    When I run terminal java -version
    The answer is "No Java runtime present, requesting install."
    And thus I am back to where I started...
    If you could help that would be incredibly helpful!
    Thanks
    Helene

    MadMAC0 posted at https://discussions.apple.com/message/20107182?ac_cid=tw123456#20107182 that:
    Apple has posted (10/22/12) the approved solution for restoring the Java 6 plug-in:
    Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality.

  • HT2476 cannot find java runtime and photoshop will not open

    running OSX Lion on iMac Photoshop will not open. It says I need to update Java Runtime, but I do not have any updates. It says I am not connected to the internet and I am obviously since I am here. Help!!!!

    arlene220 wrote:
    I downloaded and it opens, but everytime I quit photoshop I get a crash report! there is nothing different except that I upgraded to Lion. Can I uninstall and run Snow Leopard and if so....how do I do that?
    Also, I just downloaded an upgrade to Topaz and it says cannot install on this computer...it is my main plugin for PS
    If you have gone to the Topaz developer's site and see no update for Photoshop in Lion, then all you can really do is contact them to see if they ever intend to update it.  What verion of Photoshop are you using by the way?
    Otherwise
    http://gigaom.com/apple/how-to-downgrade-from-lion-to-snow-leopard/
    Good Luck
    Pete

  • PROBLEM:IOException starting Java runtime process

    Hi all,
    I am new to java and I have the following problem: I have created an applictaion using jbuilder (windows xp) that consists of various frames.
    The application was compling and running at the PC I used to create it . Now, I am using a new PC with 2 processors (intel Pentium (D) 3.6) and I get the following error when trying to run the already developed application. Also, I tried to build a new application and I still get the same error.
    I would be very greatful for your comments/suggestions..
    Thanks in advance
    artakianos
    -- IOException starting Java runtime process --
    java.io.IOException: CreateProcess: "C:\Program Files\Borland\Jbuilder\jdk1.4\bin\javaw" -classpath "C:\Documents and Settings\sstathak\jbproject\MCTOOLS\classes\mctools;C:\Borland\JBuilder2005\lib\jbcl.jar;C:\Borland\JBuilder2005\lib\dx.jar;C:\Borland\JBuilder2005\lib\beandt.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\javaws\javaws.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\charsets.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\ext\dnsns.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\ext\ldapsec.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\ext\localedata.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\im\indicim.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\im\thaiim.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\jce.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\jsse.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\plugin.jar;C:\Program Files\Borland\Jbuilder\jdk1.4\jre\lib\rt.jar;C:\Program F”

    Maybe your classpath is wrong. You can go to the path where is the instalation and into the directory bin you must `type javac or javaws if you obtain a list of options every is ok and you must set the enviroment variable to this path.
    Send me your comments
    Miguel Manzano

Maybe you are looking for