Error using "java" command

I've just started trying to learn java and what is really ticking me off is that I can't get my applications to run. I use the "javac" command and it works just fine so I can get applets to work but when I use "java" to run applications I get the error message:
"Exception in thread "main" java.lang.NoClassDefFoundError: "(class name)
I've gone back through and checked my environmental variables and paths but get the same results. I've also tried with two versions of the SDK,
1.2.2 and 1.4.1 and I still get the same results.
Anyone PLEASE help, I need to get farther in learning Java!

My First Java Program (for Windows)
Follow these steps:
1. Download and install the Java 2 SDK
2. Make sure your path and classpath are set correctly
3. Type in your first program
4. Compile your first program
5. Run your first program
6. Read the Java tutorial
1. Download and install the Java 2 SDK
Go to the Java website and download the Java 2 SDK, Standard Edition:
http://java.sun.com/j2se/1.4.1/download.html
NOTE: Make sure you download the SDK (leftmost column) and not just the JRE. The JRE (Java Runtime Environment) only contains the stuff necessary to run Java programs, and not the compiler and other tools you need to develop Java programs.
After downloading, run the installation program to install the Java 2 SDK.
2. Make sure your path and classpath are set correctly
After installing, READ THE INSTALLATION NOTES! Lots of people get in trouble and are asking questions in the forums because they were too lazy to read and follow the installation notes. Especially, after installing the Java 2 SDK you need to add the 'bin' directory of the SDK to your PATH, otherwise you will get an error like "javac is not recognized as an internal or external command" or something similar.
If you've installed the Java 2 SDK in C:\j2sdk1.4.1_03, add C:\j2sdk1.4.1_03\bin to the PATH. How you should do this for different versions of Windows is described in the installation notes: http://java.sun.com/j2se/1.4.1/install-windows.html
If you are using a version of the Java 2 SDK older than 1.4, you need to add the current directory (".") to the CLASSPATH environment variable. CLASSPATH is where Java looks for *.class files (compiled Java classes). Since Java 1.4, Java looks in the current directory automatically if the CLASSPATH isn't set, so you don't need to add "." to the CLASSPATH. Again, the installation notes explain what CLASSPATH is and how you should set it.
3. Type in your first program
Start Notepad and type in your first program:
public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello World");
}NOTE: Java is case-sensitive. Be careful to type in the program exactly as shown above. Don't type "Helloworld" or "helloworld" or anything else.
Save the file somewhere in a file called "HelloWorld.java". NOTE: Again, the case must be correct. Even though Windows is case-insensitive for filenames, the case must be correct, because Java is case-sensitive. Also watch out that Notepad doesn't append ".txt" to the filename (so that you end up with a file called "HelloWorld.java.txt"). To make things worse, Windows Explorer hides file extensions by default so you don't even see that the file is actually called "HelloWorld.java.txt" instead of "HelloWorld.java".
4. Compile your first program
Open a command prompt, CD to the directory that contains your source file and type:
javac HelloWorld.java
NOTE: Again, the case must be exactly right.
If all goes well, you'll not get any error messages and a file "HelloWorld.class" is generated.
5. Run your first program
To run your program, type:
java HelloWorld
NOTE: Don't type "HelloWorld.class". You are specifying the class name here, not the filename. Ofcourse, the case is important again.
6. Read the Java tutorial
Go to the Java website and follow The Java Tutorial:
http://java.sun.com/docs/books/tutorial/
The chapter "Your First Cup of Java" also explains in detail how to start with Java.
Jesper

Similar Messages

  • Error Using java command. Please help!

    Ok, I'm having problems running my java programs. I use the javac command, and it compiles it right, and makes the class file. But if I type
    java anything
    It won't work. It comes up with the error message:
    Exception in thread "main" java.lang.NoClassDefFoundError: BigDebt
    With BigDebt as the class file. That error message comes up if I type:
    java anything
    java blah.class
    I have version 1.3.
    It would be GREATLY appreciated if someone could help.

    It appears you are using the right command, "java BigDebt" if your class is called BigDebt and the compiler produced a file named BigDebt.class. (This assumes that your source code doesn't start with a "package xxx;" line.) Your problem is likely a Classpath problem. Make sure you have CD'd to the directory where BigDebt is located. Then try:
    java -classpath . BigDebt

  • "no row count was produced" error using mqsl commands through Access

    "no row count was produced" error using mqsl commands through Microsoft Access. This sql statement works when I use in in the Access program but it does not work when I try and put it through Access using my Java program. Here is the block of code that I have that does the search.
    public static Game searchRecord(String search) throws SQLException{
    String query = "SELECT* " + "FROM gamefields WHERE SKU = '" + search + "' ORDER BY SKU ASC";
    Game lastGame = new Game(gamefields.getString(1),
    gamefields.getString(2),
    gamefields.getString(3),
    gamefields.getString(4),
    gamefields.getString(5),
    gamefields.getString(6),
    gamefields.getString(7),
    gamefields.getDouble(8));
    Statement statement = connection.createStatement(); //Creates connection
    //statment to database
    statement.executeUpdate(query); //Executes the delete query and Updates the database
    statement.close();
    close();
    open();
    return lastGame;

    When you use the code from java, you access access (!) through the ODBC interface. Things can be different in ODBC and Jet. When you use PrepareadStatements, you should be on the save side:
    public static Game searchRecord(String search) throws SQLException
    String query = "SELECT * FROM gamefields WHERE SKU = ? ORDER BY SKU ASC";
    PreparedStatement statement = connection.prepareStatement(query);
    statement.setString(1,  search);
    ResultSet rs = statement.executeQuery(query);
    if(rs.next()
    // if a row retuned extract the details here
    rs.close();
    statement.close();
    return lastGame;
    }

  • Dehydration failed with error: Use introspectWLS12 command to introspect domains

    Hello Experts,
    I am trying to Introspect my Oracle weblogic server Locally to configure appliances on my assembly in Virtual Assembly Builder using command
    # ./abctl introspectWLS -wlsHome /home/punit/Oracle/Infra/wlserver -domainRoot /home/punit/Oracle/Infra/user_projects/domains/base_domain -adminUser weblogic
    but it is getting failed with error:
    Use introspectWLS12 command to introspect domains based on WLS 12.1.2 and younger..
    Error:  OAB-7105: Introspection failed.
    Caused by: Dehydrate job failed.
    Caused by:  OAB-50008: Use introspectWLS12 command to introspect domains based on WLS 12.1.2 and younger.
    later I replaced introspectWLS with introspectWLS12  but its throwing   Usage error: Command not found: introspectWLS12.
    Can somebody help me in finding the exact command for version 12.1.2 to by-pass this..
    FYI: I am using fmw_Infra_121200_OVAB.jar binnary  bundled with JRF & FM Components on my OEL-6.0 platform
    Thanks in Advance
    Punit

    Hi,
    Thanks for your reply.
    This icon you provided means "the DHCP server connected but current user does not have the administrative credentials to manage the server."
    That's why "0x80070005. Access is denied" is received.
    DHCP console icons reference
    http://technet.microsoft.com/en-us/library/cc784812(WS.10).aspx
    So, you need to make sure the current user have the administrative credentials to configure DHCP server. Usually members of the DHCP Administrators
    group can view and modify any data at the DHCP server. DHCP Administrators can create and delete scopes, add reservations, change option values, create superscopes, or perform any other activity needed to administer the DHCP server, including export or import
    of the DHCP server configuration and database. DHCP Administrators perform these tasks using the Netsh commands for DHCP or the DHCP console. For more information, see
    DHCP tools.
    DHCP groups
    http://technet.microsoft.com/en-us/library/cc737716(WS.10).aspx
    Hope this helps.
    Thanks,
    Robbin Meng
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked
    post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Can't use "java" command

    I just can't use the java command...
    The paths have been set and everything should work...
    If I just type "java" (without the "") I get:
    Usage: java [-options] class [args...]
    (to execute a class)
    or java -jar [-options] jarfile [args...]
    (to execute a jar file)
    where options include:
    -client to select the "client" VM
    -server to select the "server" VM
    -hotspot is a synonym for the "client" VM [deprecated]
    The default VM is client.
    -cp -classpath <directories and zip/jar files separated by ;>
    set search path for application classes and resources
    -D<name>=<value>
    set a system property
    -verbose[:class|gc|jni]
    enable verbose output
    -version print product version and exit
    -showversion print product version and continue
    -? -help print this help message
    -X print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
    enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
    disable assertions
    -esa | -enablesystemassertions
    enable system assertions
    -dsa | -disablesystemassertions
    disable system assertions
    And if I type "java Oper" (It compiled normally and worked on my school computer) it gives me this error:
    Exception in thread "main" java.lang.NoClassDefFoundError: Oper
    It works everywhere but on my computer...
    Oh, and I have Java Builder 3 University Edition installed. When I use that to compile + run my program, it works perfectely... I just can't use "java" in command prompt. I have a Windows ME.
    Another note, this may be related: I can't use certain Java applets on my computer, like the IRC applets for example. I tried it on both Netscape 7.01 and Internet Explorer 6.0.2800.1106. It displays the same kind of error, the Exception in thread "..." java.lang.NoClassDefFoundError: ... .
    And I've already tried uninstalling + reinstalling. Any other suggestions?

    start -> run -> cmd
    (if it doesn't open command prompt, then try command instead of cmd)
    once you have reached command prompt, then you change to some empty directory where you would like to create java or class files. (use cd command for that)
    once you have reached that directory, type: notepad Hello.java
    (it should open notepad, and it should prompt you a question if you want to create file Hello.java (since it didn't excist) ... click yes)
    in notepad type the following:class Hello {
    public static void main(String[] args) {
      System.out.println("Hello");
    }once you have written that into notepad, then click File and choose Save from there.
    now you may close your notepad.
    now go back to that command prompt and type in command dir Hello.*
    it should lis you all Hello.* files, and Hello.java should be one of these.
    now, when you have seen that in your current directory a Hello.java does excist, you may type javac Hello.java
    if it does compile whitout any errors then everything is OK so far.
    type again dir Hello.*
    now you should see two files, Hello.java and Hello.class
    if you now saw that Hello.class was in the current directory, you may type the following command: java Hello
    it should display a String "Hello" on your screen.
    if it doesn't work, then you have problem with java not working from commandline (some classpaths are wrong or unset or smthng similar)
    if you suspect that something doesn't work, then always test it with simplest task.

  • *PROBLEM SOLVED: Using "java" command in JSDK1.4.1

    I had a problem before when using the java command for JSDK1.4.1
    What I just realised/found was that there different situations
    for using the "java" command. I will give you some tips in
    case you are running in the same problem or may be to help
    another person:
    RUNNIN FILES (.java) THAT ARE "NOT" PART OF A PACKAGE
    1)Let's say you have a "test.java" file in "C:\APP\SUB\"
    2)You can compile it from iside or outside the folder that
    holds the "test.java" (i.e. SUB)
    3)After compiled, you can ONLY run the "test.class" file
    from within the folder that holds the CLASS file i.e. "SUB"
    You can not be at the "APP" folder and type:
    "java SUB.test" NOR "java SUB/test"
    RUNNING FILES (.JAVA) THAT ARE PART OF A PACKAGE
    1)Let's say you have a "test.java" file in "C:\APP\SUB\COM\"
    2)Now let's say that the fiel includes the "package SUB.COM;" line
    in the code, which makes it part of a package.
    COMPILING
    3)If the "test.java" file does NOT use another file in the same
    folder, you can compile it from where ever you want. It could
    be from within inside OR outside the folder holding the file
    4)If the "test.java" file DOES use another file in the same folder,
    then you have to go "javac" it from any folder aoutside the
    folder that is hosting (holding) the "test.java" file
    EXMAPLE:
    If am in folder "APP" I can do this: "javac SUB/COM/test.java"
    Or if am in "SUB" I can do: "javac COM/test.java"
    BUT if Im in "COM" I can NOT do: "javac test.java"
    RUNNING
    5)Make sure that you have produced a "test.class" file when compiling
    6)Recall that the "test.java" file includes the line "package SUB.COM;"
    which means that it is part of this package. and that it is stored
    inside "COM"
    7)You can ONLY run the "test.class" file from the FIRST folder above
    the package where that the "test.class" file is forming part of
    i.e from inside the "APP" folder, You CAN NOT run the file from
    anywhere else but the first folder (APP) above the package (SUB.COM)
    8)EXAMPLE:
    To run the "test.class" I must be in: "C:\APP"
    I can NOT be in "C:\" nor "C:\APP\SUB" nor "C:\APP\SUB\COM"
    Then type in the command window: "java SUB.COM.test" and..
    *** ESO ES TODO AMIGOS!! **** (THAT'S ALL FOLKS)
    I hope this help to other people.. some factors like enviromental
    variable may change what I just stated though.
    In my computer runnning "Windows 2000" my variables are:
    1)JAVA_HOME: C:\j2sdk1.4.1
    2)path: <other paths>;C:\j2sdk1.4.1\bin;
    THANK U FOR ALL THE PEOPLE WHO WERE TRYING TO HELP ME SINCE YESTERDAY
    my email: [email protected]

    Yeah, he did get a lot of it wrong but oh well, at least he's putting forth some effort. If you need any help alex, just send me a note. Everyone should also look into using Jakarta Ant for even your simple applications, it makes all these little directory issues go away real fast. If you need a generic build.xml file that has nice features, again, just send me a note.
    -Spinoza

  • Importing .eex using Java Command Line on Unix (Licence required?)

    Hiall,
    We're looking into scripting our deploy process to reduce the amount of manual intervention required. We'll be importing the eex from a Unix box and was wondering what the licencing restrictions are on using the Java Command Line tools.
    Do we need a licence for them? Which kind? Desktop or Administrator?
    We already have Desktop licences but would rather not have to buy an additional one just for this process.
    Thanks for any help you can offer.

    Hi
    The Java Command Line Utility for the EUL is licensed with the Admin edition so you'll need to purchase at least one Admin license (at current prices these are $5,000 per administrator).
    Personally, I've always found scripting to be as much a manual process as entering the Admin tool and using the GUI interface.
    Best wishes
    Michael

  • Screen capture error, using "ctrl command shift 4"

    when I captured the screen using "ctrl command shift 4", the captured picture is cracked. but when using "command shift 4", the captured picture is fine.
    like below
    How can I fix it?

    use CMD  Shift 4
    better still use a FREE screen capture APP like ducklink
    http://www.ducklink.com/p/free-screen-capture-tool-on-mac/
    Best one is the APP SnapNDrag I use all the time.
    http://download.cnet.com/SnapNDrag/3000-2094_4-40913.html

  • Error on java command

    I have just installed the j2sdk 1.4.1_01 on Windows 2000. When I issue the 'java' command I get the following resonse
    Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion' has value '1.4' but '1.2' is required
    Help please!
    Glen

    You probably have a 1.2 version installed as well which is in your PATH before the 1.4 is. For example, there might be one in your windows or windows/system folder.

  • Error using DOS Command from Java

    Hi,
    I am using the following code to execute the DOS command to delete a file from Java.
    cmd = "del " + fileName;
    Runtime run = Runtime.getRuntime();
    Process proc = run.exec(cmd);
    Getting the following exception during runt time.
    Exception = java.io.IOException: CreateProcess: del D:\LAWDOCS\P50074\12\3\36857.3  error=2 --
    Can some body throw light on this?.
    Thanks,
    Jeyaraman R

    "del" is not an actual executable file, but instead a command in the command interpreter. So you can't just execute del like that, you have to run the command interpreter and tell it to execute the del command.
    If you are on windows NT, 2000 or XP, replace your command with "cmd /C del " + filename.
    If you are on Windows 95, 98 or ME, use "command /C del " + filename. (I am not quite sure if the switch for this is called /C on old windows version.)
    (But why not use File.delete()?)

  • Error using java and javascript

    I have a jsp page that links to a bean and is working fine (getting data from the database).
    On a html form I have a button with a picture that fires off javascript when clicked:
    <BUTTON TYPE=reset onclick=showinfo('<%=index%>')>
    <IMG SRC="http://localhost:8080/Portal/Images/q2.bmp" ALT="Info">
    </BUTTON>
    The javascript function just opens a new window and displays the text sent in:
    <Script Language=JavaScript>
    function showinfo(arrayindex)
    InfoWin=window.open("","InfoWin","width=345,height=220");
    InfoWin.document.write(arrayindex);
    return false;
    </Script>
    Well in the above example index is a number (pulled from the database using a java bean and javascript converts it into a string then the function displays it correctly. If I replace <%=index%> with regular text it works fine as well(because java isn't used to pull data)! The problem occurs when I retrieve text data from the database and send it to the function. The web page gives errors about a nonterminating string. But I can move the code to somewhere else on the form(as long as I don't send it to java script) and it will print the text to the screen. I can also view the source of the web page and the html shows the text from the data base as if I hard coded the text into the javascript!!!!!!!!!!!!!!!!!
    This must be a bug between java and javascript!
    -can pass numbers(from a database) between the two
    -can't pass text (from a database)between the two
    Any info would help!

    Found the problem myself!
    I am using an odbc connection to msaccess and the spaces in the text was messing things up!
    After taking out the spaces it worked again.

  • Help! Can't use java command to execute application

    I can compile using the javac command and that works fine. But then it can't seem to find the class that was just created.
    I get this message:
    "Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld"
    Please help!!!
    Thanks!

    The file is saved as the class name.
    Here's what happens:
    C:\jdk1.2.2\bin>javac HelloWorld.java
    C:\jdk1.2.2\bin>java HelloWorld
    Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld
    Here's the code that I'm trying to get to run:
    The HelloWorld application program
    public class HelloWorld
         public static void main(String argv[])
              System.out.println("Hello World!");
    }

  • Error using JAVA SAP GUI

    Hi All,
    I have installed and configured SAP JAVA GUI and its working fine but when i am creating a Transactional IView and using SAP GUI for Java it is not working,
    While clicking on Preview there is the following error comes up.
    Java Plug-in 1.6.0_07
    Using JRE version 1.6.0_07 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\gauravma
    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
    p:   reload proxy configuration
    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.net.URISyntaxException: Illegal character in path at index 18: file:/C:/Documents and Settings/gauravma/Desktop/gui_for_JAVA on 172.17.90.115/NW_7.0_Presentation/PRES2/GUI/JAVA/PlatinGUINT_6/platin.jnlp
         at java.net.URI$Parser.fail(Unknown Source)
         at java.net.URI$Parser.checkChars(Unknown Source)
         at java.net.URI$Parser.parseHierarchical(Unknown Source)
         at java.net.URI$Parser.parse(Unknown Source)
         at java.net.URI.<init>(Unknown Source)
         at java.net.URL.toURI(Unknown Source)
         at com.sap.platin.GuiAppletBase2.findJNLPFile(GuiAppletBase2.java:336)
         at com.sap.platin.GuiAppletBase2.findProductType(GuiAppletBase2.java:322)
         at com.sap.platin.GuiApplet2.getProductType(GuiApplet2.java:18)
         at com.sap.platin.GuiAppletBase2.<init>(GuiAppletBase2.java:54)
         at com.sap.platin.GuiApplet2.<init>(GuiApplet2.java:14)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.ExceptionInInitializerError
         at com.sap.platin.GuiAppletBase2.<init>(GuiAppletBase2.java:57)
         at com.sap.platin.GuiApplet2.<init>(GuiApplet2.java:14)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
         at java.lang.System.getProperty(Unknown Source)
         at com.sap.platin.trace.T.raceGetDefaults(T.java:188)
         at com.sap.platin.trace.T.<clinit>(T.java:98)
         ... 13 more
    java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/Documents and Settings/gauravma/Desktop/gui_for_JAVA on 172.17.90.115/NW_7.0_Presentation/PRES2/GUI/JAVA/PlatinGUINT_6/platin.jnlp
         at java.net.URI$Parser.fail(Unknown Source)
         at java.net.URI$Parser.checkChars(Unknown Source)
         at java.net.URI$Parser.parseHierarchical(Unknown Source)
         at java.net.URI$Parser.parse(Unknown Source)
         at java.net.URI.<init>(Unknown Source)
         at java.net.URL.toURI(Unknown Source)
         at com.sap.platin.GuiAppletBase2.findJNLPFile(GuiAppletBase2.java:336)
         at com.sap.platin.GuiAppletBase2.findProductType(GuiAppletBase2.java:322)
         at com.sap.platin.GuiApplet2.getProductType(GuiApplet2.java:18)
         at com.sap.platin.GuiAppletBase2.<init>(GuiAppletBase2.java:54)
         at com.sap.platin.GuiApplet2.<init>(GuiApplet2.java:14)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.NoClassDefFoundError: Could not initialize class com.sap.platin.trace.T
         at com.sap.platin.GuiAppletBase2.<init>(GuiAppletBase2.java:57)
         at com.sap.platin.GuiApplet2.<init>(GuiApplet2.java:14)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    load: class com.sap.platin.GuiApplet2 not found.
    java.lang.ClassNotFoundException: com.sap.platin.GuiApplet2
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    load: class com.sap.platin.GuiApplet2 not found.
    java.lang.ClassNotFoundException: com.sap.platin.GuiApplet2
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    load: class com.sap.platin.GuiApplet2 not found.
    java.lang.ClassNotFoundException: com.sap.platin.GuiApplet2
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    load: class com.sap.platin.GuiApplet2 not found.
    java.lang.ClassNotFoundException: com.sap.platin.GuiApplet2
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    load: class com.sap.platin.GuiApplet2 not found.
    java.lang.ClassNotFoundException: com.sap.platin.GuiApplet2
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    load: class com.sap.platin.GuiApplet2 not found.
    java.lang.ClassNotFoundException: com.sap.platin.GuiApplet2
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    load: class com.sap.platin.GuiApplet2 not found.
    java.lang.ClassNotFoundException: com.sap.platin.GuiApplet2
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    load: class com.sap.platin.GuiApplet2 not found.
    java.lang.ClassNotFoundException: com.sap.platin.GuiApplet2
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    load: class com.sap.platin.GuiApplet2 not found.
    java.lang.ClassNotFoundException: com.sap.platin.GuiApplet2
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    load: class com.sap.platin.GuiApplet2 not found.
    java.lang.ClassNotFoundException: com.sap.platin.GuiApplet2
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    PLease help in this regard.
    Gaurav Makin

    Hello,
    shorthand the error message indeed comes from the unquoted blanks in the file-url.
    However the whole usage scenario seems to be different than how it is intended to be.
    I would expect the PlatinGUI*.jar installer extracted on the web server, not locally on your desktop and the codebase parameter in the html page should point to the folder on the web server containing all the jars.
    You might want to have a look at chapter "8. Web Server Configuration" of the manual part of SAP GUI for Java.
    Best regards
    Rolf-Martin

  • Error using Java Mapping

    Hi All,
    I am working on scenario with help of this blog for java mapping
    http://www.riyaz.net/blog/xipi-java-mapping-demystified/
    I am getting error while i test the interface mapping as
    Problem while building Tree view
    Unable to display tree view; Error when parsing an XML document (Premature end of file.)
    How can i solve this error
    Regards,
    Syed

    Hi,
    all you need to do is close all the tags properly and try to validate the XML
    hope it will work
    Regards
    Venkat

  • Error using clix command in MDM 5.5

    Hello All,
    I have Installed an MDM 5.5 server on Unix/Oracle Environment. Currently I do not have MDM 5.5 Console installed. When I try to create a repository through clix command it gives me the below error.
    Please suggest a solution.
    clix repCreate <hostname> Test:<DB Instance>:o:system:<password> 2000 -P1
    Loading '/usr/sap/D2Q/LangStrings/DBConnection.lang' (eng_US)...
    Loaded 82 strings from '/usr/sap/D2Q/LangStrings/DBConnection.lang'
    Error: 0x84020017, The MDM Repository List Schema has not been created
    Regards,
    Renu

    Hello,
    There are only a limited number of operation possible through MDM CLIX vice versa there a few operation which are not aviable in Console but are available in Clix
    Please refer the link
    http://help.sap.com/saphelp_mdm550/helpdata/en/42/f87afbba761a7de10000000a422035/content.htm
    http://help.sap.com/saphelp_mdm550/helpdata/en/42/f87afbba761a7de10000000a422035/frameset.htm
    regards,
    Abhishek
    Edited by: Abhishek Biwal on Nov 17, 2011 10:42 AM

Maybe you are looking for

  • Calendar will not sync from iphone to ical since 10.5.2 update

    My iphone has worked perfectly since I bought it last summer & I have been raving about it! I updated to 10.5.2 and now I am having a syncing problem. If I put an appointment in the iphone it will not sync to ical, but it does sync from ical to the i

  • When taking a picture on an Iphone 5, why does the picture go back to the iphone 4 size?

    I was just wondering if the photo on an iPhone 5 was supposed to save as a smaller size like the size from and iPhone 4 or is there a way to change that?

  • Yosemite Upgrade broke bootcamp partition

    Guidos-MacBook-Air:~ Guido$ diskutil list /dev/disk0    #:                       TYPE NAME                    SIZE       IDENTIFIER    0:      GUID_partition_scheme                        *121.3 GB   disk0    1:                        EFI EFI        

  • Repainting image does not work

    Hi, I have this repaint() problem. I have a timer that calls the moveM1() method which updates the currentX_M1(X position of fly), and then repaints it. However, the fly isnt repainted to its new coordinate even if the currentX_M1 is incrementing. im

  • Fileadapter: UNC path to share from Unix?

    Is it possible to access a windows server share from XI running on Unix (hp-ux)? -AD