Getting Java running

I have downloaded j2sdk1.4.0-beta 3 onto my computer which operates on windows 98. the install wizard installed the program and created a folder j2sdk1.4.0-beta 3. If I click on this it opens to reveal other folders, but when clicking on these they continue through and nothing ends up happening.
I have tried to follow the installation notes on the website and it discussed setting the path through the autoexec.bat. Now, this did not come up as a dos prompt set up, but rather a window under the system reconfigure window (and a bunch of others). the autoexec window started off
@ECHO OFF
SET BLASTER=A220 15 DI
LH C:\WINDOWS COMMAND\DOSKEY
So I am not even sure if this is where I am supposed to be and don't want to reset something that will effect the rest of my system.
I've spent several hours trying to figure this out and can't get java running, if anyone can help It would be greatly appreciated!!!! Thanks in advance!!

You need to set up the autoexec.bat file so msdos knows where to look for the javac.exe (compiler) and java.exe (run time enviroment) and other such fun stuff.
To do this is fairly straight forward - if the JDK root directory is on your c: drive in the folder jdk1.2.2, so the path name for that folder would look like "C:\jdk1.2.2". To tell msdos where the compilers and such are add the following (changing the JDK pathname if JDK is in a different location on the c drive):
SET CLASSPATH=.;C:\
PATH=C:\JDK1.2.2\BIN
Now, when you open the command line/msdos prompt you will need to run the autoexec.bat file, so in the case above, it will look in "C:\JDK1.2.2\BIN" when you run javac, java, jardoc etc.... To run it type "autoexec.bat" whilst in the same directory as the autoexec.bat in msdos - you will need to do this each time you activate the msdos prompt - how to set it up so it does it automatically i don't know.
You don't need to change anything else in the autoexec.bat file, and you can copy the autoexec.bat into the directory in which you are developing the java code. You will need to leave the orginal for other programs to use.
As for opening the JDK folders and your computer not doing anything, i think their maybe a problem with the computer itself............

Similar Messages

  • Can't get java to run in MS-DOS

    Can someone out there, help me with a execution problem, am having in running java. I install jdk1.3 from a CD in a book(Java 2 by Andy Harris). I,am running under window98, with lots of spaces and memory. Each time I would try to execute a java module, the DOS screen would come up and then drop away. I have re-install the software. same problem, I have try run under DOS(coming out of window and restarting in DOS), same problem, so I log on the SUN web site and downloaded j2se1.4 install it try running it and still got the same problem, The screen up with data on it and just go away. What is wrong here!! [email protected]

    Yes! They are right.. We should run java in on windows, not on pure DOS. So restarting in DOS mode would not help.
    1. Start windows
    2. Click on Start -> Run
    3. Type Command and hit enter
    4. This should bring up DOS command prompt.
    5. Type "java" in at the command prompt
    6. If it gives you some suggestions about how to run java. If it says "Bad command" java.exe is not in the path. Find java.exe and append it to PATH environment variable.
    7. Once you get java working - open the command prompt as told earlier and run the java program by typing the command
    java <Main Class Name>
    8. Doing it this way would help you find out if there are any error messages.
    Your DOS window is closing because there was an error or your program finishes running. If you open DOS prompt first and then run java program it would not close the window and you will be able to see the error messages in the same DOS windows.
    Hope this helps..

  • Can't get Java page to run

    I am probably in the wrong place here, and for that I apologize. We use a program at our school called Power School which is on-line. In order to enter student marks, one accesses a page which is generated by Java. Since I purchased this new computer, I have been unable to access the gradebook. For a while, I was getting an Run Time error, so I installed the Run Time Environment. Then a Big Math error appeared after I finished the installation. So I reinstalled Jave (JRE - 6 u 11) and now I am getting the error about connection shown below. No one at the school can figure it out or get the program running. Can anybody help me, out there?
    Here are the details of the error. It says "Encountered Connection Error, see your adminsitrator" I can get on-line just fine, and my administrator has no idea what the problem is and so cannot fix it. Any advice would be greatly appreciated.
    com.pearson.powerschool.sdk.common.SDKRemoteException:java.net.SocketException: Unknown proxy type : HTTP
    at com.pearson.powerschool.sdk.system.HttpInvokeInvocationHandler.invoke(HttpInvokeInvocationHandler.java:51)
    at $Proxy1.getSchools(Unknown Source)
    at com.pearson.powerschool.gradebook.Main.login(Main.java:358)
    at com.pearson.powerschool.gradebook.Main.startUI(Main.java:91)
    at com.pearson.powerschool.gradebook.Main.access$000(Main.java:36)
    at com.pearson.powerschool.gradebook.Main$1.run(Main.java:124)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at com.pearson.powerschool.gradebook.CustomEventQueue.dispatchEvent(CustomEventQueue.java:19)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused By:java.net.SocketException:Unknown proxy type : HTTP
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:139)
    at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:124)
    at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
    at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
    at org.meno.remoting.httpinvoke.client.HTTPInvokeProxyFactory.invoke(HTTPInvokeProxyFactory.java:145)
    at org.meno.remoting.httpinvoke.client.HTTPInvokeProxyFactory.access$000(HTTPInvokeProxyFactory.java:23)
    at org.meno.remoting.httpinvoke.client.HTTPInvokeProxyFactory$1.invoke(HTTPInvokeProxyFactory.java:68)
    at $Proxy1.getSchools(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.pearson.powerschool.sdk.system.HttpInvokeInvocationHandler.invoke(HttpInvokeInvocationHandler.java:40)
    at $Proxy1.getSchools(Unknown Source)
    at com.pearson.powerschool.gradebook.Main.login(Main.java:358)
    at com.pearson.powerschool.gradebook.Main.startUI(Main.java:91)
    at com.pearson.powerschool.gradebook.Main.access$000(Main.java:36)
    at com.pearson.powerschool.gradebook.Main$1.run(Main.java:124)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at com.pearson.powerschool.gradebook.CustomEventQueue.dispatchEvent(CustomEventQueue.java:19)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    Looks like a configuration problem to me. Perhaps there's some place where you set up the options which tell the program how to connect to the Internet (because it looks like that's what it's trying to do). If so, browse through there until you find some settings involving "proxy" or something like that. Find somebody else who is using the program and see what they have for those settings.
    Or call the support line for the product, if there is such a thing?
    Edit: I see the product comes from [http://www.powerschool.com/]. There's a Contact Us link on that page. Actually two of them.

  • It does not matter what I do, I cannot get Java security settings to allow an applet to run.

    I have gone to just about every extreme possible, and no matter what I do, I cannot get Java to allow an applet to run. I have been trying to do a J-Track on some satellites on the NASA/JPL website, and no matter what I do, and from the totally useless "help" sites here in the Firefox "help" pages, I cannot get the &^%$#@ applet to run.

    Did you try to clear the Java cache?
    *http://www.java.com/en/download/help/5000020300.xml - How do I clear the Java cache?
    *Control Panel > Java > General tab > "Temporary Internet Files" > Settings > Delete Files
    Did you add an exception to the Java security manager?
    *https://support.mozilla.org/kb/how-allow-java-trusted-sites
    *http://www.java.com/en/download/help/appsecuritydialogs.xml

  • I have yosemite but i need java 6 to run one program.  how do i get java 6 installed?

    I need java 6 to work with a program i have, and i am running yosemite.  how do i get java 6 and still use the current version of java for my other apps?

    You can use the Apple provided Java installer:  Java for OS X 2014-001

  • Than how can i get java class by using it's class file?

    Hi
    After compilation of a java program, it creates a class file.
    After getting class file suppose class file has been deleted.
    Than how can i get java class by using it's class file?
    Thanks in advance.

    get a decompiler and run your class file through it--I'll assume you want the source code back and that you are not trying to recover a missing class file by attempting to use the class file that is missing--if it's missing, then I've not a clue on how to get it back by using what is already missing.
    BTW: many of your compilers have source control--if it does, just restore your missing file.

  • I have been getting java.lang.ClassNotFoundException: ZeroApplet.class and java.lang.ClassNotFoundException: JavaToJS.class crashes with JRE version 1.6.0_26-b03-384-10M3425 VM executing a Java Applet. Is Apple aware of this problem? No longer supported?

    My web page uses a Java Applet to allow my visitors to replay chess games; the Chess Viewer Deluxe applet was written by Nikolai Pilafov some time ago and has been working properly for some time (until recently). I don't monitor this part of my site regularly so I am not sure when it began to fail. On his web site [http://chesstuff.blogspot.com/2008/11/chess-viewer-deluxe.html] he has a link to check LiveConnect object functionality (which fails for OBJECT tags). His recommendation is to "seek platform specific support which might be available from the JRE developers for your platform".
    I have been getting java.lang.ClassNotFoundException: ZeroApplet.class and java.lang.ClassNotFoundException: JavaToJS.class crashes with JRE version 1.6.0_26-b03-384-10M3425 VM executing a Java Applet. Until I checked the LiveConnect object functionality, I was unable to identify the source of the console error messages. This does seem to be the smoking gun.
    Is Apple aware of this problem? Are these classes no longer supported? Has anyone else had this problem? You can attempt to recreate the problem locally by going to my web page: http://donsmallidge.com/DonSmallidgeChess.html
    Thanks in advance for any help you can provide!
    Abbreviated Java Console output:
    Java Plug-in 1.6.0_26
    Using JRE version 1.6.0_26-b03-384-10M3425 Java HotSpot(TM) 64-Bit Server VM
    load: class ZeroApplet.class not found.
    java.lang.ClassNotFoundException: ZeroApplet.class
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:662)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:807)
        at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2389)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
        at sun.applet.AppletPanel.run(AppletPanel.java:368)
        at java.lang.Thread.run(Thread.java:680)
    load: class JavaToJS.class not found.
    java.lang.ClassNotFoundException: JavaToJS.class
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:662)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:807)
        at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2389)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
        at sun.applet.AppletPanel.run(AppletPanel.java:368)
        at java.lang.Thread.run(Thread.java:680)

    I just went up to check the LiveConnect object functionality page AND IT WORKED THIS TIME! I must confess, this is very mysterious. I will do some more checking and reply here if I can determine why it is working now (and more importantly, why it didn't work before).

  • How do I get Java to work on my Mac Pro?

    I have the latest version of Java downloaded on my Mac, but when I play certain games on Pogo, it says it can't detect it.  How do I get Java to work?

    That is a link to a FAQ page with these answers:
    » Can I restore Apple Java 6 after uninstalling Oracle Java 7?
    » What are the system requirements for Java 7 on my Mac?
    » Why can't I use Chrome with Java 7 on my Mac?
    » How do I get Java 7 for my Mac?
    » How do I know if I have Java installed on my Mac?
    » How do I install Java 7 for my Mac?
    » How do I find out what version of Java I have on my Mac?
    » How do I enable Java on my Mac?
    » How do I clear the Java cache on my Mac?
    » How do I update Java on my Mac?
    » How do I uninstall Java from my Mac?
    » I do not have Mac version 10.7.3 (Lion) or higher. How do I get Java for other Mac versions?
    » Why will Applets not run after getting Java through Apple Software Update?
    » Why is Java 7 available only for Mac OS X 10.7.3 and above?
    » How do I get support or provide feedback on Java?

  • Getting java.classNotFoundException even if the class is there

    Hi all,
    We've recently migrate to jdeveloper 11g production. Our fusion web application used to work perfectly with jdeveloper 11G P4 when running on OC4J. We use the whole ADF Framework on each business layer.
    I'm getting java.classNotFoundException on 11G prod, and the strange thing is : class is present ! I've looked everywhere ; and made sure the missing class is just imported once (not twice or more, wich was the default case). Anyway, here's the log :
    I'm willing to past xmls files if necessery, or others.
    ----  Deployment started.  ----    Oct 22, 2008 1:33:35 PM
    Target platform is  (Weblogic 10.3).
    Running dependency analysis...
    2008-10-22 13:33:35.355: Writing WAR file to D:\OracleJDev11G\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\EASYTEAM GDA\EASYTEAM GDA-ViewController-webapp
    2008-10-22 13:33:35.704: Wrote WAR file to D:\OracleJDev11G\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\EASYTEAM GDA\EASYTEAM GDA-ViewController-webapp
    2008-10-22 13:33:35.81: Writing WAR file to D:\OracleJDev11G\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\EASYTEAM GDA\EASYTEAM GDA-Model-webapp
    2008-10-22 13:33:35.863: Wrote WAR file to D:\OracleJDev11G\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\EASYTEAM GDA\EASYTEAM GDA-Model-webapp
    2008-10-22 13:33:37.044: Writing EAR file to D:\OracleJDev11G\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\EASYTEAM GDA
    2008-10-22 13:33:37.053: Wrote EAR file to D:\OracleJDev11G\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\EASYTEAM GDA
    Deploying Application...
    <22 oct. 2008 13 h 33 CEST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application EASYTEAM GDA is not versioned.>
    <22 oct. 2008 13 h 33 CEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1224675217485' for task '6'. Error is: 'java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentELTag'
    java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentELTag
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentELTag
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         Truncated. see log file for complete stacktrace
    >
    <22 oct. 2008 13 h 33 CEST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'EASYTEAM GDA'.>
    <22 oct. 2008 13 h 33 CEST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentELTag
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentELTag
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         Truncated. see log file for complete stacktrace
    >
    [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application EASYTEAM GDA on DefaultServer.: javax.faces.webapp.UIComponentELTag.
    weblogic.application.WrappedDeploymentException: javax.faces.webapp.UIComponentELTag
    ####  Deployment incomplete.  ####    Oct 22, 2008 1:33:40 PM
    oracle.jdeveloper.deploy.DeployException
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:247)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:157)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
         at oracle.jdevimpl.runner.adrs.AdrsStarter$4$1.run(AdrsStarter.java:1316)
    Caused by: oracle.jdeveloper.deploy.DeployException
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:413)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:238)
         ... 11 more
    Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:395)
         ... 12 more
    #### Cannot run application EASYTEAM GDA due to error deploying to DefaultServer.
    [Application EASYTEAM GDA stopped and undeployed from Server Instance DefaultServer]

    Hi,
    are you sure that the library is deployed to the server?
    Check the application in the deployed path on the server. If you don't find the library there check the Library and classpath in your project settings if the library which contains the jar has the checkbox 'deploy ba default' set.
    Timo

  • Keep getting java script errors in DW CS3

    I have been using Dreamweaver CS3 and had not had problems up to last month or so. Now I keep getting Java errors and java script errors whenever i try to put a file to my site or even on some task boxes that have undefined in the command box instead of the normal command. I am wondering if downloading product again could help but i worry about licensing problem. It seems like there is no support for CS3 Dreamweaver.
    I resent the fact i may have to upgrade to Dreamweaver CS5. IF I do can I just upgrade Dreamweaver and not the other programs as part of the web design suite? My last upgrade was the CS3 web design suite.
    Gary

    Thanks for the suggestion, I followed the links and instructions and still have same problem. Very frustrating as I cannot get any phone support, actually i was told Dreamweaver CS3 is not being supported anymore, and I was directed to this forum.
    Kind of makes me not like Adobe and I am going to search for another web building program. Once I calm down I may consider just upgrading to CS 5 Dreamweaver. Do I have to upgrade the entire Web Design suite or can I just upgrade Dreamweaver?
    Another option is to try and reinstall but I worry I can run into licensing problems (I think I ran into this before as destop and laptop crashed and had to reinstall).
    Gary

  • Can't get Java to work

    Does anybody else have any issues getting Java to work in Safari 3 for Windows?
    http://www.java.com/en/download/help/testvm.xml

    Same here. I just get a window with a exclamation point infront of the Java Mug icon.
    Without Java working, I can't really use Safari under Windows (I use Java for stock market monitoring, etc).
    Hopefully I can get them working, otherwise it's back to Firefox when I'm running windows (still Safari in Mac OS X though )

  • Getting Java console error when trying to display the PO

    Hi All,
    In the approved shopping cart when we select any item details and when we go and see the follow-on documents we get two options to select 1) Display as Graphic 2) Display as Table. When we are select the option 2 display as table we are able to see the shopping cart and also the PO and further when we click on the PO it is displaying the order details.
    However when we go by option 1 display as graphic, we are able to get the details of the shopping cart and PO, but when we try to click on the PO we get Java error indicating as follows. "Error. Click for details". when we click the on the error a window will apper and indicates that Application failed to run.
    we installed the latest version Java and tried still we are getting the same error. Can any body help me in this.
    Java Plug-in 1.6.0_18
    Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
    User home directory = J:\Documents and Settings\****
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    l:   dump classloader list
    m:   print memory usage
    o:   trigger logging
    q:   hide console
    r:   reload policy configuration
    s:   dump system and deployment properties
    t:   dump thread list
    v:   dump thread stack
    x:   clear classloader cache
    0-5: set trace level to <n>
    java.lang.StringIndexOutOfBoundsException: String index out of range: 0
         at java.lang.String.charAt(Unknown Source)
         at VisnetMain.readParameter(VisnetMain.java:141)
         at VisnetMain.init(VisnetMain.java:60)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
    java.lang.NullPointerException
         at VisnetMain.start(VisnetMain.java:3770)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.NullPointerException

    Hi psamp1,
       Were you able to solve this problem?
       We have exactly the same issue...
    Thanks
    John
    Edited by: John Chinnappan on Mar 29, 2011 8:06 AM

  • Can't get to run

    All I need is a method that returns the int instead of void to get to run. There is an error under ALL of the .setSeeds. If I could correct this I could get it to run. Please help.
    import java.util.Random;
    import javax.swing.JOptionPane;
    public class MilkDelivery {
    public static void main(String[] args) {
    int delivery1, delivery2, delivery3, delivery4, delivery5;
    Random eagleID = new Random(900364417);
    delivery1=eagleID.setSeed(900364417);
    delivery2=eagleID.setSeed(900364417);
    delivery3=eagleID.setSeed(900364417);
    delivery4=eagleID.setSeed(900364417);
    delivery5=eagleID.setSeed(900364417);
    long currentTime = System.currentTimeMillis();
    System.out.println("Delivery 1 took " + delivery1 + " minutes");
    System.out.println("Delivery 2 took " + delivery2 + " minutes");
    System.out.println("Delivery 3 took " + delivery3 + " minutes");
    System.out.println("Delivery 4 took " + delivery4 + " minutes");
    System.out.println("Delivery 5 took " + delivery5 + " minutes");
    System.out.println("The system time is " + currentTime);
    int total=delivery1+delivery2+delivery3+delivery4+delivery5;
    JOptionPane.showMessageDialog(null, "The total time is " + total + " minutes");
    }

    Yet another double post.
    What is your f&#117;cking problem pal? Are you too slow to realise that creating multiple posts asking the same thing p&#105;sses people off and you are less likely to get any help?
    Go read the API. Go and read your textbook. Go and read your lecture notes.

  • How do I get Java script void (0) to work?

    Hi,
    Ever since downloading the mountain lion i have found issues, particularly with St George Bank Bpay that I am unable to load some pages due to the Java Run Script Void (0) being shown.....
    How do I fix this? I know it isn't a bank issue as other computers and my I phone are able to do this function without issue.....
    Any ideas about how to get Java to run properly? I have tried all the usual tricks of enabling/disabling things, restarting, and have also installed the most recent update, but it did nothing.
    Thanks!!

    You can't necessarily rule it out as a problem with the site based on that, it still could be. But there are a number of possible causes for this. See:
    http://www.tech31.com/what-does-javascript-void(0)-mean.html
    Also, note that JavaScript is in no way related to Java. Installing and enabling Java will not help with this problem, and will actually reduce the security of your system. You should keep Java disabled in your web browser.

  • Where do I get Java Runtime for Snow Leopard

    Hi,
    I'm doing some design work for a programmer. and last month he told me that mine was probably outdated, and that I needed the latest JRE (version 7u5) to run his .jar app. I don't really want to use a PC for that...so I'm trying to get this running on my Mac.
    I went to oracle's website and the latest update is for Lion, I don't know where to find the latest one compatible with now leopard. Does anyone where this is?
    And another question, does anyone if that installing JRE if this could compromise the security of the Snow Leopard?

    Why not? It's a simple thing to dual-boot and you get to run the appropriate Java JRE on your Mac. The only expense is the $20 Lion costs and the time to DL if from the MAS. Do note that you have to get a redemption code via e-mail from its online store's telesales agents: 1-800-MY-APPLE (1-800-692-7753) or Customer Service and Sales Support at 1-800-676-2775. That allows you to run both OSs, get the job done, and, when finished, you can always erase the Lion volume, leaving you exactly where you are now. BTW, if you do DL Lion, quit the installer and save a copy of that Install Mac OS X Lion.app so you don't have waste resources DLing it again, either to reinstall it or recover it. The ill-designed installer deletes itself during the installation process.

Maybe you are looking for

  • Importing AVCHD: iMovie vs. Voltaic HD

    I'm going to use a new HDD-based camcorder (those who read my previous topics will know why I - or rather someone else - chose HDD over tape). I've narrowed down my choice between a "basic" standard definition model, and a choice of more expensive hi

  • OAM Second Site Issue

    I'm running into an issue with OAM forcing users to re-authenticate to the application they are logged into when I access a second site protected by OAM. I'm using the same forms authentication scheme setup for both sites. I access site 1 first and l

  • Error: abc bytecode decoding failed

    Currently i am using Flex SDK Version 3.0.0 build 477 and Flex Builder 3 I would like to upgrade to FP 10 inorder to use the feaure fileReference.save(); I have followed http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10 to co

  • Transport ALV report

    i have transported ALV layout variant for a report through path Layout> layout management>select your variant> menubar layout> transport from DEV to Quality now it is not getting transported to quality

  • BPC client and server in different versions

    Hi all, Is it possible to have BPC 7.0 as server and BPC 7.5 as client? Is it compatible? Thanks, Thiago.