Diferences between the java options -classpath and -Xbootclasspath

I have created several jar files containing my own clases using the j2skd 1.4.0
I am not understand the diferences between the following options:
1) Copying this files into the path .../j2re1.4.0/lib/ext/
2) Using the java option -Xbootclasspath/a
3) Using the java option -classpath
Options 1 and 2 works fine for using the clases on my jar files but I don�t understand why the option 3 is not working.
About my clases:
a) All are contained on a package example cvm.util
b) The class files that refers to this uses the directive:
"import cmv.util;"
c) Non of them replaces any original java class
Any suggestions?

The following command:
java -cp c:\Work\java\Smartt\cvutil.jar;c:\Work\java\Smartt\stutil.jar -jar C:\work\java\smartt\STServer.jar SAPMOVS.STR PRE
Generates:
Exception in thread "main" java.lang.NoClassDefFoundError: cvm/st/ST
at STServer.<init>(STServer.java:66)
at STServer.main(STServer.java:56)
But if I replace the -cp option for -Xbootclasspath/a:
java -Xbootclasspath/a:c:\Work\java\Smartt\cvutil.jar;c:\Work\java\Smartt\stutil.jar -jar C:\work\java\smartt\STServer.jar SAPMOVS.STR PRE
It works fine!!
or if I copy the two jar files into the ../lib/ext path
Then it also works pefect!
Thanks in advance

Similar Messages

  • How is the interface between the Java Stack and ABAP stack is achieved?

    How is the interface between the Java Stack and ABAP stack is achieved?..Please send me the answer to [email protected]

    Hi,
    By interface, I assume you mean the connection between the ABAP and the Java stacks in a double stack system.
    The connection from Java to ABAP is through JCo connections defined in the WebDynpro section of the J2EE start page. So Java to ABAP requests are processed through JCo.
    The connection from ABAP to Java is through RFC connections defined in TA SM59. The ABAP to Java requests are processed through RFC.
    Refer https://dsd.esco-salt.com/StartPage/documents/integration/3.html for detailed explanation.
    The UME can be maintained in either ABAP or in JAVA depending on the persistence.
    Refer: http://help.sap.com/saphelp_nw70/helpdata/en/5b/5d2706ebc04e4d98036f2e1dcfd47d/frameset.htm
    Check UME data source configuration.
    Some quick FAQs can be found at:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad47eb90-0201-0010-7cb2-ddfa5ed879ec
    Hope this helps.
    Best Regards,
    Srividya.R

  • Communication between the DNS/DHCP Manager and OES Server

    No communication between the DNS/DHCP Manager Console and OES server (status,start,stop)
    The screenshot shows the tab "DHCP (OES Linux)" in the DNS / DHCP Manager console
    in the bottom of the image it shows the state of the DHCP servers.
    allDHCP.JPG
    The dhcp service is started on all these servers
    You can see that the status is known only for four servers.
    The button "start/stop DHCP service" works fine on this servers and
    the dhcp service can be canceled and also restarted
    But the status of the "dhcp service" is not recognized for all the other DHCP servers
    and so we can not start or stop dhcp service on these servers.
    All servers were installed at different times (last three years) with OES11 and
    are upgraded to OES11SP2 with all patches.
    The server keto (DHCP_keto) is a new installation OES11SP2 few days ago.
    All OES servers were set up identically from me. LDAP, LUM, DMS, DHCP works fine.
    Which service on the OES server is responsible for
    communication (status indicator) between the DNS/DHCP Manager and the OES serve?
    How the status query is performed by the DNS/DHCP Manager?
    How can I test the communication to the server on the client (console)?
    Which configurationfiles I should be compare on the server?
    Thanks in advance
    Gernot

    gernot,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://www.novell.com/support and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Forums Team
    http://forums.novell.com

  • What is the difference between the normal function module and bapi function

    hi,
    what is the difference between the normal function module and bapi function module.

    Hi
    BAPI stands for Business API(Application Program Interface).
    A BAPI is remotely enabled function module ie it can be invoked from remote programs like standalone JAVA programs, web interface etc..
    You can make your function module remotely enabled in attributes of Function module but
    A BAPI are standard SAP function modules provided by SAP for remote access. Also they are part of Businees Objest Repository(BOR).
    BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA. in this case u only specify the business object and its method from external system in BAPI there is no direct system call. while RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.
    Regards
    Anji

  • Between the Blackberry Curve 3G and the Bold 9700

    I am confused between the Blackberry Curve 3G and the Bold 9700. Please guide me with the difference in features,options,performance,display.... which one is advisable...

    The 9700 has 3g
    9700 has a better camera and a flash
    9700 has GPS
    http://na.blackberry.com/devices/compare/
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Differance between the Cost based costing and Account based costing

    Hi,
    What is the Differance between the Cost Based Costing and Account Based Costing ?

    You can check sap note 69384
    COSTING-BASED PROFITABILITY ACCOUNT-BASED PROFITABILITY
    ANALYSIS ANALYSIS
    OBJECTIVE
    o profitability and sales accounting
    o evaluation of market segments (for example,
    customers, product groups, sales areas) and corporate
    units (for example, division, sales organization) with
    regard to their profit or contribution margins
    o calculation of profits procedures
    - cost-of-sales accounting
    - interim and reconciled sales report
    - periodic and transaction-based allocation
    - Profitability Analysis on the basis of full and
    direct costs
    o posted and costing-based values o account-based values
    o can be reconciled with FI for o always reconciled with
    account groups (revenues, sales FI on account level
    deductions, costs of goods
    Note 69384 - Information: Account-based Profitability Analysis
    manufactured, and so on)
    DATA STRUCTURES
    o definition of operating concerns o definition of operating
    with fixed characteristics and concerns with fixed and useruser-
    defined characteristics defined characteristics
    and value fields
    o cumulative storage by posting o cumulative storage by
    periods and weeks posting periods
    o storage in operating concern o controlling area currency,
    currency (as of Release 4.0 also company code currency
    optional in company code currency and transaction currency
    if req.)
    o user-definable summarization levels
    FUNCTIONS
    o transfer of profit relevant o transfer of profit-relevant
    business transactions from SD, FI activities from SD, FI, CO, MM
    CO, MM (revenues, sales deductions (revenues, sales deductions and
    and costs organized by value fields) costs organized by accounts)
    o Derivation of characteristics from master
    data or using derivation rules
    o Realignments also for data that is already
    posted
    o Valuation
    (Costs of goods manufactured, imputed
    costs and sales deductions)
    o sales and profit planning o profit planning
    - flexible layout - flexible layout
    - periodic distribution - periodic distribution
    - valuation, revaluation - forecast procedure
    - forecast procedure - top-down distribution
    - top-down distribution - simulation
    - simulation
    o profit analysis by means of 'interactive drill-down
    reporting'
    - Report Painter
    - object list/ranking lists, database schema
    - drill-down
    - key figure systems
    - flexible hierarchies
    - navigation between reports
    - exception reporting
    - ABC analyses
    - Exporting (Excel, Winword, Mail)

  • Keyboard-shortcut to toggle between the shutdown options?

    Is there a keyboard-shortcut to toggle between the shutdown options? On SnowLeopard control-option-command-eject does the trick to shutdown (Mac@work), but on Moutain Lion it switches me to the loginscreen.
    I found that the shortcut in ML is control-eject (with a popup), but haven't found how to switch between the button's on the popup.
    The popup suggests restart - go to sleep - cancel - shutdown.
    Spacebar does nothing.
    thx in advance,
    Applecompot

    in reply to my own:
    Found it 'Full keyboard access' turned off in my systempreferences.
    Tab and shift-tap.
    Anyway thanks if you did read the discussion and was looking for an answer.

  • Difference between the two modes ws_policy and sap_wsdl

    Dear All,
    what is the difference between the two modes ws_policy and sap_wsdl and how do we set them and where do we set them.
    do let me know the steps to be followed.
    Thanks & Regards
    Venugopal

    Venu,
    Please check this document from Bill where he has explained clearly:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c00ca32e-f991-2b10-f5be-97114bd2b08f?overridelayout=true
    Regards,
    ---Satish

  • Differences between the Horizon 2, A740 and A730?

    Hey guys, I was thinking of buying a Dell 27 inch pc when I found some Lenovo Ideacenter pcs on youtube. They look much sleeker, and I want to get one in June or July.
    Think is, I don't know which one to settle on. I know I want a all in one 1440p tv with a powerful processor to do a lot of movie viewing, and amatuer music making and video editing on FL Studio, Adobe Audition, and Sony Vegas. 
    So right now I'm thinking between the recently announced A740 and Horizon 2 (and the old A730 if push comes to shove). I don't know what the major differences between them spec and feature wise are. Like which would be better to have a bunch of programs open, snappier to use, boots quickly, etc.

    A740 is the latest version of A7x0 series machine, it is the replacement for A730. Horizon series has a built in battery for portability. These are the major differences.
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • Differences between the FMs of SAVE_TEXT and CREATE_TEXT.

    Hi Experts,
    Let me know that, the differences between the FMs of SAVE_TEXT and CREATE_TEXT.
    Like, Wht Wht scenarioes demand each FM?
    Which is best one, if both perform same functionality.
    replies appreciated.
    thanq

    CREATE_TEXT is used to create a new Text. It uses the SAVE_TEXT inside it.
    SAVE_TEXT is used to update the existing text.
    Regards,
    Naimesh Patel

  • Differences between the Portal Data Collector and the Activity Data Collect

    Hello,
    I want to know what are the differences between the Portal Data Collector and the Activity Data Collector?
    Best Regards.
    Pablo Mortera.

    All of my SQL Server instances  are sql server 2008r2 standard edition(10.50.2500). MDW is existing database, I try to setup collection sets for multiple instances and store data in one central MDW database 
    I create MDW in one instance, then run run configure Management Data Warehouse in target intance. collection sets were created successfully, but job failed with following error:
    Executed as user: COCAD\INTDEPT01SQLAgentC10. The Management Data Warehouse version "00.00.0000.00" is not supported by the current data collector. Please upgrade the Management Data Warehouse by running the Management Data Warehouse Configuration
    Wizard.  Process Exit Code 5.  The step failed.
    Thanks
    PAULqaz

  • Differences Between The Asus P67 EVO And Pro?

    Anyone know of the differences between the Asus P67 EVO and the Pro?
    I want to buy an Asus P67 Pro Motherboard today, but there are only 2 left at Fry's and they are both open-box returns and the other Fry's has only 6 left and ALL are open-box returns.  So I'm thinking there may be an issue with the Pro's?
    Is the EVO just as good?
    On the Asus site specs, it seems the only differences are:
    (and I'm not sure what any of the following means)
    -On the Pro, the PCIe x16-3 slot shares bandwidth with the ESATA12
    -On the EVO, the PCIe x16-3 slot shares bandwidth with the ESATA3G and the PESATA3G
    -The EVO has dual LAN's
    -The EVO has a CMOS Switch
    -The Pro has the "System Panel" Q-Connector
    Adobe seems to be heading towards allowing 2 video cards.
    Would the EVO limit me if this happens?
    I notice there's only one EVO on the PPBM5 site in the upper realms (Novak). 
    There seems to be more Pro's.
    I don't plan on doing huge overclocking, maybe minor.
    Components to be used:
    -i7 2600K
    -Corsair Vengeance 16GB
    -Corsair AX 850 Watt Gold
    -EVGA GTX 460 1GB Superclocked
    -OCZ Agility 3 SSD 120GB
    -Seagate Barracuda 3GB Storage
    -Seagate Barracuda 1GB for Exports, Page File, Previews, Media Cache
    -Seagate Barracuda 3GB Storage in  Acomdata Samba External Enclosure for Backup
    -WD My Book 3GB External for Another Backup
    Any help would be appreciated.
    Thanks Guys.

    addiZ wrote:
    I'm going to use my MacBook mainly for gaming and editing videos
    Don't get the 13".  It only has an integrated video card.  Both the 15" and 17" models have an integrated as well as a dedicated video card.

  • Java execution failed.  Please check the Java Option in the option dialog.

    I recently installed BI Publisher MS Word Add-In.
    After installing I get the error "Java execution failed. Please check the Java Option in the option dialog" when trying to preview a template in (pdf, word, excel...).
    I tried changing a java parameter as suggested by the following thread but it did not get past the error.
    Java execution failed.  Please check the Java Option in the option dialog.
    Here are my settings to the Word Add-In under "Oracle Bi Publisher > Options... > Preview (tab)
    Java Home = C:\Program Files\Java\jre6
    Java Option = -Xmx512M
    Any help would be appreciated.
    Todd

    Is there a log I can see more about this Java error? I've looked for a log but can't see one.
    TIA,
    Todd

  • HT1338 There is a lot of talk about the Java security issues and the ability to download a patch fix, do i need to do this or will software update pick this up for me?

    There is a lot of talk about the Java security issues and the ability to download an apple patch fix, do i need to do this or will software update pick this up for me?

    Thanks for that, how do I establish if I have Java installed as on Safari preferences it indicates the following
    Web content - Enable Java
                        - Enable JavaScript

  • What is the difference between the 4th generation ipad and the ipad 3 with retnia display?

    What is the difference between the 4th generation iPad and the "New iPad with retina display"? i don't quite understand. are they stilll the same size or would i have to get a different case?

    The 3rd and 4th generation iPads are the same size. The 4 has a faster processor, and a little better iSight camera for FaceTime. The 4 also has the lightning connector so your old cable will not work with the iPad 4.
    You should always check with the manufacturer of the case to see if it will fit. You can probably do that on the manufacturers website.
    This might be of some interest to you.
    http://www.zdnet.com/ipad-4-teardown-pretty-much-the-same-as-the-ipad-3-70000068 33/

Maybe you are looking for