Confused about command line syntax

Why does (at the command prompt)
java com.sisconet.mpeapi.MpeApiwork properly, and
java -D . -classpath . com.sisconet.mpeapi.MpeApireturn the error:
Exception in thread "main" java.lang.NoClassDefFoundError: /I would think they would basically be equivalent, in fact, I thought I needed "-classpath ." to make it work. There is almost nothing in MpeApi.java, just a test file with some println statements.
Thanks!

java -D . -classpath . com.sisconet.mpeapi.MpeApiThis means: run the class called "." and pass it the parameters "-classpath . com.sisconet.mpeapi.MpeApi"Since there is no class called "." you get a NoClassDefFoundError.
What is the "-D" supposed to do?

Similar Messages

  • LOGINW32 command line syntax

    We have Netware 6.5 SP8.
    What is the command line syntax for using LOGINW32 when our server context has a period in it? From what I have read, a period is what distinguishes the user name, context and tree. So having a period in our context name causes problems....
    Thanks!

    On Fri, 27 Sep 2013 11:16:03 +0000, ncharleyhog wrote:
    > We have Netware 6.5 SP8.
    >
    > What is the command line syntax for using LOGINW32 when our server
    > context has a period in it?
    IIRC, you have to escape it with a backslash, *plus* there's a Client32
    option for allowing periods (dots) in the username that you may need to
    enable.
    David Gersic dgersic_@_niu.edu
    Knowledge Partner http://forums.netiq.com
    Please post questions in the forums. No support provided via email.

  • I am using iplanet messaging 5.2. I want to send mail using command line. Anyone knows exact command line syntax.

    I am using iplanet messaging 5.2. I want to send mail using command line. Anyone knows exact command line syntax.
    Thanks
    -Vasu

    #telnet 0 25
    mail from: user1 #email source
    rcpt to: [email protected] #email destination
    data #begin email content
    Subject: Hi, This is a test mail #optional subject
    Hi, Please don't pay attention to this email, just a test
    . #end email content
    quit #Quit SMTP
    #

  • Import/Export tool Command line syntax for R2

    Would anyone please advise the syntax of command line import/export tool for XIR2?
    Read this post below for importing from a biar file but not sure how to export from BO into a biar file.
    How to log BIAR export/import from command line
    We're in fact trying to migrate from R2 into R3. The import wizard provided by BO doesn't work well with favorites and inboxes migration due to the large volume of data we need to migrate, hence looking for alternatives.
    Any advice around this line would be much appreciated.
    Thanks in advance.
    GM

    Denis,
    Thanks for your reply. This at least saved my effort to explore further.
    Would you offer any advice for migrating large volume of personal folders from R2 into R3?
    We're integrating with AD, so everytime listing users for selection taking ages and often times out.
    Even if we managed to export the biar file for a group of users, exporting them into R3 fails quite often as well.
    The whole process is simply very unpredictable and unreliable.
    Thanks.
    GM
    Edited by: Xu Guoming on Apr 21, 2009 4:13 PM

  • Newby question about command line interface

    Arch is my first linux distro and havnt used others yet.
    Just wondering, does Command Line Interface looks and functions all same on other distros?
    Because, if u can chose desktop environment like KDE, GNOME and Xfce with other Linux distros as well, then what is difference between others.
    Linux is still quite hard for me and just wanted to know if there is "special" stuff that arch can do.
    To me, they all looks same with same desktop environment...
    thanks

    When you mention the "command line interface" (CLI) there are a few things involved: a terminal emulator, a shell, and the programs you have installed. That said, as far as running programs goes
    The terminal emulator is the application that hosts/shows your shell. In KDE it's (by default) Konsole, GNOME uses gnome-terminal, others might use xterm, aterm, rxvt, rxvt-unicode or one of many others. Different emulators provide some extra features (e.g. tabs) and they all differ in memory usage, speed, and integration (or not) into a given desktop environment. That said, they all pretty much work the same for launching programs and operating in a shell: you type commands and press enter.
    The shell is what runs your commands and also provides some scripting capabilities. Generally, bash seems to be the most used as a default shell. You can change your shell if you wish, as some shells provide extra features like programmable command completion. Other shells are lighter or more POSIX-compliant. For a starting user, you're well enough off just using the default (probably bash) until you find a reason for which you must have a different shell.
    Finally, the programs installed will affect what you can run in a terminal. Different distros will have different quantities of programs installed by default. (Arch's base install is very minimal.)
    Now, with regards to Linux, at the end of the day all distros are Linux with some desktop environment (DE) and some Linux apps. The DEs and applications are taken from the same source, but some distros provide patches for extra capabilities or configuation. However, if you see something you like in openSUSE, say, you can download the software, patch it, and configure your Arch to work like openSUSE. Each distro, though, has its own focus and philosophy which affects:
    * how many and what applications are installed by default
    * amount of configuration required after install
    * stable vs. bleeding edge
    You can read more about this in the wiki reference above.
    So having said all that, Arch gives you a simple, minimal base install which you can then easily customize by app installation and configuration. It is reasonably bleeding edge, meaning application updates usually make it to Arch fairly quickly. With time and knowledge you can make Arch do near anything that another distro can do, but that's not really the idea behind Arch in my opinion.
    Hope that helps,
    j

  • How different is UDB v8 vs UDB v9 in terms of command line syntax?

    I have the redbook for V8.  All syntax is still the same at V9?   Thanks!

    Hello Ashley,
    besides commands for new features or enhancements of existing commands, the syntax should be the same. Especially regarding the SQL syntax. Anyway there are a lot of features that have been introduced since DB2 9 started. Hence I would recommend to get familiar with them.
    Regards,
    Marcel

  • R25run command line syntax

    Hi,
    This is my first time working with reports. I can't seem to run my report from the command line. I have reports 25 installed.
    I can run r25runm, motif, and it prints to printer or to screen fine.
    But when I used r25run, no motif, I can't get it to run. I just pops up a character mode interface prompting me for userid and such, even though I had them in the command line.
    Also, I can't get out of the character interface except by killing the session completely.
    Thanks for any help,
    -Bob

    Forgot to mention I'm running against an old legacy database, 7.3.3.
    Thanks

  • About command line arguement

    I want to take in a list a of words from a file as a command line argument, like the following input to the command line:
    hello
    hi
    cat
    dog
    fish
    how this should be done?I only know I could use a single line when specifing command line argument,how can I use multiple lines?
    thanks.

    A command line is only a single line. You specify it
    when program execution is started:
    java TestProgram arg1 arg2 ...
    If you want to specify multiple lines of data then
    this becomes program input and you must create you own
    input loop in your program. Something like:
    BufferedReader input = new BufferedReader( System.in
    String line = "";
    while ( (line = in.readLine() ) != null )
    System.out.println( line );
    Or create a small simple class that reads the file but into an array instead of a single line, and call the main method of your class with that array.
    //Håkan

  • About Command line args

    there is command line argument fir integer like Integer.parseInt(args[0]); can we write same for "char" and" double" also like "Double.parseDouble" or else......

    this has nothing to do with command line arguments
    but yes, all the primitive wrapper classes can parse back their primitive
    Learn to use the API, it's your friend
    http://java.sun.com/javase/6/docs/api/

  • Confusion about BT line

    Hi all first post here.
    We have just asked for a Sky box to be installed at home and they require a working BT line. We havn't used our BT line in years. It was because at the time our broadband speed was so slow that a BT engineer who called at the house had informed us that the way the line wass affixed to a bracket on the corner of the house was incorrect and needed replacing, it was chaffeing as the angle of the telephone wire was rubbing on the brick work.
    At the time BT were contacted, I can't recal the amount of times they were called and in the end we got so fed up we moved to cable ( NTL at the time )
    Now we have Sky coming round in a few weeks to connect up the BT line, how to we get it checked in advance so as not to delay anyone. We obviously would like BT to check the chaffing wire from the telegraph pole to ensure it is ok or if it needs re fixing.
    I cannot find anywhere on the BT web site that we can call to querey this, anyone have a suggestion?
    Kindest regards
    Helen

    Hi H232,
    The external phone line to your property is maintained by Openreach on behalf of you and your ISP/CP.
    If your not paying for the phone line (line rental, ect...) to your ISP/CP (excluding cable companies ) then the phone line will probably be deactivated and disconnected.
    BT retail (a ISP/CP) can't do anything unless you have a phone package with them and are a BT Retail customer. If you are paying BT Retail for line rental and phone package then check if there is a dial tone and call 151 is the phone quality isn't good.
    Even though Openreach is part of the BTplc Group, Openreach are completely separate and have to treat all ISPs/CPs equally.
    If your not a BT Retail customer then you will need to take this up with your ISP/CP who uses the copper phone line infrastructure.
    Cheers
    jac_95 | BT.com Help Site | BT Service Status
    Someone Solved Your Question?
    Please let other members know by clicking on ’Mark as Accepted Solution’
    Try a Search
    See if someone in the community had the same problem and how they got it resolved.

  • Does anyone know about command line printing?

    I have been trying to get my company's point of sale system moved from an old windows machine to a mac mini server. I have been successful with the exception of printing. Basically, as I understand it, the database we use sends a print command to the printer like lp -d "printer name". The problem is the HP laser printer receives it and flashes the orange light instead of printing. To get it to print we must push the green button on top of the printer to get it to print. When it prints everything is fine. I have two HP laser printers that do not have this problem and work correctly. They are Laser Jet P4015 and a M1212nf. The ones that don't work correctly are Laserjet P1505n, P2055, & P1022n. They are all network printers and work fine for regular printing like a word doc or web page. Any help is appreciated.
    Also, I have some impact printers both 9pin & 24pin that seem to be almost impossible to configure with OSX.  Any tips there would be great as well. 
    Thanks.

    Any thoughts on what to look for?
    The basic problem as I see it is that all the laser printers with which I am familiar do not cope with printing anything other than a page at a time. That probably explains the orange light - I assume that indicates the printer has received data, but it will not do anything with it until an end of job PostScript or PCL command is sent, and that command is missing from the jobs being sent to the P1505n, P2055, & P1022n.
    There may be a way to append that command to the job's end using the POS software you are using. For that PAHU is much more likely to suggest something useful than I.

  • Confusion about few lines in OVM 3.0 document

    Hi,
    Excerpt from ovm2-tech-arch-overview-459307.pdf :
    "The Dom0 of Oracle VM Server 3 is specially built to handle enterprise-class workload requirements. It leverages Oracle Linux with the 64-bit Oracle Unbreakable Enterprise Kernel (UEK), but has been customized and minimized for tight security and scalability in a virtualized environment. The Oracle Unbreakable Enterprise Kernel is a fast, modern, reliable Linux kernel that is optimized for enterprise software and hardware."
    However, when Dom0 does not show the kernel as UEK.
    .... 2.6.32.21-41xen #1 SMP Fri Sep 9 00:47:51 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
    It is shown as xen. I am aware that it is a xen hypervisor. Just need to know if this is UEK that has been
    named as xen because of changes done to it (merging UEK and XEN) to work in OVM environment.
    Thanks,
    kiran

    kiran wrote:
    It is shown as xen. I am aware that it is a xen hypervisor. Just need to know if this is UEK that has been
    named as xen because of changes done to it (merging UEK and XEN) to work in OVM environment.The current Oracle VM 3.x Dom0 kernel uses the same codebase as the current UEK, however it has different compile-time options and additional code to enable Xen Dom0 support. The next version of Oracle VM (3.1, most likely) will use the UEK2 which is currently in beta for Oracle Linux. Due to some amazing work by the Xen/Oracle VM developers, all the Xen components for Dom0 support have been merged into the mainline Linux kernel and the UEK2 will be the first kernel that uses the full mainline implementation of the Xen Dom0 support.

  • About command-line arguments

    it seems a simple problem, but i don't know why i cannot execute that. for example, for (int i=0; i<args.length; i++)
    System.out.println(....)
    using this, i suppose can input something through keyboard. but when i run the program, it doesn't wait for any input and then finish. any one know where is the problem?

    I just skimmed through your posts. Not sure but maybe you are trying to do this. (Forgive me if I'm off track)
    import java.io.*;
    public class saveTxt {
       public static void main( String args[] ) throws IOException {
          FileOutputStream out = new FileOutputStream( "saveTxt.txt" );
          DataOutputStream d = new DataOutputStream( out );
          DataInputStream in = new DataInputStream(System.in);
          String s1;
          try {
                while ((s1 = in.readLine() ) != null) {       
                PrintStream p = new PrintStream( out );
                p.println(s1);
             in.close();
          catch (IOException e) {
          System.out.println ("\n" + '\u0022' +"Test6.txt"+ '\u0022'+ " file created" );     
    }

  • Problems with in/out points when submitting jobs via Terminal/command-line

    I've writting a GUI based script which allows a user to select a source Quicktime file, and will encode that file to multiple formats, and trims each destination based on specific timecode in/out points. However, I'm having problems getting the Compressor command-line interface to honor the in/out timecodes that I've explicitly set for multiple jobs within a single commandline.
    In other words, if I want to encode a source Quicktime between 01:00:00:00 and 01:00:29:23 with just ONE setting/destination, then the following commandline works:
    /Applications/Final\ Cut\ Studio/Compressor.app/Contents/MacOS/Compressor -clustername MHM -batchname CLI_BATCH -jobpath /Volumes/mel/temp/20120329/TEST_SRC.mov  -settingpath /Volumes/common/settings/compressor/M9_Slave/_Local_/OTWC.setting -destinationpath /Volumes/mel/temp/20120329/TEST1234_Testing30_OTWC.mov -in 01000000 -out 01002923
    But if I try to append multiple settings/destinations to the commandline, Compressor will only honor the -in/-out arguments which appear in the LAST -jobpath instance in the commandline.
    For example, the following commandline will properly encode the file to multiple destination files, using the appropriate .settings file, but it ignores the -in/-out points that were set for any -jobpath instance that appears before the last -jobpath instance (in other words, every file is output using 00:59:57:00/01:00:30:01 as the in/out points, instead of having the "*_OTWC.mov" file output using 01:00:00:00 as the in point)
    /Applications/Final\ Cut\ Studio/Compressor.app/Contents/MacOS/Compressor -clustername MHM -batchname CLI_BATCH -jobpath /Volumes/mel/temp/20120329/TEST_SRC.mov  -settingpath /Volumes/common/settings/compressor/M9_Slave/_Local_/OTWC.setting -destinationpath /Volumes/mel/temp/20120329/TEST1234_Testing30_OTWC.mov -in 01000000 -out 01002923 -jobpath /Volumes/mel/temp/20120329/TEST_SRC.mov -settingpath /Volumes/common/settings/compressor/M9_Slave/_Local_/HNN-HD.setting -destinationpath /Volumes/mel/temp/20120329/TEST1234_Testing30_HNN-HD.mov -in 00595700 -out 01003001
    It's wierd that everything else about this command-line syntax works as expected (and as explicitly stated in the Compressor -help output, which says "when submitting individual source files. (The) Following parameters are repeated to enter multiple job targets in a batch"), except for the -in/-out points.
    I've even tried quoting the -in/-out arguments using colons (e.g., -in "01:00:00;00") , but this doesnt appear to change the behavior.
    Is this a bug, or am I missing something here?

    I've writting a GUI based script which allows a user to select a source Quicktime file, and will encode that file to multiple formats, and trims each destination based on specific timecode in/out points. However, I'm having problems getting the Compressor command-line interface to honor the in/out timecodes that I've explicitly set for multiple jobs within a single commandline.
    In other words, if I want to encode a source Quicktime between 01:00:00:00 and 01:00:29:23 with just ONE setting/destination, then the following commandline works:
    /Applications/Final\ Cut\ Studio/Compressor.app/Contents/MacOS/Compressor -clustername MHM -batchname CLI_BATCH -jobpath /Volumes/mel/temp/20120329/TEST_SRC.mov  -settingpath /Volumes/common/settings/compressor/M9_Slave/_Local_/OTWC.setting -destinationpath /Volumes/mel/temp/20120329/TEST1234_Testing30_OTWC.mov -in 01000000 -out 01002923
    But if I try to append multiple settings/destinations to the commandline, Compressor will only honor the -in/-out arguments which appear in the LAST -jobpath instance in the commandline.
    For example, the following commandline will properly encode the file to multiple destination files, using the appropriate .settings file, but it ignores the -in/-out points that were set for any -jobpath instance that appears before the last -jobpath instance (in other words, every file is output using 00:59:57:00/01:00:30:01 as the in/out points, instead of having the "*_OTWC.mov" file output using 01:00:00:00 as the in point)
    /Applications/Final\ Cut\ Studio/Compressor.app/Contents/MacOS/Compressor -clustername MHM -batchname CLI_BATCH -jobpath /Volumes/mel/temp/20120329/TEST_SRC.mov  -settingpath /Volumes/common/settings/compressor/M9_Slave/_Local_/OTWC.setting -destinationpath /Volumes/mel/temp/20120329/TEST1234_Testing30_OTWC.mov -in 01000000 -out 01002923 -jobpath /Volumes/mel/temp/20120329/TEST_SRC.mov -settingpath /Volumes/common/settings/compressor/M9_Slave/_Local_/HNN-HD.setting -destinationpath /Volumes/mel/temp/20120329/TEST1234_Testing30_HNN-HD.mov -in 00595700 -out 01003001
    It's wierd that everything else about this command-line syntax works as expected (and as explicitly stated in the Compressor -help output, which says "when submitting individual source files. (The) Following parameters are repeated to enter multiple job targets in a batch"), except for the -in/-out points.
    I've even tried quoting the -in/-out arguments using colons (e.g., -in "01:00:00;00") , but this doesnt appear to change the behavior.
    Is this a bug, or am I missing something here?

  • Latest DNG converter not working in command-line mode

    Today I downloaded Adobe's latest DNG converter. It is failing with both .NEF and .CR2 files when run in command-line mode. It does appear to work in GUI mode. The switches+arguments I've used for my tests are:
    -u -e -p1 filename.CR2
    (or filename.NEF)
    With an older (CS2) version of the converter, the above arguments produce a .DNG output file as expected (with .CR2 files; I didn't try it with D3 .NEF files; surely that older version doesn't support the D3's format).
    With the very latest version, running the program with the above command produces no output. There's no error message.
    The 'readme' file that comes with the converter doesn't include any information about command-line usage, but I did find a PDF file covering this (adobe.com/products/dng/pdfs/dng_commandline.pdf). The switches+arguments shown in the PDF file appear to be exactly the ones I used in the past.
    I'm sure I'll need to use the most recent version to convert D3 RAW files. Is there something wrong with how I'm specifying its command-line switches/arguments?

    It struck me silly that I've been running tests with v.3.3 when 5.2 is the latest, so I downloaded it. The setup "wizard"...hmm, why is it a "wizard"? It provides no choice of installation path. I didn't realize this because immediately after I'd launched it, I knocked something onto the floor, reached down to pick it up ... and looked back up just in time to see the "wizard" complete the installation...but where, I didn't know. It didn't display any information about where it had installed the app. Adventures In Discoverability. :) I hunted around on the hard drive until I found it (C:\Program Files\Adobe -- well, at least you can launch it if you think to look for it in the 'Start' menu). So ... that needs a bit of work. Anyway, I copied the app into a directory of my choice -- one that's in my system's %PATH%, replacing spaces in the name with underscores. It works fine in that directory -- no problem with the name-change as far as I can tell. Now back to the fun stuff...
    This version doesn't seem to require a fully qualified path to the input file or to the output directory when "-d" is used. That's an improvement. IOW, this worked:
    converter -p1 -d DNG filename
    where "converter" is the program's name, "DNG" is the name of a subdirectory of the directory where I'm running the test, and "filename" is the name of a RAW file in that directory.
    The program still doesn't know how to create a directory (or ask about creating one if it doesn't exist). Fails silently if "-d" is used and the specified directory doesn't exist. But at least this version returns an exit code of 1 due to the failure -- better than returning 0.
    Still doesn't understand wildcards. Hope done sprang eternal there for a moment, but oh well. Back to "for" loops...
    Still fails silently, returning exit code 0 (oops), if a nonsensical command-line is used (e.g., using "-c" as the only argument).
    Hey, how about a truly silly command-line error -- a command line including both "-c" and "-u". What happens? It "consumes" the first of the two mutually exclusive switches, ignoring the second -- you get a compressed DNG file. Swap the order of the switches, and you get an uncompressed file. (I'd vote for a syntax-error message in that case, m'self.)
    Interestingly strange little program...If I run it from the command line, it drops back to the command line immediately after I press ENTER. That makes it appear to have failed. But it hasn't -- it's running in the background, and a few seconds later the DNG file is created. But, if I run it from within a batch file, it does NOT return control to me until it has completed writing the output file. Wonder what's up with that.
    Fun stuff. :)

Maybe you are looking for

  • How do I move from one external drive to another, without the "Relocate Masters" command?

    I have my masters referenced on an external hard drive, and I've been mirroring that drive with another so that I have a backup (the volume names were ApertureLib1 for the primary drive and Photo7 for the backup).  I've filled that drive, so it will

  • Error while opening an existing report

    Hi all, I'm working with Report Builder 10.1.2.0.2 on Windows XP. My XP user account has no administration capbilities and when I run reports builder I get the following errors: REP-0118: Unable to create temporary filethen as soon as i try to open a

  • Parsing and rewriting an SQL query

    Hi all, I need to rewrite bits of a valid PL/SQL query. In order to do so, I need semantic information about the query, such as "what are the table names columns are being selected from" or "do aggregate functions in a select provide column alias in

  • Service Po Other charges

    Hi all For the Service Po, one  Services line is maintain ( Qty - 5) & frieght charges are maintain (Frieght condition is Header, item & Group Condition) is Rs 800/- for total Po Value. but during MIRO . The Frieght Amount is coming 4000/- Because it

  • Tomahawk tree2 not rendered properly in mobile browser

    Hi, I was trying to use tomahawk tree2 component. It was able to render properly on the desktop browser. I tried to open the same application on the PDA IE browser. There is a gap between the nodes. It was not looking good. How can i apply my own sty