I cann't execute javac with parameters. please help !!

Hi All!!
I can't understand how to execute application or bat file (javac.exe for example) WITH parameters correctly.
I can execute javac.exe or bat file - WITHOUT parameters :
Process p = Runtime.getRuntime().exec(WIN_PATH + " " + WIN_FLAG + " " + "javac.exe");
But I can't execute correctly the command like:
"javac.exe -classpath C:\Alex; Test.java"
I tried to use exec(str,env[]) and exec(cmd[]) methods, but there were different errors as a result :(((
How can I execute the command "javac.exe -classpath C:\Alex; Test.java" ? Is it possible?
Please help me by a good idea.
Thank you.

right you are! That's why we use "\\" instead "\" :)
If i try to execute this command -
cmd=WIN_PATH + " " + WIN_FLAG + " " + "c:/j2sdk1.4.0/deleteMe/javac.exe -classpath C:/WORK/jboss-3.0.3/client/jboss-j2ee.jar;S:/Alexander/jars/sys.jar;S:/Alexander/jars/ejb_conf_dev.jar;S:/Alexander/jars/; C:/j2sdk1.4.0/deleteMe/aaBean.java";
my OS Windows 2000 returns na error - "Error opening icon..."
What's wrong?
Thank you...

Similar Messages

  • Trying to veiw videos from a website that requires me to download firefox and silverlight.My imac osx 10.5.8 will now download firefox. firfx tells me my mac is not compatible with ffox Please help me ?  Thank you

    trying to veiw videos from a website that requires me to download firefox and silverlight.My imac osx 10.5.8 will now download firefox. firfx tells me my mac is not compatible with ffox Please help me ?  Thank you

    There is a version of Firefox 4 available for PPC Macs:
    TenFourFox 4.0.1 Firefox 4 For PowerPC Browser Released
    Version 4.0.1 of TenFour Fox, FloodGap's port of Firefox 4 for Power PC
    Macs that supports both Mac oS X 10.4 and 10.5. has been released.
    Mozilla.org dropped support for OS 10.5 after Firefox 3.6 and for Power
    PC with the fourth beta of Firefox 4.
    TenFourFox uses almost all the same code as Firefox 4 and has nearly all
    the same features, including faster JavaScript, WebM video, and HTML 5
    and CSS 3 support, as well as new and emerging Web features, but with
    the code needed to keep your Power Mac functional and fast. Out of beta
    and it's ready for action, versiob 4.0.1 is a performance, security and
    stability update incorporating Mozilla's Firefox 4.0.1 plus AltiVec acceler
    -ation for WebM and browser graphics, and G5 JavaScript acceleration.
    For more information, visit:
    http://www.floodgap.com/software/tenfourfox/
    Source: from http://www.applelinks.com - posted April 25, 2011)
    Now for the intersting bit: TenFourFox, like Firefox, does not support most plug-ins. Unless you are prone to headaches (in which case don't) you can read about that here:
    http://code.google.com/p/tenfourfox/wiki/PluginsNoLongerSupported
    But there is a workaround!
    Open TenFourFox and type in the address bar: about:config (no spaces) and click return. This gives you a warning that it might harm the application. Ignore that and click on 'I'll be careful, I promise' and you get the config file that you can edit - with great care.
    Look/search (scroll down) for: tenfourfox.plugins.enabled
    Set it to true. (Double click it to toggle it)
    Now close TenFourFox, open it again, and Flash will now work, as it now uses the plug-ins that Safari has stored.
    With SilverLight, Microsoft attempted to create their own version of what a replacement for Flash could be - but not to universal acclaim. You can read more about it here:
    http://silverlight.net/
    So, if you go to any sites that have been designed for this new Silverlight stuff, you can download the plug-in from here (but make certain that you are downloading SilverLight v.1.0 for OS X (10.4.8 upwards) if you are using a PPC Mac, but even this will not work with Safari 4. Version 2 only works with Intel Macs and does work with Safari 4/5. The solution is to download and install the latest version of Flip4Mac, which now includes a Silverlight component:
    http://dynamic.telestream.net/downloads/download-flip4macwmv.htm
    But the latest news is that Microsoft will probably abandon Silverlight in favour of HTML5:
    http://www.appleinsider.com/articles/10/10/29/apples_ios_pushes_microsoft_to_dia l_down_silverlight_for_html5.html  and
    http://www.bbc.co.uk/news/technology-11673384

  • I just installed mongolian cyrillic keyboard and it's working just fine with safari but i can't type on Word with it. please help me?

    i just installed mongolian cyrillic keyboard and it's working just fine with safari but i can't type on Word with it. please help me?

    PS Here is a source for a keyboard.  Try it if you have not done so already
    http://m10lmac.blogspot.com/2012/12/new-mongolian-keyboard-layout.html
    For questions about why Word doesn't do something, try
    http://answers.microsoft.com/en-us/mac/forum/macword

  • I can't turn off find my ihone, always show "there was a problem when canceling the registration of this iphone with icloud" please help me. i can't restore my iphone before turn off find my iphone

    i can't turn off find my ihone, always show "there was a problem when canceling the registration of this iphone with icloud" please help me. i can't restore my iphone before turn off find my iphone

    If you are the original owner of the phone and know the Apple ID and password that were used to activate it originally, and if you have an existing backup to restore from, you can force it into recovery mode (which will completely erase it) and restore it as explained here: If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support.  When you do you will encounter activation lock, and will have to provide the ID and password used to activate it originally in order to activate it again.  If you can't, you won't be able to activate and use it.

  • I'm trying to set up my new iPhone 5s from a backup of my previous iPhone, when trying to enter my Facebook login info in settings I keep getting the following error message : error signing in could not communicate with server, please help !

    I'm trying to set up my new iPhone 5s from a backup of my previous iPhone, when trying to enter my Facebook login info in settings I keep getting the following error message : error signing in could not communicate with server, please help !

    Can you access other apps? Can you acess the internet? Can you access applications that use internet besides facebook?
    If answer is yes to all of these; contact Facebook.

  • My factory unlocked iphone 4s mms is not working with tmobile, please help...

    my factory unlocked iphone 4s mms is not working with tmobile, please help...

    Check out this link. It should fix the problem
    http://support.t-mobile.com/thread/17918?tstart=0

  • HT1296 my outlook calendar is not syncing with Ipad. please help

    my outlook calendar is not syncing with Ipad. please help

    I've got the same problem and no one is answering to it. call up the apple support and waited for almost 30mins before i can get help, after an hour they only keep asking me for account emails and stuff, end up getting nothing solved. Sad!

  • My iphone 3gs is not syncing with itune please help me

    my iphone 3gs is not syncing with itune please help me

    Did you ever get help with this issue?

  • HT201210 cont contact apple server error please help with ipad touch 4. im just fed up with apple please help me because why is it only apple with these kind of problems?

    cont contact apple server error please help with ipad touch 4. im just fed up with apple please help me because why is it only apple with these kind of problems?

    If you mean updae server
    Update Server
    Try:
    - Powering off and then back on your router.
    - iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - For one user uninstalling/reinstalling iTunes resolved the problem
    - Try on another computer/network
    - Wait if it is an Apple problem
    Otherwise what server are you talking about

  • Hey there! well i from india and i m facing problem connecting my debit card to the itune store ,as the very option is not there, can someone guide me how to get it connected , i have a mastercard debit card with me .please help me

    hey there! well i from india and i m facing problem connecting my debit card to the itune store ,as the very option is not there, can someone guide me how to get it connected , i have a mastercard debit card with me .please help me

    if you are signed in to iTunes with your AppleID, click on the AppleID > view account > payment information > enter in your information

  • HT2534 im unable to get the none option while proceeding with itunes,,.please help me

    im unable to get the none option while proceeding with itunes,,.please help me

    Please help me understand your question. (What happens in vagueness, stays in vagueness.)

  • Report should prompt me for parameters, please help.

    Hi All,
    I am using Crystal version 10, So is there any way I can get the behaviour of my parameters as dynamic parameter? I have this requirement because when I am deploying the Report on BO server, and try to open the report from InfoView, it is not prompting me for parameters, rather it is giving me the copy which we had scheduled earlier. To get the fresh data with different parameters, we again need to schedule the report.
    What I want is simple, Whenever user clicks on the report link in infoview, I should be promted for the parameters my report is using.
    Please help..
    Thanks
    -Azhar

    Hi
    It would prompt whenever it's refreshed.
    You can refer to Business View manager guide from [here|http://help.sap.com/businessobject/product_guides/boexir2/en/xir2_bv_admin_en.pdf ] for detailed information.
    Hope this helps!!
    Regards
    Sourashree

  • Oracle report parameters- please help

    iam working on reports 2.5 and oracle DB7.3.
    In a report parameter in order to retrive the parameters i gave
    a query as
    select docno from docket where status='A'
    for some period it has worked well.
    may be as the number of transactions have increased the report
    parameter form is not gettign loaded and when i click the report
    it gives me r25srv error.
    i could get rid of this error by restricting the parameters
    pertaining only to 2001 documents.
    the report is working but i have limited the trasactions here
    and the problem has been solved temporarily.
    my question is
    1) does the parameter field takes limited no of transactions.?
    if so what is limit to the parmeters.
    this i am asking the reason is i found some docnos got displayed
    latter i could view only junck characters in the parameter drop
    down list. This could view only once.all the time it gives
    r25srv error
    2) how can i retrive all the docnos in the parameter other than
    the above query.
    please help me

    hello Thiru
    thank u for ur help.
    here i donot find necessity of using Distinct and groupby clause.
    as the docnos are unique in the table i was referring,further
    iam not using any function so as to use groupby clause.
    Ofcourse i will try with LOV by calling reports from forms.
    This particular table contains 12000 records ,each record has 1
    doc no assigned to it.That means i want all the 12000 docs to be
    viewed in the parameter so that i can select one doc no to view
    that particular report.
    regards

  • Problem getting with monitor please help me

    Hi All,
    Am trying with these options...but it is not working for me.....Is there any wrong with my parameters?
    I tried with all three also pop3, imap.Will you please tell me how to trace and solve this problem?
    Please help me if anybody knows...
    java monitor smtp.gmail.com bhavana.shilpa onlyonwork inbox 5
    Testing monitor
    javax.mail.MessagingException
    : Connection timed out: connect;
    nested exception is:
    java.net.ConnectException: Connection timed out: connect
    at com.sun.mail.imap.IMAPStore.protocolConnect(
    IMAPStore.java:571)
    at javax.mail.Service.connect(
    Service.java:288)
    at javax.mail.Service.connect(
    Service.java:169)
    at monitor.main(
    monitor.java:66)
    Caused by:
    java.net.ConnectException: Connection timed out: connect
    at java.net.PlainSocketImpl.socketConnect(
    Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at com.sun.mail.util.SocketFetcher.createSocket(
    SocketFetcher.java:233)
    at com.sun.mail.util.SocketFetcher.getSocket(
    SocketFetcher.java:189)
    at com.sun.mail.iap.Protocol.<init>(
    Protocol.java:107)
    at com.sun.mail.imap.protocol.IMAPProtocol.<init>(
    IMAPProtocol.java:104)
    at com.sun.mail.imap.IMAPStore.protocolConnect(
    IMAPStore.java:538)
    ... 3 more
    Regards
    Karthik

    Two posts for the same problem? Why?
    http://forum.java.sun.com/thread.jspa?messageID=10235654

  • Cannot install windows, starting to get really pissed off with this PLEASE HELP

    ok, i'm starting to get agitated with this.
    i cannot install windows XP, 2003, OR Longhorn on my machine.
    right now, i have the following setup:
    msi 865pe neo2 motherboard
    intel p4 3.2ghz w/HT (factory HS/Fan currently)
    1 dimm of PC3200 crucial DDR400
    30GB maxtor HD plugged into primary IDE
    pioneer dvd/cd drive as sencondary IDE
    alps 3.5" floppy drive
    antec true blue 480wt PSU
    i do the following:
    format with maxtor cd
    boot from OS cd
    start setup, reboot, continue
    the farthest i can get is 'registering components/completing installation' i either get a blue screen stop error which isnt the same everytime, or it just locks up and doesnt do anything.
    ran the memtest checker and get errors on test #4
    i had a DIMM of kingston that gave the same errors, so i RMA'd it and got another. same errors, so i RMA'd again and got a Crucial stick. same errors.
    so i RMA'd the motherboard since i figured it had to be that. and it improved from the problems i had earlier. (the problems i had before were worse before.)
    below are my BIOS settings. SOMEONE WHO KNOWS PLEASE HELP ME!
    advanced bios features:
    quick boot - enabled
    boot order - floppy, cd, HDD
    full logo - disabled
    s.m.a.r.t - enabled
    num-lock on boot - enabled
    floppy swap - disabled
    floppy seek - enabled
    save rom to HD - no
    boot to os/2 - no
    hyper threading - disabled
    mps revision - 1.4
    apic acpi sci irq - disabled
    cpu l1 & l2 cache - enabled
    bios cacheable - disabled
    c000, 32k shadow - disabled
    advanced chipset:
    dram timing...
    configure by spd - enabled
    (i dont know what to set timing to, nothing anyone has since said helps)
    integrated perfs:
    usb controller - enabled (same errors if its disabled too so its not USB)
    usb device legacy support - disabled
    on chip IDE:
    operate mode - legacy mode
    ata config - pata only
    sata keep enabled - yes (for sata drive i have, error either way)
    pata channel selection - both
    onboard ethernet, 1394, prmoise ide and audio all DISABLED
    pc healt status:
    cpu - 49°C/120°F (idle sitting in bios)
    system temp - 28°C/82ºF
    cpu fan - 2678rpm
    nb fan speed - 6490rpm
    vcore - 1.456 up to 1.502
    3.3v - 3.232v
    +5.0v - 5.003v
    +12v - 11.680v
    -12v - -11.743v
    -5.0v - -4.826v
    battery - 2.896v
    +5V SB - 4.945
    freq/voltage control
    Dynamic OC - disabled
    cpu ratio locked
    dram freq - auto
    spread spectrum - enabled
    cpu bus clock - 200
    ddr clock (grayed out) - 400
    adjust agp/pci - 66.66/33.33
    cpu vcore adjust - no
    cpu vcore (grayed out) - 1.5500v
    ddr power voltage - 2.65v
    agp power voltage - 1.50v
    SOMEONE PLEASE HELP ME!!!!!
    i'm running out of time, money, patience.
    if it cant be solved i'm going to set myself on fire!

    Quote
    Originally posted by REILLY875
    Do NOT try the 250 Watt PSU!!, As "Wonk" said if you happen to Blow it, the PSU will most likely Take out the Mo-Bo with it! And maybe the CPU to, due to the Voltage Spike you would get ...I would not put to much Credence into the fact that as of now the +12V and the +3.3V Rails are reading a little low,(I say this because it is indeed a ANTEC), as this could be the Monitoring Hardware, or the Software that might be reading wrong....If I where you I would First set the Memory Timings Manually to 3-4-4-7-8, And up the DRAM (VDIMM) Voltage to 2.7 Volts, and if it still wont Load, I would Definitly try a different DIMM Slot, and Rince and Repeat .....If you dont mind me asking , Why are you running with just 1 Module?....Is it on purpose or are you saving up for More?................Sean REILLY875
    yea, i dont plan to run the 250. im gonna wait for the new 480.
    thanks for the info about ram timings as well. i havnt gotten any solid answers about what to set it to.
    even with new mobo and ram, i'm getting errors in memtest86 #4 test as i always have. i've tried different slots with same problems.
    i only have one module because i dont want to waste anymore money on a non-working system. once i get it up and running i'll add another 512.

Maybe you are looking for