[code]javac[/code] works, [code]java[/code] does not work.

I have installed the Java 2 SDK Standard Edition v1.3.1_01. I have set the path in the autoexec.bat file. I created the file WhatsUpDoc.java containing:
public class WhatsUpDoc{
  public static void main(String[] args){
    System.out.println("What's up Doc?");
}At the DOS prompt, when I type: javac WhatsUpDoc.java there is no compilation error and the WhatsUpDoc.class file is created. But, when I type java WhatsUpDoc at the DOS prompt, I get:
Exception in thread "main" java.lang.NoClassDefFoundError: WhatsUpDocI have compiled several applets working just fine on a web page. Why I cannot run this simple application?
Thank you for your help.
Michel Cariotis

I have installed the Java 2 SDK Standard Edition
v1.3.1_01. I have set the path in the
autoexec.bat file.What have you set the CLASSPATH to? It should be ".;%JAVA_HOME%\jre\lib\rt.jar". It looks like the CLASSPATH is wrong, so java can't see the class in the current directory. :-/
Bhav

Similar Messages

  • Redemption code for Adobe photoshop/premiere elements 11 does not work

    redemption code for Adobe photoshop/premiere elements 11 does not work

    I am having the same issue except that my premiere elements code worked great, but the photoshop elements key failed. Ugh.

  • I started the OS system from a backup hard drive. Now My Adobe products doesnt work. "the licensing does not work for this product" Error code 150:30. Help me please!!

    I started the OS system from a backup hard drive. Now My Adobe products doesnt work. "the licensing does not work for this product" Error code 150:30. Help me please!!

    Reinstall the software properly. migration/ backups do not work due to the specific requirements of the activation system.
    Mylenium

  • In iTunes 11.1 (I26) , I cannot find how to delete podcast listings showing undownloaded podcasts. Delete does not work. Option Delete does not work.  Dragging to the trash does not work. Under Edit, Delete is greyed out. Mac OS 10.6.8

    in iTunes 11.1 (I26) , I cannot find how to delete podcast listings showing undownloaded podcasts. Delete does not work. Option Delete does not work. Dragging to the trash does not work. Under Edit, Delete is greyed out. Mac OS 10.6.8.
    Tom at the Genius Bar told me that Option Delete would work. It does not.
    I had to upgrade to iTunes 11.1.(I26) because it is required with OS7 on my iPod Touch (5th Gen). I have tried shutting down iTunes, then shutting down the entire system. This is the first in many visits that the Genius Bar gave me a solution that did not work.
    This is a big awkward computer locked to my desk. I would rather not unlock it and then carry it through a shopping center to the Genius Bar if i can avoid oit.
    When I installed iTunes 11.1, I discovered that Ihad to resubscribe to virtually all of the podcasts that I had previously been subscribed to. That was a surprise.

    Hello Achates:
    I did not read the rather long post. If you wish to reinstall OS X 10.4, use your software install DVD. Backup is essential. To minimize your risk, I would use an archive and install:
    http://docs.info.apple.com/article.html?artnum=107120
    In that way, you will have a fresh copy of OS X and your current settings will be preserved.
    Incidentally, I do not agree that the printer problem is best solved by reinstalling OS X. I have had HP printers for sometime and, on one occasion, had difficulty after an upgrade. HP technical support walked me through uninstalling all traces of the HP driver and then reinstalling.
    Barry

  • My java programe does not work

    Hi
    I createda java programme with jdeveloper . I compiled my code in all of version (1.3, 1.4, 1.5, 1.6 and default).
    But when i try to run my programme in other computers that have j2SE Runtime Environment 5.0 update 11, or java Runtime 2 Environment SE 1.3 - 1.4,
    my programme doesnot work.
    how can i fix this problem.

    Which Jdev version?
    What exactly do you mean by 'does not work'?
    Timo

  • Java applet works in windows and does not work in linux

    Hello, guys!
    I'm working with site which is located in vpn network at work.
    I use browsers firefox 3 and opera.
    When I want to open java applet using firefox or opera at first everything is fine then on the last stage of loading(judging by progress bar) applet hangs(progress bar hangs) and when I reload page firefox shows in the bottom bar: applet <applet's name> bail.
    In windows everything works both in ie6 and firefox 3.
    On both environments I have the jre 6 installed.
    please help!

    Ok, I installed ies4linux and jre 1.5.16. I can work with that but when I start applet screen goes black and window frames dissapear.
    To solve this problem(feature?) I disabled DirectX-based acceleration for Java 2D but that works for javacpl.exe and does not work for my applet.

  • Reports who work in BIP 10G does not work in BIP 11G

    Hi!
    We are in the middle of going from BIP 10G to BIP 11G (latest patch installed the 9 of february). We have used the Upgrade Assistant to migrate the reports from 10G to 11G, about 80-90% are working directly.
    But, as always are there some problems. There are 2 major problems I am struggling with for the moment. 1 is long running reports who gets "Connection reset by peer" before the report ends and the more problematic which is this:
    [2012-02-27T11:09:50.397+01:00] [bi_server1] [ERROR] [] [oracle.xdo] [tid: 24] [userId: <anonymous>] [ecid: 22bf1318a95b3a18:-528a5dc9:135b0d15f61:-8000-0000000000025a30,0] [APP: bipublisher#11.1.1] XSL error:[[
    <Line 80, Column 151>: XML-23002: (Error) internal xpath error
    @Line 80 ==> <_G><xsl:if test="sum($G1[(./QADATE02 = current-group()/QADATE02)]/QATRQT) = '0'" xdofo:ctx="3">
    [2012-02-27T11:09:50.397+01:00] [bi_server1] [WARNING] [] [oracle.xdo] [tid: 24] [userId: <anonymous>] [ecid: 22bf1318a95b3a18:-528a5dc9:135b0d15f61:-8000-0000000000025a30,0] [APP: bipublisher#11.1.1] oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException[[
         at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1205)
         at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:276)
         at oracle.xdo.template.FOProcessor.createFO(FOProcessor.java:1973)
         at oracle.xdo.template.FOProcessor.generate(FOProcessor.java:1117)
         at oracle.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:124)
         at oracle.xdo.servlet.CoreProcessor.process(CoreProcessor.java:372)
         at oracle.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:93)
         at oracle.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:1059)
         at oracle.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:624)
         at oracle.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:477)
         at oracle.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:447)
         at oracle.xdo.servlet.XDOServlet.doGet(XDOServlet.java:267)
         at oracle.xdo.servlet.XDOServlet.doPost(XDOServlet.java:299)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.xdo.servlet.metadata.track.MostRecentFilter.doFilter(MostRecentFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:122)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.xdo.servlet.init.InitCheckingFilter.doFilter(InitCheckingFilter.java:64)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.GeneratedMethodAccessor7820.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:917)
         at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:609)
         at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:328)
         at oracle.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:187)
         at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1181)
         ... 40 more
    Caused by: oracle.xdo11g.xqxp.XQException: XPTY0004
         at oracle.xdo11g.xslt.XSLStylesheet.flushErrors(XSLStylesheet.java:1850)
         at oracle.xdo11g.xslt.XSLStylesheet.execute(XSLStylesheet.java:616)
         at oracle.xdo11g.xslt.XSLStylesheet.execute(XSLStylesheet.java:551)
         at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:345)
         at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:194)
         at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:230)
         at oracle.xdo11g.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:124)
         at sun.reflect.GeneratedMethodAccessor7820.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:920)
         ... 44 more
    Does anyone have the solution for this type of error, we have about 30-40 reports that is behaving like this in BIP 11G but works fine in BIP 10G.
    Can we do anything general in the BIP 11G or does we need to find the solution for each report and change in the template?
    All ideas are appreciated, thanks,
    Anders B

    Hi!
    Have everyone out there been able to use the upgrade assistant without any problem?
    The UA.bat program says everything is ok but the report actually created in BIP 10G does not work in BIP 11G. We are looking for documentation or "findings" of what the problem can be, in a more general way. We are aware of that we probably have to fix this manually, but we dont know what to fix, and it is not so "fun" to be forced to re create all this templates and reports. The datamodell seems for the most of the time works, so we get a working xml source but the creation of the report thru the template dont work.
    Best regards,
    Anders

  • Adobe photoshop cs2 download on adobe website does not work-  the serial number does not work?

    photoshop cs2 download on adobe website does not work - the serial number given isn't recognised when you enter it when trying to install. the live chat at adobe cannot help and suggested that I may find the answer here. Can anyone help with this?

    Adobe has decommissioned the CS2 activation servers, so your old serial number is no longer usable.
    If you download the special non-activating version of CS2 that Adobe has made available to licensed CS2 users, you MUST also use the new serial number provided by Adobe on that download page:
    https://www.adobe.com/cfusion/entitlement/index.cfm?e=cs2_downloads
    That S/N does work.  I double checked.

  • RichEditableText: Control+z for undo works in firefox but does not work in internet explorer (ie)

    Hi,
    I was doing some testing with RichEditableText and realized that the undo and redo when called by keyboard (Control + Z) in Internet Explorer does not work.
    Thanks,

    Hi, Gordon Smith, thanks for answer.
    I tried to pass a javascript event to the flash but still the IE does not fire, but by the way there is no way around this situation.
    With javascript I tried
    document.attachEvent("onkeydown") but doesnt work, this not fires with flash over.

  • SAPWebConsole - dropdown field works in ABAP but does not work on Web

    Hi All,
    I am writing an RF transaction in ABAP using regular dialog programming. My transaction works fine in the GUI. But it does not work OK when I access the transaction over the web (using IE) via SAPWebConsole.
    My issue is that on the SAPGUI I have a dropdown box that is populated with entries and I can choose an entry but on the same transaction on IE I cannot choose any entries in the same field as it does not have a dropdown option.
    Am I doing something wrong here in the ABAP? Am I assuming incorrectly that SAPWebConsole can have dropdown lists?
    Thanks,
    N.
    I know that this is stictlynotan ABAP issue but it does have possible overlap.

    Hi Niall!
    WebSAPConsole has in it's own limitations with regards to Dialog Programming Development, but a much better version than SAPConsole(Text Based).You cannot have drop down on WebSAPConsole on RF Transaction,pl suppress it in you dialog programming, both F1 & F4.Pl look at the Supported Features in the WebSAPConsole USers Guide.
    Let me know if you have any additional questions regarding this?
    Thanks
    Gisk
    Message was edited by: Sivakumar Ganesan(Gisk)

  • The add work button for behance does not work. how to fix this?

    I cannot publish to Behance the add work button does not work. I also cannot upload work to Adobe Voice Either. Why is this happening? I see my comrades uploading work.

    Sorry to hear that! To resolve this quickly, submit a ticket here so that we can give you one-on-one support: https://behancenetwork.zendesk.com/anonymous_requests/new
    Off the bat, if you're having this issue on several products, it might be an issue with your computer or browser settings. We'll help in the ticket!

  • Ipad app icons shaking but won't delete, home button does not work, power off switch does not work

    I just got a new ipad air and have started to add apps to it.  I have added a couple of free apps which I have also deleted (moved to icloud).  I have also a couple of apps (free & purchased) which I have on it now.
    Now my problem:
    I tried to remove another free app.  I press and hold the icon.  All app icons shake and display the 'x' for removing, but the 'x' for does not work on any of the icons.  Also, after this, the home button does not work as the icons keep shaking even while I am pressing the button.  And the power off switch on the side of the device does not work either.  If I close the smart cover and reopen it shows the home display and all the icons still shaking (instead of showing the passcode sign-in display).  Fortunately (well, fortune in the misfortune) if I press the home button and off switch a couple times each and close the smart cover and wait, the device awakes normally.  Well, normally until I try to remove any app.
    So what do I need to do to fix this?
    Thanx
    Brian

    Glad it worked. Anytime your iPad acts up, the reboot/reset is a common first thing to try. And it clears up many issues and glitches.
    enjoy your new toy

  • I don't received codes and  the magic wand of PS does not work

    I don't received no codes, now I can't no use LR
    the magic wand of PS does not work

    We can't know. You have not provided any useful technical info about your system or other details. If you bought the photographer's bundle for Creative Cloud then there are no serial numbers. Refer to this:
    Sign in, activation, or connection errors | CS5.5 and later
    Mylenium

  • Running a Query via Query Monitor (RSRT) works, but Java Web does not

    I am running a query via RSRT (IC_SOPSAL/Z_SOPIC_CUSTSALES_01) and this is successful. But when I run the Java Web for same Query below,
    http://FQDN:59800/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=Z_SOPIC_CUSTSALES_01
    We get an error, The Web template "ZWEB_TEMPLATE_001" does not exist in the master system.
    our BW8 and BW3 SSO configuration on our Portal System Object connectivity are not BI master systems.
    Regards,
    James

    I am running a query via RSRT (IC_SOPSAL/Z_SOPIC_CUSTSALES_01) and this is successful. But when I run the Java Web for same Query below,
    http://FQDN:59800/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=Z_SOPIC_CUSTSALES_01
    We get an error, The Web template "ZWEB_TEMPLATE_001" does not exist in the master system.
    our BW8 and BW3 SSO configuration on our Portal System Object connectivity are not BI master systems.
    Regards,
    James

  • Servlet works in windows but does not work in solaris?

    hi all,
    can someone tell me why the servlet work in windows platform but doesnt work in solaris?The servlet tries to ping 127.0.0.1 and the output is correct in windows, but when i try it in solaris, it produces the following exception :
    Internal error: Unexpected Java exception thrown ( unknown exception, no description ) , stack:java.lang.NoClassDefFoundError: StreamGobbler
    at java.lang.Class.getDeclaredConstructors()(Native Method) ....
    The code is as follow:
    import java.util.*;
    import javax.servlet.http.*;
    import javax.servlet.*;
    import java.io.*;
    class StreamGobbler extends Thread
         InputStream is=null;
         String type=null;
         PrintWriter out=null;
         StreamGobbler(InputStream is,String type,PrintWriter out)
         this.is=is;
         this.type=type;
         this.out=out;
         public void run()
              try
              InputStreamReader isr=new InputStreamReader(is);
              BufferedReader br=new BufferedReader(isr);
              System.out.println("finishing inputstreamReader and BufferedReader");
              String line=null;
              while (     (line=br.readLine())!=null )
                   {     out.println(type+"> "+line);
                        out.println("<br>");          
              catch (IOException ioe)
              {     ioe.printStackTrace();
    public class ping extends HttpServlet
         public void init(ServletConfig config) throws ServletException
         {     super.init();
         public void service(HttpServletRequest req,HttpServletResponse res) throws ServletException, IOException
              res.setContentType("text/html");
              PrintWriter out=res.getWriter();
         try     {
              Runtime rt=Runtime.getRuntime();
              System.out.println("pinging 127.0.0.1");
              String[] cmd={"ping","127.0.0.1"};
              Process proc=rt.exec(cmd);
              System.out.println("finishing process proc=rt.exec(cmd)");
              StreamGobbler errorGobbler = new StreamGobbler(proc.getErrorStream(),"ERROR",out);
              StreamGobbler outputGobbler= new StreamGobbler(proc.getInputStream(),"OUTPUT",out);
              errorGobbler.start();
              outputGobbler.start();
              int exitVal=proc.waitFor();
              out.println("Process exitValue: "+exitVal);
              out.close();
         catch (Throwable t)
                   t.printStackTrace();
    Thanks for help.

    java.lang.NoClassDefFoundError: StreamGobblerBecause you didn't put that class into the classpath of the servlet you are trying to run on Solaris.

  • Font changing size when i go to yahoo mail on my new netbook sometimes its ok other times it appears microscopic i have to close firefox then reopen and sometimes this works other times it does not work Why ?

    this does not happen on any other site i visit only on yahoo mail.yahoo,s answer to the same question is we dont know reason maybe its firefox.

    I have had that happen with Comcast web mail, too. You can't hold the Ctrl key and then use the scroll wheel to do certain functions in the web mail software. That function will work in the web mail software, but you will also change the Zoom factor of the page. You have to remember to '''''reset''''' the Zoom factor immediately, Firefox will remember the Zoom factor and use that until you reset it to default.

Maybe you are looking for

  • Why does Firefox keep redirecting me?

    I have a MacBook Pro. OS X 10.8.4 After I open Firefox and type a website to navigate to, it initially opens the page but then immediately redirects to another page. Sometimes it redirects to Lycos.com, or another random advertisement page. Other tim

  • Reading the XML message from Xi stored in XML format from a abap program.

    Hi Gurus, My requirement here is to read the data that will be coming from Xi from my custom abap program and updating 2 data base tables. The method is after the data mapping is done a class is generated in abap proxy in which a method is available.

  • Understanding Vector Smart Objects in PSD

    I'm trying to learn to use Smart Objects in PS to edit files created in AI. I watched the Adobe TV video as well as a few others. It seems easy as pie. But one thing confuses me. What is the file that gets created called  Vector Smart Object.ai? Do I

  • Bluetooth keybord and trackpad work separately, but not together

    Hi Everyone, I just bought an apple wireless keyboard and magic trackpad.  The both connect to bluetooth and work fine, if used separately.  But if you connect both at the same time, the keyboard works, but the trackpad doesn't.  As soon as you disco

  • Policytest.exe won't run!

    I am trying to run "Policytest Utility" from a 2003 Small Business Server CD but I keep getting error. I have been having issues with Exchange Services not starting therefore I decided to run Policytest.exe as part of the trouble shooting but wheneve