Unable to set CLASS_PATH for j2ee.jar

Hello all,
I have a peculiar problem. I have included the j2ee.jar path in my XP Home Edition environment variable, but javac is unable to get packages from there. I have echo-ed the CLASS_PATH in DOS command prompt and it reports the correct path of j2ee.jar. What's amazing is that when I type the full javac command with -classpath option (javac -classpath ____/j2ee.jar *.java) everything compiles well. I am lost here. Does someone here has a solution to this?
Thanks for your help in advance.

With XP, I had the same problem even if I had CLASSPATH. AFter lot of headbreaking I realized my J2EE_HOME and JAVA_HOME were part of user variables in the environment. But CLASSPATH I defined in the System variables and CLASSPATH was set with %J2EE_HOME%\lib\j2ee.jar which was the culprit. Once I moved the J2EE_HOME from user variables to system variables ..lo behold ..it was working and I did not have to substitue the j2ee.jar on the command line.

Similar Messages

  • Need Netbeans *.jcs *.jcb for j2ee.jar and weblogic.jar

    Any one have *.jcs and *.jcb files for j2ee.jar and/or weblogic.jar.
    These files are used by Forte for autocomplete.
    When I try to create, the IDE runs out of memory and crashes.
    If anyone has it please email to [email protected]
    Thanks

    No, you don't need to put it in your classpath, but
    when you go to compile your code (this is via pure
    commandline), try this:
    set J2EE_HOME to the location where your J2EE SDK is
    installed.
    example:
    J2EE_HOME=c:\java\j2eesdk1.4
    Now, in the dir where your ejb files are:
    javac -classpath %J2EE_HOME%/lib/j2ee.jar *.javaI keep changing and testing my code; recompiling...
    Is there an easier way than type the 2 lines above each time I compile...?

  • I install IDES 4.7 in VMware, Why "unable to set time for file...."

    system     Windows2003
    database   Oracle 9
    disk space : C(50G)D(80G)E(40G)
    "Copying file C:/DOCUME1/ADMINI1/LOCALS~1/Temp/SAPinst/bootstrap_keydb.1.xml to: C:/SAPinst ORACLE SAPINST.
    INFO 2014-01-26 16:22:47
    Copying file C:/DOCUME1/ADMINI1/LOCALS~1/Temp/SAPinst/bootstrap_keydb.xml to: C:/SAPinst ORACLE SAPINST.
    INFO 2014-01-26 16:22:47
    Copying file C:/DOCUME1/ADMINI1/LOCALS~1/Temp/SAPinst/CONTROL.DTD to: C:/SAPinst ORACLE SAPINST.
    ERROR 2014-01-26 16:22:47
    FSL-02010  Unable to set time for file C:/SAPinst ORACLE SAPINST/CONTROL.DTD.
    ERROR 2014-01-26 16:22:47
    FJS-00012  Error when executing script."
    who can help me ..please.....

    Hello Matthew,
    You should also change your temp directory to something woth no spaces, something like C:\temp.
    Sapisnt sometimes has problems with the spaces in the temp path, and the Universal Installer nearly always
    has a problem with this.
    Regards,
    David

  • Unable to set Labelfield for child element  in List

    Hi All,
    Below is code I am trying to execute
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml" verticalGap="0" xmlns:local="*" height="500" creationComplete="init()" >
    <mx:Script>
    <![CDATA[
    private var arr:Array = [{ firstName: "Alex", children:{lastName: "Abc"}}] 
    private function init():void{list.dataProvider=arr;
    ]]>
    </mx:Script>
    <mx:List variableRowHeight="true" wordWrap="
    true" id="list" labelField="
    chidren.lastName" /></mx:Application>
    I basically want to access the children.lastName on my List. Please let me know how exactly can I do it.

A: Unable to set Labelfield for child element  in List

labelFunction is the best way to do this. The attached code also shows how to do it with an itemRenderer, though that would not be as efficient.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
  xmlns:mx="http://www.adobe.com/2006/mxml"
  layout="horizontal"
  creationComplete="init()" >
  <mx:Script>
    <![CDATA[
      private var arr:Array = [{ firstName: "Alex", children:{lastName: "Abc"}}]
      private function init():void{
        list1.dataProvider=arr;
        list2.dataProvider=arr;
      private function createLabels(item:Object):String{
        return item.children.lastName;
    ]]>
  </mx:Script>
  <mx:List variableRowHeight="true"
    wordWrap="true" id="list1">
    <mx:itemRenderer>
      <mx:Component>
        <mx:Label text="{data.children.lastName}"/>
      </mx:Component>
    </mx:itemRenderer>
  </mx:List>
  <mx:List variableRowHeight="true"
    wordWrap="true" id="list2"
    labelFunction="createLabels"/>
</mx:Application>
If this post answers your question or helps, please mark it as such. Thanks!
http://www.stardustsystems.com
Adobe Flex Development and Support Services

labelFunction is the best way to do this. The attached code also shows how to do it with an itemRenderer, though that would not be as efficient.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
  xmlns:mx="http://www.adobe.com/2006/mxml"
  layout="horizontal"
  creationComplete="init()" >
  <mx:Script>
    <![CDATA[
      private var arr:Array = [{ firstName: "Alex", children:{lastName: "Abc"}}]
      private function init():void{
        list1.dataProvider=arr;
        list2.dataProvider=arr;
      private function createLabels(item:Object):String{
        return item.children.lastName;
    ]]>
  </mx:Script>
  <mx:List variableRowHeight="true"
    wordWrap="true" id="list1">
    <mx:itemRenderer>
      <mx:Component>
        <mx:Label text="{data.children.lastName}"/>
      </mx:Component>
    </mx:itemRenderer>
  </mx:List>
  <mx:List variableRowHeight="true"
    wordWrap="true" id="list2"
    labelFunction="createLabels"/>
</mx:Application>
If this post answers your question or helps, please mark it as such. Thanks!
http://www.stardustsystems.com
Adobe Flex Development and Support Services

  • EIS error -  "Unable to set locale for GlobalC"

    Hello all!
    I'm working with Oracle Performance Scorecard and Oracle Integration Services to generate an Essbase cube. I'm not able no generate my cube from HPS even it doesn't showing any error in the screen but in the HPS log it shows the error message "Unable to set locale for GlobalC". So, i've noticed that the problem isn't with HPS, but EIS. I decided start the EIS shell (olapicmd.exe) and the same error message was showed in the cmd prompt. Could anyone help with this issue?
    Regards,
    Rafael

    Hello!
    I've opened a SR on Oracle support. They said that EIS doesn't work on 64 bits machine
    At.
    Rafael

  • Please help: unable to set preferences for planning from workspace.

    Hi Experts,
    unable to set preferences for planning from workspace.(file--->preferences----->planning), when doing this task prompts " An Error occured" preferences works fine with other components IR, FR, WEB ANALYSIS.problem is only with the planning.
    1) i restarted the workspace and planning services but even then the same issue.
    Please help me out on this issue.
    Thanks.

    Hi,
    Do you get the same problem if you access planning directly ? http://<planningmachine>:8300/HyperionPlanning/
    Just trying to understand if it related directly to planning and maybe you will get a different error message.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Unable to set count for Select Query for BizTalk SQL receive port

    Hi All,
    Iam using BizTalk server 2009 classic SLQ adapter (using XML clause)for my integration to pull records from DB in to my application.
    As per the DB values iam unable to set the record count as this started giving me error below (first it worked for 820 records with select Query.and then 400 and going down with respect to multiple runs).Kindly help .
    Thanks in advance.

    Hi Abhishek,
    iam still getting the same error for 1000 records.
    after turning off PreserveBOM aswell in send pipeline.
    There was a failure executing the receive pipeline: "Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "Pipeline " Receive Port:
    "SQLPort" URI: "SQL://XXXXX/OneC_DB/" Reason: An error occurred when parsing the incoming document: "'
    ', hexadecimal value 0x0B, is an invalid character. Line 188, position 3944.". 

  • SMLets Beta 3: Unable to set DateTime for DateTime property using SetSCSMObject

    Hello,
    I need to set dateTime for my custom fields for Incidents. I wanted to use Set-SCSMObject for that. But it doesn't work. For other field types it is working fine.
    May be I'm doing something wrong, but I don't see it. It would be great if anybody is able to help.
    This is the command I'm trying to run: (I used CreatedDate for my tests)
    Get-SCSMObject -Class (Get-SCSMClass System.WorkItem.Incident$) -Filter "ID -eq IR495" | Set-SCSMObje
    ct -Property CreatedDate -Value [datetime]"06/08/2011 14:08"
    Set-SCSMObject : String was not recognized as a valid DateTime.
    At line:1 char:104
    + Get-SCSMObject -Class (Get-SCSMClass System.WorkItem.Incident$) -Filter "ID -eq IR495" | Set-SCSMObject <<<<  -Proper
    ty CreatedDate -Value [datetime]"06/08/2011 14:08"
        + CategoryInfo          : ObjectNotFound: ([datetime]06/08/2011 14:08:String) [Set-SCSMObject], FormatException
        + FullyQualifiedErrorId : Could not assign date ,SMLets.SetSMObjectCommand
    Thank you
    Oliver

    Hello,
    You must temporary change locale in your script.
    In begin of script you must change locale in "En-Us":
    $OldCulture = [System.Threading.Thread]::CurrentThread.CurrentCulture
    $OldUICulture = [System.Threading.Thread]::CurrentThread.CurrentUICulture
    $culture = New-Object System.Globalization.CultureInfo("en-US")
    [System.Threading.Thread]::CurrentThread.CurrentCulture = $culture
    [System.Threading.Thread]::CurrentThread.CurrentUICulture = $culture
    And return locale after script body:
    [System.Threading.Thread]::CurrentThread.CurrentCulture = $OldCulture
    [System.Threading.Thread]::CurrentThread.CurrentUICulture = $OldUICulture
    This has solved my issue.  You have no idea how much this has made my day.
    I'm in Australia trying to update/create/close incidents to a canadian server.  Nothing else has worked so far, except this.  The rest of the support/forums on this issue have been crap to say the least.
    It would be nice if MS mainlined the SMLets into SCSM and start actually making their product useful

  • Unable to set parameters for "Act as Prox" in OBI11g

    Hi Gurus,
    following Mark Rittman's blog I was able to set parameters and I could use this feature in OBI10g.
    However, in OBI 11g I was not able.
    1. In the init block of Proxyblock I am not able to add SET_RUNAS to Execution Precedence
    The Add button is inactive.
    2. In the init block of Proxylevel I am not able to add Proxyblock to Execution Precedence .
    Only the SET_RUNAS available.
    What to do?
    Any ideas and help are appreciated!
    Thanks
    Laszlo

    Hi Laszlo,
    Check this,
    Re: Unable to select Connection pool when creating init block for current_month
    Regards,
    Dpka

  • Unable to set status for subscreen

    Dear Experts,
    In my subscreen, I want to set the fct code for enter.
    I am not able to set the status so that i can provide the fct code under the standard function keys.
    In my subscreen I have a list of input screen fields, when i enter the first input field and press enter i want to move to the next field.
    Please provide me an alternative so that i can set the status and write the relavant code using set/get cursors.
    Thanks and Regards,
    Kawish.

    hi Kawish
    You only need set a status for main screen at the output event. In this status, you need assign a function code to 'Function Keys'-> this first function button, it`s 'Enter'. you can debug to see it.
    the PAI event of subscreen also will response this function code, then you can control your cursor in PBO, blow code is module of subscreen:
       module status_0101 output.
    *  SET PF-STATUS 'xxxxxxxx'.
    *  SET TITLEBAR 'xxx'.
       set cursor field 'LGORT'.
       if lv_flag eq 'X'.
       set cursor field 'WERKS'.
       endif.
    endmodule.                 " STATUS_0101  OUTPUT
    *&      Module  USER_COMMAND_0101  INPUT
    *       text
    module user_command_0101 input.
       case sy-ucomm.
         when '&ENTER'.
           lv_flag = 'X'.
       endcase.
    endmodule.                 " USER_COMMAND_0101  INPUT
    hope can help you.
    regards,
    Archer

  • Unable to set ringtone for each contact

    After upgrade to the 5.1.1 iOS I was not able to set individual ringtone to each of contact anymore.
    All my contacts are using the same default ringtone when ever anyone calls.
    When I go into contact and hit edit I can see the different ringtone already setup for each contact and when I click it I can hear it play just fine. Then I exit and went back to main screen and try to call the phone and it still using the default ringtone.
    Any idea how did this happen or how to fix it? I am trying not to reset the phone.
    Thanks

    When you call your phone from another, is your iPhone picking up the caller ID that is in your Contacts, or does the incoming call just have a number (or maybe "unavailable")?
    Also, there should be no harm in Resetting your iPhone, that is not the same as Restoring it (even if you did Restore it, you could back it up first and re-load the backup as long as your Contacts and Camera Roll are backed up somewhere).

  • Unable to set permissions for archiving

    Using G5 iMac, OS 10.4.11 with iDVD 6. I have followed the instructions 1 thru 3 in help for setting permissions to archive a dvd project without any problem. However the last instruction is "Click Apply to enclosed items". I can not find anywhere to do this. Any help will be greatly appreciated. Regards from Ireland.

    You are right. There is no place to "click apply to enclosed items". Just ignore that instruction, as it seems to be unnecessary. You already set your permissions by doing steps 1-3.

  • Unable to set tooltip for item (sap.ui.core.Item)

    sap.ui.core.Item does not have the property 'tooltip'. But it borrows 'tooltip' property and setTooltip( ), getTooltip( ) methods from sap.ui.core.Element.
    Still, if I set the tooltip for item, it is not reflected. What might be wrong?
    Consider the following piece of code for example:
    var item = new sap.ui.core.Item({text:'Item'});
      item.setTooltip('tooltip');
      var oCollection = new sap.ui.ux3.Collection({ items: item
      var oCollectionInspector = new sap.ui.ux3.CollectionInspector({
      'fitParent' : false,
      'collections' : [
      new sap.ui.ux3.Collection({
      'title' : 'My Accounts',
      'items' : [ item]
      oCollectionInspector.placeAt('content');

    Tooltip is applied on the Item, but it seems Collection Inspector set its own tooltip for the Item. You can do something like this to set your own tooltip,
    var item = new sap.ui.core.Item("myItem",{text:'Item'});
    var oCollectionInspector = new sap.ui.ux3.CollectionInspector({
      'fitParent' : false,
      'collections' : [
      new sap.ui.ux3.Collection({
      'title' : 'My Accounts',
      'items' : [ item]
      oCollectionInspector.placeAt('content');
      oCollectionInspector.onAfterRendering = function(){
           sap.ui.ux3.CollectionInspector.prototype.onAfterRendering.apply(this,arguments);
           $('#myItem').attr('title','My Tooltip');

  • Unable to set signature for different accounts

    I have a client site where all users have an email address at two different accounts, the same two for all users. All users have a signature setup in Outlook for each email account.
    For all users except one, when they select the Inbox for account A and select New Email, they get the signature for account A; and when they select the Inbox for account B and select New Email, they get the signature for account B.
    But there is one user who gets the signature for account A no matter whether she creates a new email after selecting the Inbox for account A or account B.
    I've looked at her signature setup in Options in Outlook and it's set correctly. She has two signatures and each is assigned to the appropriate account and New messages and Replies/forwards are both set to the appropriate account.
    I myself have Outlook setup with multiple accounts and each account has its own signature and when I select any particular Inbox and create a new email, the appropriate signature is added.
    Any ideas as to why it keeps defaulting to the signature of one account no matter which Inbox she chooses to create a new email from?
    Jonathan

    Thanks for your reply. She is using Office 2007. I read what is at the link you provided and unfortunately it wasn't any help.
    It says for Outlook 2007 to ensure a signature is set for the default email account. She had a signature set for her original account which is an Exchange one and is the default.
    She recently added a second account, which is an IMAP one, and created a signature for it but when she creates an email to be sent out from her new account, the signature in the new email is that of the default account, not the new one, even though Outlook
    options is set up correctly so new emails and replies/forwards from the new account are supposed to use its signature.
    I tried Outlook in Safe Mode and it was no different.
    One other thing is that when she opens the New Mail window there is an Account button right below the Send button. If she changes to the second account, the signature changes and this is how she is sending out email from the second account.
    But everyone else in the office does not have to do this. With everyone else, if they first select the Inbox of the second account, then open a New Mail window, the signature is that of the second account. This is how it works on my computer where I have
    multiple accounts.
    So for some reason it's like Outlook is not detecting that she has selected the Inbox of the second account before opening New Mail. Or else it does detect it and is still defaulting to the primary account. This is what I'm trying to fix.
    Jonathan

  • Unable to set max for cookie

    hai <br>
    actually i am working on java ee6 web application i tried to set value and max age for the cookie...but i was uanble to set maxage what ever the max age value i give .it shows as -1.but my browser accepts and stores cookie.<br><br>
    <i>
    Cookie sa=new Cookie("ssample", "welcome");
    sa.setMaxAge(120);
    response.addCookie(sa);
    "</i>

    A maxage of -1 indicates that its a browser cookie i.e. the cookie lasts as long as the browser which is usually the preferred approach for sessions. You have a bug somewhere in your code or the application server has some settings which kicks in when the response is sent.

  • Maybe you are looking for