Noob confusion on jar files

Im creating jar files and writing manifests for them. However, I am confused on how to write manifests such that i get the behavior i want. I want all my class files to be in the jar files and run from there. However when i write my manifest with the classpath: ". [followed by other classes]" It cannot find my main class. However, when I include the classes outside the jar file, the program runs perfectly. I tried ".\[nameofjar].jar" still doesn't work. What do i do??

I found a really awesome jar packaging program that will do all the packaging for you and write the manifest for you. Its called JarBuilder-0.70 and you can find it on download.com.

Similar Messages

  • Confusion on jar files

    Im creating jar files and writing manifests for them. However, I am confused on how to write manifests such that i get the behavior i want. I want all my class files to be in the jar files and run from there. However when i write my manifest with the classpath: ". [followed by other classes]" It cannot find my main class. However, when I include the classes outside the jar file, the program runs perfectly. I tried ".\[nameofjar].jar" still doesn't work. What do i do??

    if you are running it from a jar you have to use -jar with javaw also... thats how javaw knows you are using a jar file and not a class file.

  • [noob] how to include third part jar file in ear

    Hi,
    eveything is in the subject. It's quartz that I'm using btw.
    Regards
    Fred

    Hello,
    You are using the internal deployment file?
    <yourapp>.deploy?
    1) Place the file in the WEB-INF/lib directory
    2) Right click <yourapp>.deploy file and select properties
    3) File Groups -> WEB-INF/Lib -> Contributers and select your jar file.
    4) Rebuild the ear, done
    -Anton
    PS Be carefull, depending on the Application server you are using the quartz library COULD already be present (Most have it) and this could be a different version!
    If this is the case you need to tell the application server to load classes from the web-inf directory first!
    With the Oracle OC4J containers this can be done during deployment, classloaders and select search local classes first.
    With Weblogic you will need the deployment descriptor 'weblogic.xml' and add:
    <container-description>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-description>

  • JOGL jar file confusion

    Some of the jogl.jar file contain following packages
    Packages
    net.java.games.cg
    net.java.games.gluegen.runtime
    net.java.games.jogl
    net.java.games.jogl.util
    another one contain following packages
    Packages
    com.sun.opengl.cg
    com.sun.opengl.util
    com.sun.opengl.util.j2d
    com.sun.opengl.util.texture
    com.sun.opengl.util.texture.spi
    javax.media.opengl
    javax.media.opengl.glu
    Which one is best and latest?

    Packages
    com.sun.opengl.cg
    com.sun.opengl.util
    com.sun.opengl.util.j2d
    com.sun.opengl.util.texture
    com.sun.opengl.util.texture.spi
    javax.media.opengl
    javax.media.opengl.glu
    This is the latest.......

  • Missing .jar files in the Weblogic Server 6.1 beta

    The files /weblogic/lib/weblogic_sp.jar and /weblogic/lib/poolorb.jar are required
    to be set in the
    classpath, according to the documentation. But they are missing in the downloaded
    version of the server.
    Is there any solution?

    Hi Rajashree,
    weblogic_sp.jar file is for service pack. I am assuming that you installed
    latest version from the download site. the latest one is a bundled version
    of wls6.0 with sp2. we put sp2 with 6.0 together, then you do not see that
    jar file.
    I am confused with poolorb.jar file. do you mean wlepool.jar and wleorb.jar?
    those 2 files are used when you need to make a connection pool to WLE
    server. if you do not use it, you do not need to include it in your
    classpath.
    Thanks
    yu
    Rajashree Desai <[email protected]> wrote in message
    news:3b53ea0c$[email protected]..
    >
    The files /weblogic/lib/weblogic_sp.jar and /weblogic/lib/poolorb.jar arerequired
    to be set in the
    classpath, according to the documentation. But they are missing in thedownloaded
    version of the server.
    Is there any solution?

  • Using a jar file in my application... how?

    I have a JAR file which contains some classes I need to use in my application. I however, after looking in several books, cannot figure out how to use this JAR file within my application.
    Do I simply put it in the directory with my .java files, and use an import command? I'm confused.

    If the classes in the jar are part of a package then you can import them based on the package structure. The jar file will have to be part of your CLASSPATH variable.
    i.e.
    myUtils.jar
    resides in C:\"My Classes"
    CLASSPATH = .;"C:\My Classes";"C:\My Classes\myUtils.jar"
    within the jar I have the following class:
    \ameyer\Util\someUtil.class
    \ameyer\Util\anotherUtil.class
    To use these classes I could use the following import statement
    import ameyer.Util.*;
    This would import any class at that level in the jar.
    Note: the import part of the CLASSPATH is "C:\My Classes\myUtils.jar"
    hope this helps.

  • How to put native methods in jar file

    Hi.I have an executable jar file(test.jar) that makes use of other jar files and native methods. For example, test.jar uses Jnpout32.dll. . test.jar , the other jar files and the native methods are all in the same directory. When I created test.jar I wrote a manifest file which specifies the class path of the other jar files and the native methods as follows and provided it as an option in the jar cfmev command.
    Class Path: jdbc.jar Jnpout32reg.dll  //content of manifest.txt  file that I provided to the jar command
    //carriage return I then run the command java -jar test.jar to run the file.
    All I am seeing is the following error message
    Exception in thread "AWT EventQueue-o
    "Java.lang.NoClassDefFoundError.
    gnu/io/SerialPortEventListner"
    {code}
    Any ideas? thanks in advance!
    Edited by: Nostalgia on May 22, 2009 8:05 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    You seem to be confusing Java's classpath with your os's path. The classpath only applies to Java classes. See if this discussion helps:
    http://www.inonit.com/cygwin/jni/helloWorld/load.html

  • Importing .jar files

    I have been checking out the forums and I think I am more confused than before. I have a bunch of classes in a .jar file and I want to use them in another app. I haven't changed what my classpath is because it has been so confusing I decided to reinstall the j2sdk. What should I set the classpath too? I have my class and the .jar file that I want to use in C:\Java Stuff\. What import statement do I have to have if the name of my .jar file is MyClasses.jar?
    Thank you!

    What you're saying is that your directory structure is something like this:
    C:\Java Stuff\com\mydomain\myclasses\MyClass.class
    C:\Java Stuff\MyJar.jarIf this is the case, you don't have to extract the files from the jar file into the directory. The jar file contains all the files and Java is able to fetch them directly in the jar file.
    However, to do this, your class path must include the jar file, and not just it's directory.
    So instead of:
    CLASSPATH=c:\j2sdk1.4.0_02\bin;c:\Java Stuff;you must have
    c:\j2sdk1.4.0_02\bin;c:\Java Stuff\MyJar.jar;Hope it helps!

  • Loadjava resolves jar file but classes are not showing up in user_objects

    Hello, oracle noob here,
    I'm loading a vendor's jar file in oracle with loadjava with the -v -f -r flags and the classes I need and I see them either getting resolved or skipped:
    c:\loadjava -r -f -v -genmissing -u "uid/pwd@mydbatrain" ekahau-engine-sdk.jar
    resolving: class com/ekahau/common/sdk/EConnection
    skipping : class com/ekahau/common/sdk/EErrorCodes
    skipping : class com/ekahau/common/sdk/EException
    skipping : class com/ekahau/common/sdk/EMsg
    Classes Loaded: 114
    Resources Loaded: 1
    Sources Loaded: 0
    Published Interfaces: 0
    Classes generated: 0
    Classes skipped: 0
    Synonyms Created: 0
    Errors: 0 Thinking everything went well I ran my routine to call EConnection but I get a NoClassDefFoundError on that call, which tells me that the aurora JVM can't find the class.
    After chasing my tail with the server's CLASSPATH, it dawns on me that it should already be in the user_objects table since loadjava should have put it in there.
    But when I query user_objects to see if EConnection is in there,
    SQL> column object_name format a30
    SQL> column object_type format a20
    SQL> select object_name,object_type, status from user_objects where object_name like '%ekahau%';
    OBJECT_NAME OBJECT_TYPE STATUS
    com/ekahau/common/sdk/EMsg JAVA CLASS VALID
    com/ekahau/common/sdk/IMsg JAVA CLASS VALID
    com/ekahau/engine/sdk/Asset JAVA CLASS VALID
    com/ekahau/engine/sdk/Device JAVA CLASS VALID
    com/ekahau/engine/sdk/Event JAVA CLASS VALID
    com/ekahau/engine/sdk/Location JAVA CLASS VALID
    com/ekahau/engine/sdk/Model JAVA CLASS VALID
    com/ekahau/engine/sdk/ModelMap JAVA CLASS VALID
    com/ekahau/engine/sdk/TagMenu JAVA CLASS VALID
    9 rows selected.
    SQL> It's not there along with 104 other class I thought it loaded
    I picked up the idea of running java inside oracle from an OCP and I can run a simple isolated java program myself and even make database calls.
    But it seems I didn't get all the knowledge i need when it comes to loadjava and getting a jar files classes into user_objects to be useful.
    Can anyone help an oracle noob with loadjava?

    Thank you, Gary.
    I updated the post with the version info. I did not explicitly install this JDBC driver, so whatever the OSD came with?  Unless it is using whatever is installed on my machine, in which case would be the thin driver.
    I did check out that post, and I appreciate you sharing it. I did click the 'include synonyms' filter, but behavior remained unchanged.
    I would prefer to use OSD, and that is what our dev team was expecting to use, but we just can't see the information.  We are using an ID that does not 'own' those tables, per se.  But, why would DBVisualizer show these tables, when OSD does not?

  • How to include externel library in JAR file?

    Hi all =)
    I have a program that uses an external library (in a JAR file) I would like to compile my program as a JAR and have it include the external library that it needs to run, so that the external library would not need to be on the computer running my program. How can I do this?
    Thanks =)
    Koneko349
    Message was edited by:
    Koneko349

    Ok I was able to make my JAR and launch my application correctly. However whenever I click a button that has a method using my external library I get the following error:
    C:\Documents and Settings\Koneko>java -jar D:\Mangment.jar
    Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/poi/poifs/filesystem/POIFSFileSystem at managment_system.ManagmentGUI.getNextStat(ManagmentGUI.java:569) at managment_system.ManagmentGUI$1.actionPerformed(ManagmentGUI.java:195)
    I do not get this error when I run and use my program from within the IDE.
    The JAR that has my external library (and has the class for POIFileSystem) is also on my D drive and i referenced it correctly (I think) In my classpath:
    <?xml version="1.0" encoding="UTF-8"?>
    <classpath>
         <classpathentry kind="src" path=""/>
         <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
         <classpathentry kind="lib" path="D:/poi.jar"/>
         <classpathentry kind="output" path=""/>
    </classpath>I would really like to get this working and I'm very confused XP

  • JAR files and J2ME

    Just starting a J2ME project.
    An embarrassingly Noobie Question:
    1) All the classes that are supposedly "built-in" to my device (phone)
    do NOT need to be included in the deployed JAR file, right?
    2) Anyone know how to do that in Netbeans 5.0?
    Project -> Properties -> Build shows sources filtering
    but that doesn't include anything from my "input"/library .JARS.
    However, all the com.*, javax.* and java.* files are being included in
    my output JAR file and it causes failures in preverify and loading
    on the phone.
    HELP!!

    hi,
    any know this question
    please send me the procedures about how load my J2ME
    application(jad and jar file) into CDMA mobiles
    like(Nokia 6255,6235,6235i etc..).
    its very urgent for me,
    please anybody known this answer reply very soon.
    thanks a lot
    laxmi.Hi
    I am also having the same problem , any one has found solutions kindly inform. I want to install the spreadsheet viewer. Has any body developed solutions for the same - Please help
    Thanks a lot
    Ragupathi

  • Problem in configuring jar file into a j2me polish project

    look guys i know it might look noobie question but it is realy urgent !!
    i want to add a jar file into a j2me polish project--: i added it as a jar into the resources , put it in a liberary .
    and when i wanted to import it into my classes it was shown in the auto-complete and it showd no error but while i try to comile my project i got this error:
    clean:
    Deleting directory G:\MyWOrk\Polish Projects\NamesMeanings\build
    pre-init:
    pre-load-properties:
    exists.config.active:
    exists.netbeans.user:
    exists.user.properties.file:
    load-properties:
    exists.platform.active:
    exists.platform.configuration:
    exists.platform.profile:
    basic-init:
    cldc-pre-init:
    cldc-init:
    cdc-init:
    ricoh-pre-init:
    ricoh-init:
    semc-pre-init:
    semc-init:
    savaje-pre-init:
    savaje-init:
    sjmc-pre-init:
    sjmc-init:
    nokiaS80-pre-init:
    nokiaS80-init:
    nsicom-pre-init:
    nsicom-init:
    bdj-init:
    post-init:
    init:
    j2mepolish-init:
    j2mepolish:
    J2ME Polish 2.0.7 (2008-11-24) (GPL License)
    Loading device database...
    Processing [2] devices...
    building application for [Nokia/N70] (1/2):
    using locale [en_US]...
    assembling resources for device [Nokia/N70].
    preprocessing for device [Nokia/N70].
    Warning: CSS-Style [focused] not found, now using the default style instead. If you use Forms or Lists, you should define the style [focused].
    Warning: CSS style [title] not found, you should define it for designing the titles of screens.
    processing locale code...
    Warning: unable to resolve path to API "videocontrolbeforeplayer". When this leads to problems, please register this API in [apis.xml].
    compiling for device [Nokia/N70].
    Compiling 320 source files to G:\MyWOrk\Polish Projects\NamesMeanings\build\real\nokia240X320\Nokia\N70\en_US\classes
    G:\MyWOrk\Polish Projects\NamesMeanings\source\src\namesmeanings\main\DirectSearch.java:7: package nmsearch does not exist
    import nmsearch.*;
    G:\MyWOrk\Polish Projects\NamesMeanings\source\src\namesmeanings\main\DirectSearch.java:74: cannot find symbol
    symbol : variable NMSearch
    location: class namesmeanings.main.DirectSearch
    searched=NMSearch.Search(message);
    2 errors
    When an API-class was not found, you might need to define where to find the device-APIs. Following classpath has been used: [C:\Users\Asmaa\J2ME-Polish2.0.7\import\mmapi.jar;C:\Users\Asmaa\J2ME-Polish2.0.7\import\midp-2.0.jar;C:\Users\Asmaa\J2ME-Polish2.0.7\import\cldc-1.1.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/nokia-ui.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/wmapi.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/mmapi.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/mmapi.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/btapi.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/m3g.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/pdaapi.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/m3g.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/pdaapi.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/jsr172.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/wmapi.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/m3g.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/pdaapi.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/btapi.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/jsr172.jar].
    G:\MyWOrk\Polish Projects\NamesMeanings\build.xml:39: Unable to compile source code for device [Nokia/N70]: Compile failed; see the compiler error output for details.
    BUILD FAILED (total time: 9 seconds)pleez i'll be more than thankful if anybody here could help in this.....

    look guys i know it might look noobie question but it is realy NOT* urgent !!
    i want to add a jar file into a j2me polish project--: i added it as a jar into the resources , put it in a liberary .
    and when i wanted to import it into my classes it was shown in the auto-complete and it showd no error but while i try to comile my project i got this error:
    clean:
    Deleting directory G:\MyWOrk\Polish Projects\NamesMeanings\build
    pre-init:
    pre-load-properties:
    exists.config.active:
    exists.netbeans.user:
    exists.user.properties.file:
    load-properties:
    exists.platform.active:
    exists.platform.configuration:
    exists.platform.profile:
    basic-init:
    cldc-pre-init:
    cldc-init:
    cdc-init:
    ricoh-pre-init:
    ricoh-init:
    semc-pre-init:
    semc-init:
    savaje-pre-init:
    savaje-init:
    sjmc-pre-init:
    sjmc-init:
    nokiaS80-pre-init:
    nokiaS80-init:
    nsicom-pre-init:
    nsicom-init:
    bdj-init:
    post-init:
    init:
    j2mepolish-init:
    j2mepolish:
    J2ME Polish 2.0.7 (2008-11-24) (GPL License)
    Loading device database...
    Processing [2] devices...
    building application for [Nokia/N70] (1/2):
    using locale [en_US]...
    assembling resources for device [Nokia/N70].
    preprocessing for device [Nokia/N70].
    Warning: CSS-Style [focused] not found, now using the default style instead. If you use Forms or Lists, you should define the style [focused].
    Warning: CSS style [title] not found, you should define it for designing the titles of screens.
    processing locale code...
    Warning: unable to resolve path to API "videocontrolbeforeplayer". When this leads to problems, please register this API in [apis.xml].
    compiling for device [Nokia/N70].
    Compiling 320 source files to G:\MyWOrk\Polish Projects\NamesMeanings\build\real\nokia240X320\Nokia\N70\en_US\classes
    G:\MyWOrk\Polish Projects\NamesMeanings\source\src\namesmeanings\main\DirectSearch.java:7: package nmsearch does not exist
    import nmsearch.*;
    G:\MyWOrk\Polish Projects\NamesMeanings\source\src\namesmeanings\main\DirectSearch.java:74: cannot find symbol
    symbol : variable NMSearch
    location: class namesmeanings.main.DirectSearch
    searched=NMSearch.Search(message);
    2 errors
    When an API-class was not found, you might need to define where to find the device-APIs. Following classpath has been used: [C:\Users\Asmaa\J2ME-Polish2.0.7\import\mmapi.jar;C:\Users\Asmaa\J2ME-Polish2.0.7\import\midp-2.0.jar;C:\Users\Asmaa\J2ME-Polish2.0.7\import\cldc-1.1.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/nokia-ui.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/wmapi.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/mmapi.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/mmapi.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/btapi.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/m3g.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/pdaapi.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/m3g.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/pdaapi.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/jsr172.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/wmapi.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/m3g.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/pdaapi.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/btapi.jar;C:/Users/Asmaa/J2ME-Polish2.0.7/import/jsr172.jar].
    G:\MyWOrk\Polish Projects\NamesMeanings\build.xml:39: Unable to compile source code for device [Nokia/N70]: Compile failed; see the compiler error output for details.
    BUILD FAILED (total time: 9 seconds)pleez i'll be more than thankful if anybody here could help in this.....

  • JAR Files...great

    So...me and some friends wrote some personal financial software (pure java) and it is pretty much complete. With only one problem though. An execitable like file that can be clicked on and ran (yes, I know a JAR File) but we have 18 text files used as help files and a database (Access...java level 1 standard odbc jdbc bridge driver...I know not the best idea either) and we have to get those files to be read by any computer we install our program on. There in lies my question...
    I have not work with JAR files very much but do know that they can be a pain. Is it possible while using a jar to install those 18 help files and the database onto the user's computer. Know where they are and interact with them. Thank you for any help.

    didittoday wrote:
    maybe you got confused...I don't have any jar's I want to make a jar or an exe to run my application me and my friends wrote. I have 18 help text files and and Access database that I want to be able to interact with after we package everything togethermaybe you are the one that's confused
    you can zip or tar all your files and distribute them
    there is no need for a jar or exe
    the access database is another story
    if you need to install that then your client needs to install or you need an installer (MSI or whatever) program
    Edited by: wpafbuser1 on Feb 19, 2008 1:58 PM

  • Java Jar files, and what is needed to run them?

    I'm sort of confused on what happens with JAR files, because on my computers that have all of the java SDK's and programs installed it works as an executable. But on my computer that doesn't have java installed(except for the windows xp basic) it wont work or registers with winRAR.
    My question is, is what needs to be installed on the computer to get an executable jar file to work. Is it JRE, or the SDK? And where can I get the file/s that may be needed to be installed.
    Thanks for the help

    jre stands for java runtime environment, i.e. everything you need to run a java application on your computer.
    sdk stands for software development kit, i.e. everything you need to develop java applications
    the jre run jar files for sure

  • Using .jar files

    I was able to use .jar files in Java programs that I write on my computer. I could write a program that used an import statement to bring in classes contained in a .jar file.
    One day, I was trying to incorporate a jar file folder directly into my windows operating system by using the environmental variable called CLASSPATH. Unfortunately, I made the mistake of screwing up my PATH variable. I fixed my PATH variable back up by adding the directory to the bin folder inside of the Java folder as is described commonly by the documentation for installing the Java SE on windows computer.
    Since that day, I have not been able to use .jar files using an import statement. My computer is unable to find the .jar files even if I specify the exact directory. Even the IDE(netbeans) that I use is unable to find and use .jar files. I have found that I can open up .jar files and pull the contents that I need out of said .jar files, but I have a project that does not allow me to open up the .jar files and extract the needed classes.
    I have googled this problem so much that I have read hundreds of posts about .jar files, and I cant find anyone in a situation that is similar to mine. If I take my files to another computer with Java SE installed, then my source code can access the .jar files just fine. For some reason, my work computer seems to hate using .jar files. I have no idea what could be the problem. There is no information in the java documentation on troubleshooting with this problem, and the most confusing part is that it worked perfectly fine until That one day
    Does anyone have any ideas?
    Specific technical details:
    I need to pull the Stopwatch.class file from a stdlib.jar file. In the past I had done this by using an import statement inside of my program:
    "import stdlib.Stopwatch; "
    Using this command to compile:
    "javac -cp .;(directory path to .jar file); source.java"
    This used to work. Now when using the javac command I get error messages
    1. Error points directly to import statement. Arrow directed at the period after stdlib.
    "cannot find symbol"
    2. Error message pointing to all instances of the class that I was attempting to import into my program.
    Thanks for reading
    Edited by: 955611 on Aug 28, 2012 7:22 PM

    I read your post. I want to compile this project by using the "-classpath" option in the javac command. After screwing up important system variables once, I do not want to continually have to play with system variable in order to compile projects. To quote from the website that you linked:
    Using the JDK tools' -classpath option
    The JDK tools java, jdb, javac, and javah have a -classpath option which replaces the path or paths specified by the CLASSPATH environment variable while the tool runs. This is the recommended option for changing class path settings, because each application can have the class path it needs without interfering with any other application.
    The runtime tool java has a -cp option, as well. This option is an abbreviation for -classpath.
    For very special cases, both java and javac have options that let you change the path they use to find their own class libraries. The vast majority of users will never to need to use those options, however.
    Clearly, the "-classpath" option in the javac is intended to replace the need to play with important system variables. I guess my post boils down to the question of "Why doesn't this command work for me?". I followed your suggestion by removing the bin directories and adding the stdlib.jar directory directly into the system variable itself. Here is the following output from my command prompt:
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Lelo>E:
    E:\>cd Programs\Java
    E:\Programs\Java>javac testy.java
    testy.java:1: error: package stdlib does not exist
    import stdlib.Stopwatch;
    ^
    1 error
    E:\Programs\Java>echo %CLASSPATH%
    C:\Program Files\Java\jre6\lib\ext\QTJava.zip;E:\Programs\Java\stdlib.jar;
    E:\Programs\Java>javac -classpath .;E:\Programs\Java\stdlib.jar; testy.java
    testy.java:1: error: package stdlib does not exist
    import stdlib.Stopwatch;
    ^
    1 error
    E:\Programs\Java>
    I still received the same errors. It seems that even adding the directories into the system variable will not work for me.

Maybe you are looking for

  • How do I remove pictures from my iPhone that can't be deleted?

    How do I remove pictures from my iPhone that can't be deleted?

  • Unlimited data gone after I was told my plan would not change

    I went the other day to get my wife a birthday present. She had a droid bionic and has had a lot of problems.  She always mentioned that she really wanted a iPhone seeings I have had one for over 2 years with no problems.  So I thought hey why not ge

  • Service Product/material

    Dear all. What is thr Diff between Service product and Service material..in Which scenario we can use it ...these..(I mean in Customer Service Point of view) Plzz give some information with general Example Thanks in Advance Regards LUckky Edited by:

  • Configure Home Screen

    Hi On my home screen the button on the left is Messaging and the button on the right is maps. How do I change these buttons to perform other functions? How do I also change the icons on the homescreen and the list below the icons? Thanks Solved! Go t

  • Utility to check memory usage N95

    Anyone know of a utility to check on the Phones own memory usage. i have no idea how muchr the phone has and how much is used. DB