Using the command "java" with DOS

Hey, until yesterday, I was able to simply use the commands "java, or javac" to run, or compile java in DOS. But now for some reason I can't use these commands. I have to use the full addresses of the java and javac.exe files. How can I fix this? Do I have to be in the \bin folder to use these with the command name only? It's a pain to store my files in the bin folder. Any help would be appreciated.

See here: http://java.sun.com/j2se/1.4/install-windows.html#Environment

Similar Messages

  • Using the command line with DESKI to run a specific module in a report

    I'm using BOXI R2 Desktop edition in a Windows Environment.
    I have a report with a macro inserted in it which is composed of several sub-modules. 
    I know I can launch the report from the command line as follows: "C:\PROGRAM FILES\BUSINESS OBJECTS\BUSINESSOBJECTS\BUSOBJ.EXE" -user "USERID" -pass "PSWD" "Directory and Filename" -keyfile "Keyfilename" -nologo
    What I want to know is can I launch the report from the command line and call a specific module.  So if I have 5 modules in a single report, can I just call 1 from the command line?
    How would that be formatted?
    Thanks in advance.

    There's some more stuff to be done to correctly call external executables.
    Read [When Runtime.exec() wont|http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html], it shows some of the pitfalls of Runtime.exec().
    Edit: there's also JRuby, which might be worth a try.

  • How to use the command key with shortcuts/CS6?

    Since ID2 I  am using the combination Command+Escape to define a shortcut.
    Buy this time Escape could not be tagged.
    I was trying to remember if those years ago I modified escape key in some place (system preferences/keyboard) but neither could find a path to reconstruct this.
    Also check the escape key in other shorcuts to avoid problem but no way.
    Searched the forum but could not find something helpful
    http://forums.adobe.com/message/2977659

    [Jongware] wrote:
    I guess that makes it an InDesign problem ...
    Searching yesterday found it is an old topic, but not related to Adobe but to Apple: including thriller plots like that they are preserving the combination command+escape for future projects...
    https://discussions.apple.com/thread/3438952?start=0&tstart=0
    https://discussions.apple.com/thread/3569274?start=0&tstart=0
    Also it has been resolved by programmers with very interesting formulae like the «Escape Key Liberator» (sic):
    http://manytricks.com/blog/?p=1664
    In my situation it was enough to reset the Apple Keyboard shortcuts...
    Thank for your reply.

  • My file names have disappeared in grid view. Thery have been replaced with a dark bar along the bottom of the previews. If I toggle using the command u it hide the bar but I still can't see the file name. In list view all the file names are OK.

    My file names have disappeared in grid view. Thery have been replaced with a dark bar along the bottom of the previews. If I toggle using the command u it hide the bar but I still can't see the file name. In list view all the file names are OK.

    The dark bar is caused by the option "Show metadata below image".
    Check the settings for the metadata overlays in Grid view (basic and expanded) by clicking the little "badge" icon below the Browser and selecting "Edit". Is the filename still enabled in the list? And in a high enough position to have precedence for other metadata tags, if the space does not suffice to show all selected tags?
    Regards
    Léonie

  • Need to figure out how to remove an unknown admin password on a mac.  used the install disc with not luck. tried some commands in single user mode, no luck.

    need to figure out how to remove an unknown admin password on a mac.
    used the install disc with not luck. tried some commands in single user mode, no luck.

    need to figure out how to remove an unknown admin password on a mac.
    used the install disc with not luck. tried some commands in single user mode, no luck.

  • Problem with HowTo guide - Use the BI Java SDK in a Web Dynpro Application

    Hello,
    I am following the HowTo guide - Use the BI Java SDK in a Web Dynpro Application
    at <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e49be590-0201-0010-0c83-fc20e5da124f">this link</a>.
    I have configured the connector on the WAS as needed.
    The problem is that when I run the application I receive an Unauthorized error on the connector URL.
    If I open this URL on a browser I receive a pop-up for UID and PWD and when I enter the same UID and PWD I used to configure the connector I am able to login and see the WSDL.
    Any ideas?

    I've never tried using BI in WebDynpro !!!
    But i foond one posting on the connection problem https://forums.sdn.sap.com/click.jspa?searchID=955524&messageID=2133396
    Regards,Anilkumar

  • I want to re-install OSX using the command with R on restart does not get me to the Mac Utilities page

    I have a re-furbished Mac Book 2011. It's version 10.8.5. Processor - 2.4 GHz Intel Core 2 Duo. Memory - 4 GB 1067 MHz DDR3. Startup disk - Mac HD.
    I want to do a complete re-install of the operating system.
    I have followed the instructions in the online manual to go to the Mac OS X utilities screen so I can do a re-install.
    I have held the Command key with the R key when the grey screen comes on during a restart.
    The only thing I get is the desktop screen but no Utilities screen.
    Help.
    Thanks.

    That MacBook came with 10.6.7 originally. It should have Snow Leopard install DVD to do what you.
    It is too old to have the Recovery Partition on it.
    If you did get the DVD when you purchased it you can call Apple and request a replacement. They will charge you a nominal fee for shipping and handling.

  • Can't change activation only mode to off using the command line in Windows 7 64 bit

    I used the command line to turn activation only mode on and now when I use teh command to turn it off it will not change the iTunes setup. I am on Windows 7 64 bit. I tried uninstalling itunes and reinstalling and it is stillin activation only mode.

    Hi! Thx for your quick reply! I am still unsure what to do tho---see my questions below in bold:
    Windows 7 comes with its own version of the standard PostScript driver. = Where is this driver? I have no idea how to find it, it doesn't show up in my Printer menu in FM?
    Given that PostScript generated by a driver can be highly device-specific, you need to install the driver as modified by the PPD file for the device in question. Most printer manufacturers in fact provide a PostScript driver installer that associates their printer's PPD file with the standard Windows Printer driver and subsequently creates what is called a PostScript printer driver instance for the particular device on the I/O port you designate. = ??? I've only updated a PPD file for watermarks and have no idea what this means...is there a step-by-step instruction for this? I just need to download a PS driver to select that works & doesn't freeze up my FM when creating a .ps file.
    The real question thus is exactly what are you trying to generate PostScript for? = I create a PS, & then use Distiller to create a PDF. This enables me to have a PDF that automatically has Bookmarks, the TOC/LOF/LOT & all corss-refs are hyperlinked, etc.
    If you are trying to create PostScript for distillation into PDF, Acrobat installs a PostScript driver instance of its own, labelled Adobe PDF, that is associated with the Acrobat Distiller PPD. = I have tried the Adobe PDF selection from my Printer menu in FM, but it freezes up FM and I have to close the whole program & no PDF generates.
    BTW, although you may be successful in installing and running FrameMaker 8 on Windows 7, in fact Adobe officially does not support FrameMaker 8 on Windows 7. = I don't know what to say---the upgrade is too expensive for some of us folks out here right now, so we all need to work with what we have for now!
    I appreciate your help, thank you.

  • How do I use the commands to start and restart the jmqbroker normally?

    How do I use the commands to start and restart the jmqbroker normally?
    Because I have tried to use "jmqcmd shutdown bkr" and then tried to type
    "jmqbroker" to start up. My screen hangs up and seems that the process
    hangs up. The message is
    [28/Jun/2002:18:29:07 GMT+08:00] [B1060]: Loading persistent data...
    [28/Jun/2002:18:29:08 GMT+08:00] [B1039]: Broker "jmqbroker" ready.
    The prompt is hanged until I press CTRL-C.
    Then I got the following message:
    [28/Jun/2002:18:32:07 GMT+08:00] [B1047]: Shutting down broker...
    [28/Jun/2002:18:32:07 GMT+08:00] [B1077]: Broadcast good-bye to all
    connections ....
    [28/Jun/2002:18:32:07 GMT+08:00] [B1078] Flushing good-bye messages
    [28/Jun/2002:18:32:07 GMT+08:00] [B1056] Cleaning up persistent
    store...
    [28/Jun/2002:18:32:07 GMT+08:00] proceessing 0 messages and cleaning
    up 0 files...
    [28/Jun/2002:18:32:07 GMT+08:00] [B1063] Done
    [28/Jun/2002:18:32:07 GMT+08:00] [B1048]: Shutdown of broker complete.
    Then, I use jmqadmin to invoke the console, I can start the broker
    again, it gives me
    Error encountered while connecting to the broker: "MyBroker":
    Broker Host: 'localhost'
    Primary Port: '7676'
    [C4003]: Error occurred on connection creation, - caught
    javax.jms.JMSException
    Please verify that there is a broker running on the specified host and
    port.
    I used ps -def | grep jmq there is no process anymore.
    Is it a bug? Would somebody have any idea on what went wrong?

    'jmqbroker' is the command to start a broker.
    When you type 'jmqbroker' in a command window,
    unless you put it in the background, the shell
    prompt won't return until the broker is shutdown.
    So when you see 'Broker "jmqbroker" ready.', it tells
    you that the broker is running and is ready.
    When you CTRL-C the process, it has the same effect
    as using jmqcmd to shutdown the broker. And so after that,
    there's no jmq processes running since you have just
    shutdown the broker.
    Remember that the jmqcmd/jmqadmin 'restart' command is to
    restart an already running broker. jmcmd/jmqadmin does
    not support starting a new broker instance.
    If you are using csh, end the jmqcmd command with an ampersand ("&")
    to have the broker running in the background. An alternative is to
    stop the process with Ctrl-Z then input the command "bg" to have that
    process resumed in the background.
    The problem with not being able to start a broker using the
    administration console is a documented limitation of the product that
    Yvonne also mentioned. Check the Administrator's Guide for that.

  • How to pass in variables using the command line when starting ActionScript native app

    How do I pass in variables or startup arguments using the command line when starting an ActionScript native app? For example, I have my app call MySweetWidget and it has been compiled with Adobe AIR captive runtime so now I have MySweetWidget.exe.
    In the command line, I am calling MySweetWidget.exe and would like to pass in variables or properties to the application. I would assume that those variables are then read from the loaderInfo.parameters object.
    Please let me know if the Adobe AIR runtime supports passing in parameters to the native runtime. If so, I would like help determining the correct format of how to pass in the variables. Then would you read those from the loaderinfo.parameters object?
    Thanks,
    Jeff

    I found the answer to my own question:
    Yes it is a supported feature. It is documented on the following page:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/NativeApp lication.html#event:invoke
    When you subscribe to the invoke event of the NativeApplication it will subsequently dispatch the event and you read the e.arguments Array object to get the startup arguments passed into the native application.

  • Create WiFi Hotspot using the command promt

    I was trying to create WiFi Hotspot on my Windows 7-32bit running laptop using the command promt method after followinng the instructions from here >> http://www.techswatch.com/2014/11/create-wifi-hotspot-windows-87-command-prompt.html However, the problem is, after creating the hostpot, when I enter the password it does get connected but I cannot access the internet. I am sure that I have entered the correct password else it wouldn't have got connected. Any idea what could have gone wrong? Any help would be apprecited. 

     
    Hi ihtisham301, 
    Thank you for visiting Sony Community! 
    Try to connect any different device to your home network. If other device can't connect then you may contact your Internet Service Provided (ISP) for further assistance. 
    If other device can connect, then try to isolate the issue. You mentioned you cannot connect to the network but you were able to enter the credentials before connecting to the network. Try to ping any website, Start -> search cmd -> once in command prompt, enter ping googe.com and hit Enter. Check the Ping statistics. Try to ping your router as well. ping [router IP address] then hit Enter. Also boot the laptop in Safe Mode with Networking -> turn off the laptop, press the power button and immediately, tap the F8 key repeatedly. Once in Advanced Boot Options, select Safe Mode with Networking. 
    I'm not quite sure about the process that you did. I never tried that before. And another thing is, it seems that you are using a non-U.S. model of Vaio. We usually have Windows 7-64bit computer. We have limited information with non-U.S. model of laptops. 
    For further assistance regarding your concern, please contact the Sony offices/Sony representative offices nearest to your place of residence in Asia Pacific region http://www.sony-asia.com/countryselector.html?hpid=countryselector:AsiaPacific. Due to proximity, they are in a better position to respond to your questions or concerns.
    Hope my suggestions help. 
    Thanks,
    Vincent 
    If my post answers your question, please mark it as "Accept as Solution"
     

  • Cannot use the command "warm-reload" on IOS 12.4T

    Hi,
    I would like to use the command "warm-reload" like the following documentations on the router 2611XM with IOS 12.4T.
    http://www.cisco.com/en/US/docs/ios/fundamentals/configuration/guide/warm_reload_ps6441_TSD_Products_Configuration_Guide_Chapter.html
    I thought it available, but actually at the consol which connected with the router, it did not exist.
    How can I use this command on the IOS 12.4T?
    Regards,
    Okumura

    Hi, Ganesh.H
    Thank you for your reply.
    My consol shows below.
    Router#show version
    Cisco IOS Software, C2600 Software (C2600-ADVENTERPRISEK9-M), Version 12.4(15)T7, RELEASE SOFTWARE (fc3)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2008 by Cisco Systems, Inc.
    Compiled Wed 13-Aug-08 16:09 by prod_rel_team
    ROM: ROMMON Emulation Microcode
    ROM: C2600 Software (C2600-ADVENTERPRISEK9-M), Version 12.4(15)T7, RELEASE SOFTWARE (fc3)
    Router uptime is 2 minutes
    System returned to ROM by unknown reload cause - suspect boot_data[BOOT_COUNT] 0x0, BOOT_COUNT 0, BOOTDATA 19
    System image file is "tftp://255.255.255.255/unknown"
    Router#conf t
    Enter configuration commands, one per line.  End with CNTL/Z.
    Router(config)#warm-reboot
                    ^
    % Invalid input detected at '^' marker.
    Router(config)#
    Regards,
    Okumura
    Hi Okumura,
    Yes you are right and i have also seen in the command lookup tool it also shows avalibale from 12.4 and T series,But when i am trying to fetch your ios i am unable to find the particular in feature navigator for particular ios to support this feature.
    C2600 Software (C2600-ADVENTERPRISEK9-M), Version 12.4(15)T7, RELEASE SOFTWARE (fc3)
    Ganesh.H

  • Error comes up when I use the command:Setup.exe /PrepareAD /IAcceptExchangeServerLicenseTerms

    Hello,
    When I am using the command  c:\Exchange2013\>Setup.exe /PrepareAD /IAcceptExchangeServerLicenseTerms on my domain controller I am receiving the error below:
    Welcome to Microsoft Exchange Server 2013 Service Pack 1 Unattended Setup
    Copying Files...
    File copy complete. Setup will now collect additional information needed for
    installation.
    Performing Microsoft Exchange Server Prerequisite Check
        Prerequisite Analysis                                     COMPLETED
     Setup will prepare the organization for Exchange 2013 by using 'Setup /PrepareA
    D'. No Exchange 2007 server roles have been detected in this topology. After thi
    s operation, you will not be able to install any Exchange 2007 servers.
     For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms
    .exch.setupreadiness.NoE12ServerWarning.aspx
    Configuring Microsoft Exchange Server
        Organization Preparation                                  FAILED
         The following error was generated when "$error.Clear();
            initialize-ExchangeConfigurationPermissions -DomainController $RoleDomai
    nController
    " was run: "Active Directory operation failed on domain.com
    . This error is not retriable. Additional information: Access is denied.
    Active directory response: 00000005: SecErr: DSID-031521D0, problem 4003 (INSUFF
    _ACCESS_RIGHTS), data 0
    I am using an admin account with full rights. Could you give me any advice what might that be? 
    Thank you in advance

    Regarding this article: http://ayalaaii.wordpress.com/2012/12/20/exchange-2010-insuff_access_rights-this-error-is-not-retriable-additional-information-access-is-denied/
    I have managed to get into the permissions in Advanced Security settings, but for some reason I am not able to find “Include
    Inheritable permissions from this objects parent”
    Any ideas where can it be? 
    Thank you

  • Using the command line client...

    I've got a few thousand videos, with metadata, that I have to add to an existing FCS install. Right now, I'm just trying to figure out the proper way to use the command line.
    If I run the following command as root (paasset_predict_motorvideo is the name of my metadata set, as listed in the admin app...)
    bash-3.2# ./fcsvr_client createasset paasset_predict_motorvideo /Users/bfinley/Desktop/test.mov
    I get the following error:
    { CODE = E_NOTSUPP, DESC = Entity /Users/bfinley/Desktop/test.mov doesn't know how to do anything, SRC_FILE = PmdEntity.C, SRC_LINE = 1509, ERROR_TYPE = ET_PERM, ADDRESS = /Users/bfinley/Desktop/test.mov }
    If I pass in the --host, --user, and -pass on the same command, i get:
    { CODE = EMISSINGPARAM, DESC = CURRENTPERMID missing in PmsTask_QueryPerms, looks like unknown node failed to pass it down to child unknown node, NODE = ["PmsTask_QueryPerms" 0x2a51c50, ref=3, wref=2] taskState=0 dbqueue=0x184fb64 needTrans, SRC_FILE = PmsTask_QueryPerms.C, SRC_LINE = 136 }
    I don't need to add any metadata to it, and i get the same error whether I enter any metadata at the end of the query or not.
    I just have a pile of videos, the filenames of which are keys to a table that contains the rest of the metadata, and I want to automate the addition of them to the new FC Server install.
    Am I going about this the wrong way?
    Thanks in advance.

    Brian:
    I've start by placing assets into a device that is configured with Final Cut Server (FCSvr).
    Example, let say you have a folder on your desktop name 1000videos.
    Create a device in FCSvr and map it to /Users/bfinley/1000videos.
    Name this Device with the name of your choice i.e. Library2
    Don't apply any scan schedules to this device etc.
    After you're done with that determine the device id of the new created device by running this command
    ./fcsvr_client search /dev
    you get some output like
    Address DEVICE_NAME DEVICE_TYPE
    /dev/7 Archive_Device filesystem
    /dev/13 Library filesystem
    /dev/10 Media filesystem
    Note down the device id of your newly created device i.e. /dev/13
    Next assuming that you have a file with a filename of test.mov
    use the following command
    sudo fcsvr_client createasset paasset_predict_motorvideo /dev13/test.mov
    you should receive a response to this output containing the newly create asset id.
    Hope this helps.
    Nicholas Stokes
    XPlatform Consulting
    [email protected]

  • Access BAPIs Using the SAP Java Resource Adapter

    Hi experts,
    Can someone tell me how to Access BAPIs Using the SAP Java Resource Adapter?

    hi Shweta,
    Please refer the step by step procedure:
    1. Start the deploy tool of the SAP J2EE Application Server with the DeployTool.bat in the directory //<SAP J2EE Engine Installation Directory/.../j2ee/deploying.
    2. Choose Project &#8594; New Project and enter a name for the new project.
    3. Click on the Deployer tab.
    4. From the menu path, choose Deploy &#8594; EAR &#8594; Load Module and select the sapjra.rar file.
    5. For the newly created node sapjra.rar, choose Server Settings &#8594; Identity Subjects and select Caller Impersonation as authentication type, so that the J2EE user data is used to log on to the ABAP system.
    6. Make sure that the J2EE Application Server is running. Connect to the J2EE Application Server with Deploy &#8594; Connect.
    7. Deploy the sapjra.rar using the menu Deploy &#8594; Deployment &#8594; Deploy Module.
    8. Enter SAPJRADemo as application name and start the application.
    9. Close the deploy tool.
    10. Start the Visual Administrator again.
    11. Select the Cluster tab and switch to <Server Node> &#8594; Services &#8594; Connector Container.
    12. Click on the Runtime tab and choose sap.com/SAPJRADemo &#8594; eis/SAPJRADemoFactory.
    13. Choose Managed Connection Factory &#8594; Properties. On this page, you need to specify the logon data for the ABAP system. There is already some dummy data visible in the property list if no real system data has been specified so far.
    14. To change the value of a property, select the property in the list, change the value underneath it, and add the changes using the Add button. At the end, do not forget to save all changes by pressing the button Save Changes. The user configured for the SAP JRA must be the user authorized to read metadata of function modules.

Maybe you are looking for

  • Calling a Report from a Form

    I have uploaded my form to the app server and compiled to Linux. I have copied my RDF file to the reports_path/demo directory. I can run the report via a link from our portal using the URL as follows: /reports/rwservlet?report=IndRpt.rdf&desformat=pd

  • Upload file function in a flash form

    Hi, i need to ad a function to upload files in a tipical contact form and receive them by mail. anyone knows how to do it? thanks a lot!

  • Ethernet problems installing Solaris 10 on Ultra 5

    I am trying to install on a Sun Sparc Ultra 5 which I have inherited. The machine booted up OK with Solaris 7 with the old user's set up, but I do not have his ids or passwords. When I try to install Solaris 10, early in the boot it comes up with "at

  • Can't burn image of Intel Cd # 1 of 2

    I've downloaded the Intel version of Solaris 8. I've unzipped the files and burned the CD's for the Installation CD and Disk 2 of 2. I can't seem to burn Disk #1 of 2. I'm using the Nero software. I've also downloaded disk 1 several times and I still

  • App specific password for third party mail client

    I have the mail client both in my iPhone and iPad, when I use app specific password, it kicks me out from one of them. I tried using 2 different app specific passwords, still kicking me out. Is is really like this?