Specific clarification in classpath documentation

At the documentation for setting the class path http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/classpath.html it says under the second paragraph below Understanding the Class Path and Package Names :
"For example, suppose you want the Java runtime to find a class named Cool.class in the package utility.myapp. If the path to that directory isC:\java\MyClasses\utility\myapp, you would set the class path so that it contains C:\java\MyClasses."
Instead of that directory, shouldn't it read Cool.class? If not, what's the reason?

At the documentation for setting the class path
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/cl
sspath.html it says under the second paragraph below
Understanding the Class Path and Package Names
"For example, suppose you want the Java runtime to
find a class named Cool.class in the package
utility.myapp. If the path to that directory
isC:\java\MyClasses\utility\myapp, you would set the
class path so that it contains C:\java\MyClasses."
Instead of that directory, shouldn't it read
Cool.class? If not, what's the reason?I guess either one is okay. By "that directory," they presumably mean "the directory where the class file resides" or "the directory indicated by the package name."
To cut through the semantic nitpicking, what they mean is that the full path to your class file is C:\java\MyClasses\utility\myapp\Cool.class. and you'd add C:\java\MyClasses to your classpath.

Similar Messages

  • Issue in Updating Customer specific fields in WBS using BAPI_BUS2054_CREATE_MULTI

    Hi Experts,
    I am able to create the WBS element using BAPI_BUS2054_CREATE_MULTI.But the issue is i am not able to update customer specific fields even after passing the fields as per specification in Function module documentation. I have also created an implementation of BADI  as per below specification in FM documentation:
    Procedure for Filling Standard Enhancements
    Before you call the BAPI for each object that is to be created or changed,
    for which you want to enter customer-specific table enhancement fields, add a
    data record to the container ExtensionIn:
    STRUCTURE:    Name of the corresponding help structure
    VALUEPART1:   Key of the object + start of the data part
    VALUEPART2-4: If required, the continuation of the data part
    VALUPART1 to VALUPART4 are therefore filled consecutively, first with the
    keys that identify the table rows and then with the values of the
    customer-specific fields. By structuring the container in this way, it is
    possible to transfer its content with one MOVE command to the structure of the
    BAPI table extension.
    Note that when objects are changed, all fields of the enhancements are
    overwritten (as opposed to the standard fields, where only those fields for
    which the respective update indicator is set are changed). Therefore, even if
    you only want to change one field, all the fields that you transfer in
    ExtensionIn must be filled.
    Checks and Further Processing
    Using the methods ...CREATE_EXIT1 or. ...CHANGE_EXIT1 of the BAdI
    BAPIEXT_BUS2001, BAPIEXT_BUS2002, and BAPIEXT_BUS2054, you can check the entered
    values (and/or carry out other checks).
    In the BAdI's second method, you can program that the data transferred to the
    BAPI is processed further (if you only want to transfer the fields of the CI
    includes, no more action is required here).
    But still i am unable to update fields though i am able to create WBS with rest of the fields except  custom fields.
    I am using attached code to achieve this.Do we need to code anything inside method create_exit1 or create_exit2 implementation for BADI or
    Please help on priority

    Hi Rahul,
    First observation from your code is that i could not find the assignment for the field
    GWA_WBS_EXTIN-STRUCTURE. I hope you are not filling this field, that could be one reason for failure. Try to do it and let us know if you still have the problem.
    Br..
    Dwaraka

  • Setting the runtime classpath

    Hi
    I have a beginner question regarding setting the java classpath.
    When I run a java command, I usually do a java -cp <jarfiles> <exe>. However, in my case, I am including up to 30 jar files. I am currently specifically defining the classpath, but I would like to have a more dynamic way to set the classpath. Is there a way to point to the folder and do a java -cp <foldername>/*.jar <exe>? I also have another problem with my jarfile folder, some of the jars are stored in separate folders(foo/myjar.jar, and foo/foo2/myjar.jar). Is there a way to set the classpath so that all I have to do is point to the foo folder? Also, copying my jars to the java.ext.dirs is not an option, since I am not an administrator on the box.
    Thanks.
    Joe

    I am getting this error when I try to run an install routine for an application that uses the JVM. I kept getting this error. Do you have any ideas. I am a newbie. I am running fedora, mozilla, and sun jsdk1.4.2_05.
    Thanks
    Mark Whitlock
    [root@localhost rapidwiz]# /tmp/RapidInstall/jre/Linux/1.1.8/bin/../lib/i686/green_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)
    Unable to initialize threads: cannot find class java/lang/Thread
    Could not create Java VM

  • A decent documentation for OWB 10g R2

    Hi All,
    Is there any place where there is a proper documentation of the above release? OWB 10g R1 has documentation in OTN site but is there any specific OWB 10g r2 documentation in OTN ??
    Regards
    -AP

    Hi,
    the level of the docs is not consistent: sometimes you'll find truly good explanations, in other places there is not more than a step by step description of trivial operations. But the real desaster is the Scripting manual. It looks generated by a machine and never formatted by a human being. The examples are poor. Each OMB script or expert is a new expedition to unknown places. You must be really good in guessing and trying. But it has one advantage. When your expert succeeds finally, you'll feel good and happy ...
    I hope that an expert will be found who will give us a more usable reference in order to promote this powerful tool.
    regards
    Thomas

  • Photoshop Elements 5,  camera raw documentation

    Hello,
    Is there a specific location to find documentation updates from one version of Camera Raw to another? I purchased a manual for PSE5 and the Camera Raw displays are for a version that is older then what I have(Camera Raw 3.7) installed. It is hard to follow with the fields not being the same. Also is there any big advantages to upgrade to a newer version of Camera Raw, say from 3.7 to 4.3.1?
    Thanks for any help
    Rob

    I have never used ACR with Photoshop Elements. I know that quite a few of the features are missing when compared with Photoshop. However, if you updated to ACR 4.3.1 I think you would have the clarity and vibrance controls that you don't have now. And there might be some other additions as well. I cannot tell you where to get more current documentation.

  • Question about classpath on startup

    Hello,
    I need a clarification about classpath value on Weblogic startup.
    I set "Class Path" value by Administration Console.
    When I start my Weblogic Server by "startWebLogic.sh" my classpath modification is not working. It need that just restart my server by Administration Console and it's working !!
    Can you help me about it ?
    Thanks (and sorry for my english...)

    Hi Julien,
    When we set "Class Path" value by Administration Console that would only be taken when you start the managed server using the node manger and not when you are using a star-up script.
    Hence when you start the managed server using the console it picks up the class path which is set on the Admin Console and when you start he server using the start-up script that would pick up the class path which is been set in the start-up script not the console one.
    Regards,
    Ravish Mody
    http://middlewaremagic.com/weblogic/
    Come, Join Us and Experience The Magic…

  • Specification Status in Header Specification Workbench Header

    Hi,
    In search screen of Specification Workbench (CG02) under Validity, what is the purpose/benefit of "Status"? There are four statuses: IP (In Process), FR (For Release), NC (Noncritical Change), and RE (Released).
    If no status is assigned when a new specification is created, what status is it assigned to by default?
    Can these statuses be used to drive workflow? i.e one person creating specification, at some point is it reviewed/finalized then set to Released status?
    Thank you for helping answering this question.
    Javed.

    Hello Javed
    Status on the level of the specification:
    this is a "new" feature introduced in EH&S 2.7. Using this feature you can generate workflows etc. In principle this status can help you (as a company) in the data maintenance process. This is done per "usage" (and other objects). The "Status" is integrated into the report generation process as well if you have done a proper set up of the generation variants in use.
    Like many of the EH&S "Status" there is a default "net" which can be enhanced by customer. Furthermore in doing so you need a good set up in the area of access rights later so that the process of maintenance is not disturbed.
    You will find some help in the documentation of SAP:
    http://help.sap.com/erp2005_ehp_04/helpdata/en/a7/286c740a6c11d28a220000e829fbbd/frameset.htm
    Topic "Specification Status" which is part of chapter Specification Management (EHS-BD-SPE).
    Here you will find additionally some help regarding the delivered status and the process
    - Change Not Permitted
    - Generation Not Permitted
    - Editing Specification Statuses 
    The SAP documentation is useful as a starter.  We have done some investigations in using the "status" in the past. But it is quite complex so we are not using this feature.
    With best regards
    C.B.

  • XI Error code...clarification

    <p>URL http://Hostname/XISOAPAdapter/MessageServlet call was terminated because the corresponding service is not available.
    The termination occurred in system Hostname with error code and for the reason Not found The selected virtual host was 0 .
    This was the error message returned when i sent a soap message to the XI server on our system.....Any SPECIFIC clarifications would be helpful
    Venkat

    Srihari,
    I did do that..the format is
    http://host:port/XISOAPAdapter/MessageServlet?channel=:BusinessSystem:CommunicationChannel
    That seems to be fine........Now what is the question
    Venkat

  • Finding Help with Classpaths

    Does anyone know a good source that does a good job of explaining classpath's?
    The reason I ask is that I notice that classpath misunderstandings seem to be the source of alot of problems addressed in these forums.
    My specific problem with classpaths is that my classpath's that I use in my ibm websphere test environment do not port seamlessly to my actual ibm websphere application server. It seems that the 2 environments have different standards with classpaths (ibm, go figure.), particularly with servlets and JSP files.
    It would nice if I could publish my servlets without having to change my java code to use different paths to find my servlets and JSP files.
    Thanks

    Thanks for the reply.
    Yes, my current websphere test environment is for 3.5. I understand about how J2EE is thereotically supposed to make life easier with it's .war and .ear file concepts. But I am horrified by how 4.0 does not support 3.5 applications. I can't imagine any business being required to go back and modified all existing 3.5 applications so they will run in 4.0.
    And what if all apps are brought to J2EE specs? Should we fear J3EE next? It is antiproductive to have to go back and change old applications with every new release of something.
    Oh well, enough rambling. . .

  • Documentation of BP transaction

    Hi All,
    Can any body send me the links for the Documentation of BP transaction??
    or mail me:[email protected]
    Regards,
    Arjun

    Hi Arjun,
    The BP is a huge topic. Can you be more specific on what BP documentation you are looking for?
    Thanks,
    Paul Kondaveeti

  • ContentDB 10.1.3.2.0 of WebCenter Suite and S2S Trusted Application error

    Hi ,
    Any one have tryed creating trusted s2s application entry in OID, using steps provided under contentdb devkit (cdb\doc\authentication.html) ?
    When I run ./runs2s.sh Permission denied even though I have updated jazn-data.xml file
    Then I have try running
    /home/oracle/cdb/jdk/bin/java -classpath /home/oracle/jk/cdb_bpel/cdb/lib/trusted-app-utility.jar:/home/oracle/cdb/jlib/repository.jar oracle.ifs.examples.s2s.TrustedApplicationUtility -create applicationInfo=/home/oracle/jk/cdb_bpel/cdb/conf/application.info
    got this error
    oracle.ias.repository.schema.SchemaException: oracle.ias.repository.schema.SchemaException: iAS Property could not be foundProperty Name OIDsslport in /home/oracle/cdb/config/ias.properties
    ias.properties file
    [ComponentConfig]
    Apache.LaunchSuccess=true
    J2EE.LaunchSuccess=true
    Portal.LaunchSuccess=true
    ContentDB.LaunchSuccess=true
    WebCenter.LaunchSuccess=false
    [InstallData]
    Version=10.1.3.2.0
    InstallType=contentdatabase
    Components=j2ee,apache,content database
    IASname=cdb.contentdb.sjrwmd.com
    InstanceNamesList=%InstanceNamesList%
    IASpassword=
    IASSvcpassword=
    UserName=oc4jadmin
    InfrastructureUse=false
    DatabaseManagedClusterSupport=false
    SSLOnly=%SSLOnly%
    VirtualHostName=contentdb.sjrwmd.com
    InfrastructureInstallOnRAC=%b_InfrastructureInstallOnRAC%
    OIDhost=%s_oidHost%
    OIDport=%s_oidPort%
    OIDSSLport=%s_oidSSLPort%
    OC4JAdminpassword=05491107c9440243e58219322b068c4dbd59dddff4c5575902
    [InfraStructureDatabase]
    InfrastructureDBCommonName=%s_infrastructureGlobalDBName%
    [EMConfigData]
    IMAdminSupported=%IMAdminSupported%
    IMServerLocConfigurable=%IMServerLocConfigurable%
    IMReposAdminSupported=%IMReposAdminSupported%
    CentralAdminSupported=%CentralAdminSupported%
    MRAdminSupported=%MRAdminSupported%
    FarmAdminSupported=%FarmAdminSupported%
    I can notice OIDSSLport and lower case OIDsslport in error output.
    Any idea to resolve this.
    Thanks,
    Jigar

    I have a similar problem on a similar environment (Win 2003/ 10.1.3.2.0/DB 10.2.0.1) installation of Webcenter Suite using Basic installation.
    I have tried creating the table spaces according to the specifications given in oracle documentation, yet the installer complained about the table spaces not having free space left (specially, the WORK_IFS tables space). I also tried giving spaces on average 15MB more then the suggested space for their datafiles, and it still complained about the table space issue.
    - When the configuration assistant fails, and you exit out of the Universal Installer, is there any option or way to just rerun the configuration assistant for content db again?
    - I see on the EM for WebCenter Suite that all the other components seem to install properly and are up and running yet there is no mention of Content DB. Nor there is any option to try to reconfigure it.
    - or do we have to uninstall the whole WCSuite, and/or the database 10201 too and then reinstall the software?
    Can someone please help in finding a way forward?
    thanks for your cooperation.
    AMN

  • How to do debugging in WebLogic from JDeveloper

    Hi All,
    We in our project are just starting to use JDeveloper instead of Visual Cafe with Weblogic as App. Server. However i am facing this problem while debugging an EJB deployed from JDeveloper 9i to Weblogic 6.1.
    On Clicking Debug|Debug <Project-name> brings up a dialog. After leaving the address field blank(Weblogic running on localhost, and as per your documentation, localhost is default) and port as 5000 (transport_dt_socket set as 5000), the following message comes:
    Debugger attempting to connect to remote process at LocalHost 5000.And it doesn't do anything more.
    Awaiting for your reply on this.
    regards,
    Hiamnshu

    Hi,
    The most important thing is that you need to ensure that WebLogic is start the Java command with debugging options. This is in the JDev documentation in the topic "Starting a Java Process in Debug Mode".
    If you have JSP's and servlets you have other steps as well. I have included the generic steps for any application server. We have plans to post a 'How to remote debug JSP's deployed on Weblogic' in the near future. Keep posted.
    1. You need to replace WebLogic's JSP engine with OJSP and you need to
    setup debugging parameters for OJSP. This is not specifically in the JDev documentation, but you may be able to apply the information found in the topic "Remote Debugging in OC4J".
    Here are some tips:
    A. You'll probably need to specify the following jars in some WebLogic config file. The jar files are all located in <jdev_install>/lib/
    xmlparserv2.jar
    ojc.jar
    jdev-rt.jar
    ojsp.jar
    ojsputil.jar
    B. Add these jar files to the VM's classpath
    C. The OJSP class name is oracle.jsp.runtimev2.JspServlet. You will need to specify this class where you configure your JSP engine information.
    D. You need to pass the following debug parameters. Again this is set up in the app server configuration file(s):
    debu[i]Long postings are being truncated to ~1 kB at this time.

  • How to download midlet in SDK from tomcat server on localhost

    how to download midlet OVER THE AIR in Java ME SDK 3 from tomcat server running on localhost
    THANKS!

    Hi,
    The most important thing is that you need to ensure that WebLogic is start the Java command with debugging options. This is in the JDev documentation in the topic "Starting a Java Process in Debug Mode".
    If you have JSP's and servlets you have other steps as well. I have included the generic steps for any application server. We have plans to post a 'How to remote debug JSP's deployed on Weblogic' in the near future. Keep posted.
    1. You need to replace WebLogic's JSP engine with OJSP and you need to
    setup debugging parameters for OJSP. This is not specifically in the JDev documentation, but you may be able to apply the information found in the topic "Remote Debugging in OC4J".
    Here are some tips:
    A. You'll probably need to specify the following jars in some WebLogic config file. The jar files are all located in <jdev_install>/lib/
    xmlparserv2.jar
    ojc.jar
    jdev-rt.jar
    ojsp.jar
    ojsputil.jar
    B. Add these jar files to the VM's classpath
    C. The OJSP class name is oracle.jsp.runtimev2.JspServlet. You will need to specify this class where you configure your JSP engine information.
    D. You need to pass the following debug parameters. Again this is set up in the app server configuration file(s):
    debu[i]Long postings are being truncated to ~1 kB at this time.

  • Sql Developer extensions

    Hi,
    I've just started writing sqlDev extensions. I've gone through Kris Rice's and Sue Harper's blogs which were very helpful on the same. I still have a couple of questions though.
    1.) Is it possible to have another panel alongside Connections (For e.g. the Reports Panel appears alongside the Connections Panel. I would like to have another Panel specifically for the extension I'm working on). If so, how do I achieve the same??? Till now I've seen how to add in menus or as a child within the Connections Pane or as a right-click option on an object on the connections Pane.
    2.) I'm having trouble understanding the extensions.xml. The hook structure seems confusing as I've gone through the samples and seen Jdeveloper hooks, menu hooks, feature hooks, etc... I have a vague idea on these but would like some clarification. Any documentation links for the same are also welcome.
    I apologize if the questions seem silly as I've just started out with extension development
    Regards,
    Leon.

    Thanks Kris for the quick reply. I did find a link for documentation on the extensions.xml and i'll go through that.
    I've gone through your blog articles on extending the navigator and extending the children nodes there. Is it possible to have a separate pane alongside the Connections Pane(like the Reports Pane) which would contain my nodes in a parent-child hierarchy???
    Regards,
    Leon.

  • ASA-SM flash storage options

    I've been trying to figure out which flash storage systems the ASA-SM can use for image and configuration management purposes. Of course I've checked the config guide (current is v8.5), the data sheet and the Q&A, yet it doesn't clearly answer specific qestions, like:
    The documentation speaks about disk0: and disk1:...What are the internal and external flash stores?
    How large is the internal flash store?
    Where's the external flash store located at? According to the pictures, there's no external flash module bay on the ASA-SM itself...right?
    Can one of the multiple addressable Cat6500 flash file systems be used as an external flash?
    In case it's OK to use a Cat6500 file system as a shared flash (imagine using multiple ASA-SMs), which one will be addressed by default? Is there a default at all, is it configurable?
    Thanks for any clarification
    Toni

    Dear Experts,
    I am using SUP2T with the following IOS, do i need to upgrade the FPD, how i will know that i need to upgrade
    the commands output are form the 6509 switch.
    sh run | in boot
    boot-start-marker
    boot system flash bootdisk:
    boot-end-marker
    diagnostic bootup level minimal
    dir from  the 6509 switch.
    Directory of bootdisk:/
        1  -rw-    33554432  Aug 14 2014 14:24:14 +04:00  sea_console.dat
        2  -rw-   113733048  Aug 14 2014 14:31:08 +04:00  s2t54-ipservicesk9-mz.SPA.151-2.SY2.bin
        3  -rw-    33554432  Aug 14 2014 14:26:52 +04:00  sea_log.dat
        4  -rw-       25832  Oct 31 2014 13:20:30 +04:00  startup-config.converted_vs-20141031-092028
    Still I have not installed ASA-SM in the switch the day of migration i will install the ASA-SM, how i will know that i have to upgrade the FPD ??? and what actually it is helping for ASA-SM ,??? i hope compatibility is perfect between 15.1 switch version and asa-sm 9.3.???
    I have a separate chassis (test scenario) with me i will upgrade the asa, and asdm image so i can upload the fpd image also if you experts give me confirmation for the fpd.
    S1#sh hw-module switch 1 all fpd
    % No cards with FPD support can be found in the indicated chassis or Not in VSS mode.
    Thanks

Maybe you are looking for

  • Andrew - one more doubt in the donsample.sql file,it is urgent

    Andrew, I believe you can answer this ,i hope i am not trying too much on your patience.Thanks .I am connected to the oracle server.In that i execute a procedure which i believe is executing on the oracle server.i supply arguments to it .The arguemen

  • Problem loading one SWF into another in Flash AS3

    I am trying to load an SWF file in another SWF file. The child SWF file works fine when run standalone like if I set visibility of an item to true or false, it works fine. But when the SWF is loaded into a parent SWF, I am not able to execute such co

  • Installing ipfilter 4.1.20

    i would like to install the latest version of ipfilter (4.1.20) for my solaris x86 is there any good tutorial for this?i tried to install the ipfilter and pfil but somehow i always stuck with this error kimak# pwd /export/home/lost+found/pfil kimak#

  • Sync Calendar entry from iPhone to custom application

    Hi, I am new to iPhone development. I made a screen for iPhone which is a calendar. I like to sync my iPhone native calendar entries with my calendar. I dont know how to do that. I need to know what APIs I have to use to sync iPhone calendar to my cu

  • Can Oracle 9i run in Windows 2008?

    Hi All, Can Oracle 9i run in Wondows Server 2008 environment? Thanks, Sam. Edited by: user6533646 on 2010年3月17日 上午12:08