Native app - Invalid number of parameters, java.exe is not recognized as an internal or external...

Compilation complete.
Patching package name...
Patching version information...
Patching app name...
Updating the Android app project...
[Path to Android project]>android update project --name "EmployeeCare2" --target 1 --path .
Invalid number of parameters
'"C:\Windows\system32\java.exe "' is not recognized as an internal or external command,
operable program or batch file.

Fixed it. I mean I got it to generate the app, I wouldn't call it fixed. This is one of those cases where I'm convinced that I am the only person who is using a particular feature because it doesn't seem like this would have ever worked for anyone.
Open C:\Program Files (x86)\Adobe\Adobe RoboHelp 11\RoboHTML\MultiscreenExt\NativeApps\Android\UpdateApp.bat.
Turn echo back on.
Run the script to generate a native app.
Check the output window when it fails. This line >SET PATH="C:\Program Files\Java\jdk1.7.0_51\"bin; should be >SET PATH=C:\Program Files\Java\jdk1.7.0_51\bin; no quotes around the path before bin.
Back in UpdateApp.bat: I hardcoded SET PATH=C:\Program Files\Java\jdk1.7.0_51\bin;%3;%PATH%.
When I run the script again, I get a different error. I cleared the output window, so I don't remember what it was.
Delete everything in the output folder, run the script again.
I haven't tested the app, but it says and looks like it was generated.

Similar Messages

  • 'tp.exe' is not recognized as an internal or external command

    Hi
    I am upgrading to SAP ERP 6.0 SUPPORT PACKAGE 4.
    I am using EHPI installer version SAPehpi = 710-5.
    in the extraction stage itself i am getting the error .
    'tp.exe' is not recognized as an internal or external command
    can any body help
    thanks

    thanks for reply
    i used to start the ehpi using sidadm usereid
    no i changed the userid with administrator but still i am getting the same error.
    please help
    thanks

  • Invoke remote diskpart with pipe results in 'C:\windows\system32\diskpart.exe}' is not recognized as an internal or external command

    Hi,
     I am trying to invoke commands from powershell(resp. the code below is run from CMD, because it should be part of CMD script in future), especially the diskpart and do some operations.
    I am trying to use this:
    "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Invoke-Command -ComputerName "machinename" -ScriptBlock {"select disk 2", "online disk" | diskpart}
    but keep getting this:
    'diskpart.exe}' is not recognized as an internal or external command...
    I also tried with full path to diskpart but I get this:
    'C:\windows\system32\diskpart.exe}' is not recognized as an internal or external command...
    can you help me with that? I would use powershell directly but the system is Server 2008 R2 where storage modules are not present..
    execution policy is set to unrestricted
    I should also note, that SYSTEM32 where diskpart resides IS part of variables on both systems
    Thank you.
    Pete
    sfs

    Hi, 
     thanks for answer. It works as you say but I am calling powershell from within CMD (cmd script), its the reason, why this:
    "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" 
    is being included. And that is not working.
    Pete
    sfs

  • ASMCMD: perl.exe is not recognized as an internal

    Hi all,
    I installed 11g database with asm. I am unable to enter in to the asmcmd. it throws me the error "perl.exe is not recognized as an internal or external command, operable program or batch file".
    I have set Oracle home to c:\oracle\dbhome_1, oracle sid to +ASM
    my env: windows server 2008 r 2 installed with oracle 11.2.0.3 db with grid infrastructure(asm)
    thanks.

    931643 wrote:
    Hi all,
    I installed 11g database with asm. I am unable to enter in to the asmcmd. it throws me the error "perl.exe is not recognized as an internal or external command, operable program or batch file".
    I have set Oracle home to c:\oracle\dbhome_1, oracle sid to +ASM
    my env: windows server 2008 r 2 installed with oracle 11.2.0.3 db with grid infrastructure(asm)
    thanks.You need to set the ORACLE_HOME path to the Grid Infrastructure home path and not to the database home path.
    Oracle SID needs to be set as +ASM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Adobe AIR - java is not recognized as an internal or external command operable program or batch file

    Hi,
    I've done everything as in the HelloWorld tutorial but when i run this cmd: adt
    it gives me the following error java is not recognized as an internal or external command operable program or batch file
    I've installed the AIR runtime v2
    Downloaded the SDK v2 and placed in D:\Www\air
    Modified the path variable with D:\Www\air\bin
    And then i open a new cmd console and simply write adt and gives me that error.
    I've updated to the latest version of Java, but it did solve it.
    But what's strage it's that the adl command work, but i'm not being able to pack my application.
    I'm running Windows 7 on x64 platform.
    Sincerely,
    Alex

    I think the 32bit version will work, but it sounds like you'll need to add the Java bin folder to your system path.  This is usually done by the Java installer, so I'm not sure what failed, did you run the installer located at www.java.com?  Either way, this document might be able to help you out:
    How do I set or change the PATH system variable
    Add the Java "bin" folder to your path, you might also need to add the CLASSPATH.
    Please let me know how it goes!

  • Java.exe console not appearing

    I have a java app that I usually start with javaw.exe.
    When debugging, I use java.exe to see the console.
    Today though, I found a PC where running java.exe did NOT create the console... it just poped up the gui app as if it was using javaw.exe.
    I thought something might be wacky with java, so I upgraded to 1.6_20.
    Still behaving the same though.
    Any ideas why this PC would behave this way?

    Paul,
    I think perhaps you misread my comments, or missed part of my previous explanations.
    paulcw wrote:What do you mean "to see the console"? You start java, it reads/writes to the command line.I explained above that I meant "the black dos window that shows the java output." when I said "console"
    paulcw wrote: What do you mean, "it jsut poped up the gui app"? Starting javaw doesn't create any kind of GUI. Maybe if your java program creates a GUI...but that would happen with java as well.as I said initially, I have a java app that I usually start with javaw.exe.
    Just to be pedantic though, I suppose, I should have said:
    I have a java (GUI) app that I usually start with javaw.exe.
    paulcw wrote:
    Any ideas why this PC would behave this way?Honestly, I think your expectations may be in error.I am not clear which expectations you think are in error. My only expectation is that two PCs running the same java program, using the same JVM, launched in the same way would behave in the same way. I am questioning why this one PC would not behave the same.
    Cheers
    --Ding                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to make jar files run using java.exe and not javaw.exe

    Hi ,
    I am developing a project in which there is an GUI which inturn will call a console . I have made it into an jar file now.
    Here comes the problem. When i run the jar files , i don't get a console. While going through this forum, i came to know that jar runs using javaw.exe and this stops it from bring the console up.
    Please suggest me a way of running the jar file through java.exe or any other method by which i can get an new console poping up.
    PS : i cannot start the application itself in a system console , because the Console mode is an added feature and it is not to be displayed every time but only when the user intends to.

    Thanks for the reply pbrockway2. But i think, i was not able to convey my problem properly.
    I am supposed to start my application in a GUI mode ( No console are should be present at this point of time). Within the GUI , i have a option for working in the console ( i.e if console is choosen, then i start giving my output and take inputs from the console. I am trying to do this by just calling the "System.out "and "System.in" methods. )
    Here is the problem. As i have started it through " jar " it would not have a associated console with it.
    PS: i cannot have launching .bat file because that would result in my application having a console displayed at the very start of the application. I want the console to be displayed only when the user wants to start in console mode.
    Please suggest me some ways of doing this. Can i create a console from my java program and then exit it.

  • Pathname for java.exe does not work

    Hi all,
    on Windows, when prompted for full name to java.exe, I enter:
    C:\Program Files\Java\jre1.5.0_06\bin\java.exe
    Next, pressing OK, I get an error:
    Cannot find a J2SE SDK installed at path: C:\Program Files\Java\jre1.5.0_06.
    What am I doing wrong here?
    Kind regards - Remi.

    OK got it.
    I now use D:\oracle\Raptor\raptor\jdk\jre\bin\java.exe from my latest beta version.
    This appears to work just fine.
    Thanks - Remi.

  • Classpath, dos finds java.exe but not javac.exe

    Hi all,
    I have still been trying to have dos recognize the javac command. I have used many methods for updating the classpath and path in WinMe through the environment variable and in the autoexec.bat. I am using the J2SDK1.3.1_02. When I go to the proper directory and use the java command to run a .class file my simple "Hello" program runs fine. However, if I try to compile a new file ex. "Helloagain.java" using: javac Helloagain.java , I receive the "bad command or file name" message. This doesn't make sense because java.exe(which works), is in the same bin as javac.exe!
    My complete autoexec.bat file in notepad reads as follows:
    SET COMSPEC=C:\WINDOWS\COMMAND.COM
    SET windir=C:\WINDOWS
    SET winbootdir=C:\WINDOWS
    SET PROMPT=$p$g
    SET TEMP=C:\WINDOWS\TEMP
    SET TMP=C:\WINDOWS\TEMP
    SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\MSSQL7\BINN;C:\J2SDK1.3.1_02\BIN
    SET CLASSPATH=C:\PROGRA~1\CANONC~1\PHOTOD~1\ADOBEC~1;.;C:\J2SDK1.3.1_02\lib\tools.jar
    I have struggled with this for several weeks. I have also checked numerous online resources. any help would be appreciated.
    Thanks,
    Jeff

    Well, that's what is wrong! Change the
    C:\J2SDK1.3.1_02\BIN to C:\JDK1.3.1\bin
    Kamranyes, that is what was wrong. I should have used jdk1.3.1. I had tried that before but tried adding version #'s like 1.3.1_02.
    The initial java kit I downloaded says j2sdk1.3.1_02 on the winzip file, yet it extracted to a folder called jdk1.3.1, which is the one I should have used in the first place .
    Now that I have the dos prompt working , I will go and use ForteCE. lol. Thanks for you insight.
    Jeff

  • Java.exe does not execute the clas file ????

    I would like to know how to run a compiled program in Java, for example HELLOWORLD.CLASS after I have changed it from a .java file into a .class file.
    What can I do to execute this .class file to see how
    the program works ?

    You should start with:
    java HelloWorldRemember that it is case sensitive. There are several other things that can go wrong so keep posting your trials and errors!

  • Cant change profiles as code /Applications/Firefox.app/Contents/MacOS/firefox-bin -ProfileManager says its not recognized and ive restarted it twice to make sure its closed

    Cant change my profiles and the code /Applications/Firefox.app/Contents/MacOS/firefox-bin -ProfileManager as stated on the page doesnt work..It says -bash: /Applications/Firefox.app/Contents/MacOS/firefox-bin: No such file or directory...I cant create a new one or manage them cause of not allowing in the profile area..
    == This happened ==
    Every time Firefox opened
    == i typed it in and it stated it was not recognized

    An update.
    I almost never use TFF24 so I haven't really been testing this.  However, I did have an issue with TFF17 where it crashed or something.  When I restarted TFF17 it had somehow decided to start using my TFF24 profile.  No real harm there other than puzzlement, and I was missing all my plugins and extensions.  Fortunately I keep the profile switcher extension in both profiles so I used it to switch back to my TFF17 profile.  A few days later I needed to use TFF24.  When I tried starting it with TFF17 still running it did not start up but gave me the old warning about not being able to run two versions of Firefox.  I quit TFF17, started TFF24 and it started up using my TFF17 profile.  Of course then it ran an extension compatibility check, found the "outdated" ones and removed them from the profile!  They were still gone when I restarted in TFF17.   An add-on check said one of them (Classic Compact) only had a Firefox20+ version available until I did some real web searching and finally found a page with the older version.  By the way, simply copying the extensions folder from a profile backup does not seem to install a full suite of extensions, you have to do the full profile.
    Observations:
    - If you do this, keep a profile switcher add-on in both copies of TFF.  Select it to always display at startup which is annoying but not a huge amount of labor to click through.  That way you can make sure each version is starting with the correct profile.  I also installed an add-on which stops TFF from doing an add-on compatibility check when starting, just in case.  It is easy to toggle on and off if you really want one done.
    - Of course right now I don't have capability to keep both versions running at the same time unless I go back and set it all up again, but at least I can have two different versions for when I need to run the newer one.

  • Blackberry 9300 exe file not recognized

    is there a file d/l i can get so the 9300 can recognize this file?

    Hi did you solve the problem with the "exe" file?

  • Java Beans properties not recognized

    I'm trying to access a javabean property from jsp, but however this is what I get when I try to do so:
    org.apache.jasper.JasperException: Cannot find any information on property 'PatientIcNo' in a bean of type 'Action.Profile'
    my bean is Profile.java which is class in the package Action. I think i've compiled this successfully. But why am I still getting this error.
    In my bean I've declared the getPatientIcNo() and setPatientIcNo() methods.
    Thanks in advance.

    But how did you declare patientIcNo?
    private String patientIcNo;
    or
    private String PatientIcNo;
    Believe it or not, it makes a difference.
    Pay attention to the Java Bean Standard.
    The JavaBean spec states that properties are case sensitive and start with a lower case character.
    So in the JavaBean you should declare:
    private String patientIcNo;
    and the getter is:
    public String getPatientIcNo() {
    return patientIcNo;
    In the JSP the syntax are:
    <jsp:useBean id="patient" scope="request" class="Action.Profile" />
    <jsp:setProperty name="patient" property="patientIcNo" value="RickyBobby" />
    <jsp:getProperty name="patient" property="patientIcNo" />
    <%= patient.getPatientIcNo() %>
    <% patient.setPatientIcNo("Sidecar"); %>
    If by chance you name the property PatientIcNo instead of patientIcNo,
    <%= patient.getPatientIcNo() %>
    and
    <% patient.setPatientIcNo("Sidecar"); %>
    work, but the others won't.
    setPatientIcNo maps to the property patientIcNo.
    But there isn't such a property in your bean!!
    You named it PatientIcNo.

  • SSL protocol error.  Certificate is either invalid or common name or authority are not recognized. I

    Hi, I have problems when I tried to open a PDF document with a police of RM generated in the Laundpad, I use a self-signed ssl certificates with the common name https://127.0.0.1:8443 and the base URL in the configuration is the same. I have tried to resolve this issue during a week but i could it and I do not understand how to solve it.
    If anybody can help me, please. This is the picture when I try to open a PDF file with RM policies. Thanks

    So the CN  value should be without the ":8443" addition when creating the cert file?
    Further: Ive installed and trusted the certificate in the personal and the trusted root certifcation auth.
    When opening the URL: https://192.168.1.35:8443/adminui/ in Firefox i get the following error:
    @ IE i get:
    Thanks for looking in to this!

  • NewBie Question: Javac.exe Not recognized?

    Hi I just want to try out my v first hello world program in MOTOROLA IDEN SDK For J2ME Tech (v 1.2)
    I added a hello-world java file in the javafiles folder. Then when i try to build, an error occurred:
    "start building...
    compile D:\IAProject\TRIALCODEEXAMPLE\Example.java...
    javac.exe is not recognized as an internal or external command,
    operable program or batch file.
    Building over"
    Wat's the problem? Did i missed out any settings? THanks!!!!!

    THX, but I have new problem with this:
    Unhandled Exception in constructor java.lang.ClassNotFoundException: HelloWorld
    Error creating MIDlet HelloWorld
    sorce from UserGuide Motorola iDEN SDK..
    package  com.mot.j2me.midlets.helloworld;
    import  javax.microedition.lcdui.*;
    import  javax.microedition.midlet.*;
    public class  HelloWorld extends  MIDlet  {
    private  Form mainScreen;
    private  Display myDisplay;
    HelloWorld() {
    myDisplay = Display.getDisplay(this);
    mainScreen  = new Form("Hello World");
    StringItem  strItem = new StringItem("Hello", "This  is  a J2ME MIDlet."); mainScreen.append(strItem);
    public void  startApp()  throws  MIDletStateChangeException 
    { myDisplay.setCurrent(mainScreen);
    public void pauseApp() {
    public void  destroyApp(boolean  unconditional)   {
    }Why this code doesn't work??

Maybe you are looking for

  • How can I determine what LLB a VI is being loaded from?

    I've been frustrated switching between versions when an application opens and suddenly can not find a VI which is being loaded from a LLB.  How can I determine what LLB (or other type of library) a VI is being loaded from ?  Is there a list of all li

  • Updatable View with ADF ExecuteWithParams

    Ok, I have spent some time and effort, done searches around the forums but I can't find what I'm looking for; it's time to post here. I'm following the "Build an End-to-End Web Application with ADF Business Components and JavaServer Faces" tutorial.

  • PO does not have Storage loction but the storage loction exists in EKPO

    Hello I have a PO, where the PO item does not have a storage location, while checking in ME23N. But for the same PO i saw storage location exists in table EKPO. I suspect some inconsistencey, please let me know is there any correction program to clea

  • Reader 8.1.x won't let me passed the EULA

    After installing Reader 8.1.2 (or uninstalling and then installing 8.1.3) I cannot get passed the EULA page even if I click on 'Accept'. When I do 'Accept', the EULA screen disappears as does the the Acroread process from System Monitor. I have seen

  • Lines steak across photos shared from iPhone 6 camera

    When I email photos from Photos app or Camera app, the photos come through to my email with lines streaking across them. Like a kind of digital artifact or distortion. This happens in a random way, never repeated when I retry to share the image.