Need help getting this Java app to work on Mac OS X

Aloha all,
I am testing this new Java app that was built that is based on th Axis and Allies strategy gaming engine. On the PC the author wrote a .bat file to launch the app and the JVM. But when I try and enter the arguments on the Mac OS X via the terminal window I get the Usage/Options argument options back. The ,bat file goes as follows:
java -Xincgc -classpath ../classes;../lib/crimson.jar;../lib/jaxp.jar games.strategy.engine.framework.GameRunner
It looks to me as if OS X if having problems with -Xincgc argument. I checked to see if I needed to download the JVM, but according to Apple it is already built in. Is there another way to enter the arguments to get this app to launch?
Maui Duck

Does OS X use ';' as a separator like windows, or does it use ':' like UNIX. that might be the problem.

Similar Messages

  • I am trying to get this java program to work

    I need your help, I am trying to get this java program to work. The program is long and massive, but I got stuck in the last point where the program checks if there are a double quotes or a comma in a string.
    The string is an URL retrieved from XML files (this is already done).
    There are 4 conditions:
    Case 1
    =====
    The URL string is of invalid format and contains no commas (,) and no double quotes (").
    Make no changes to the URL string.
    Case 2
    =====
    The URL string is of invalid format and contains 1 or more double quotes (") but no commas.
    Make no changes to the URL string.
    Case 3
    =====
    The URL string is of invalid format and contains 1 or more commas (,) but no double quotes.
    Modify the URL string so that it starts and ends with a double quote (").
    Case 4
    =====
    The URL string is of invalid format and contains 1 or more double quotes (") and one or more commas (,).
    Modify the URL string so that every double quote (") becomes a double double quote (""), and so that it starts and ends with a double quote (").
    ======
    then write the modified URL string to the CSV file.
    ======
    Examples:
    1. hello ---> hello
    2. hello "big" world ---> hello "big" world
    3. hello, world ---> "hello, world"
    4. hello "big,big" world ---> "hello ""big,big"" world"

    You can do the searching with String.indexOf() and then you can make replacements (like " with "") with String.replaceAll().
    As for adding leading and trailing ", that could be done with simple concatenation.

  • Need help getting Adobe OnLocation CS3 to work with windows 7 64 bit. Any ideas?

    Need help getting Adobe OnLocation CS3 to work with windows 7 64 bit.  The program installed ok and the S/N took.
    The program does record video and audio HDV M2T.
    The problem is video doesn't display or play back on the monitor component @ 16:9 or 720 p.  4:3....
    The scopes respond as do the audio components when recording. (with a blank monitor component).
    The video does play back on my system no problem.
    Any ideas?
    Dan

    Moving the discussion to OnLocation
    Thanks,
    Atul Saini

  • Desperately need help getting Flash music player to work correctly!

    I'm working up a Flash template for a site that has a music player for 3 different tracks.  The template came with 3 separate fla files for each track (Music1.fla, Music2.fla and Music3.fla), which I opened and imported my own mp3's into, set them to repeat only once, and then published the swf's.  The music player works fine, but when the first song ends, the music stops unless you click on the next music track in the player.  I'd like to have it where after the first song finishes it automatically starts playing the next song, then when it finishes the 3rd and final song it goes back to song one.  How can I do this?  Is it as easy as inserting some Actionscript into the Music fla's or would it have to be fixed in the player itself on the site's fla?
    I have the site uploaded here to check out:
    http://truetilldeathhq.com/main8_v7/main8_v7.html
    Thanks in advance for your help, I'm really in a bind and need to get this fixed quickly!!

    K, give this a shot.
    All you need to do is duplicate the code on the buttons in the sound controller that load the three songs.  So on the last frame of music1.fla, enter -
        path="music2.swf";
        loadMovieNum(path,1);
    Do the same for the other music flas using the next song number. You may have to add _root. before the loadMovieNum command, so it would be:
    _root.loadMovieNum(path,1);
    This will only work if the mp3s are imbedded in the music flas.  You will have to add a zillion frames to the timeline to see where the audio file ends, create a keyframe there and enter code on the keyframe.

  • I need help getting this program to work.

    K. I don't pay much attention in my AP Comp Science Class.. but my teacher said if i can get this program to work i get an a for the semester... The program is Metrowerks Codewarrior IDE.. we are running it on windows 98 i think. She said she can't get it to compile.. so i guess it just needs to be able to input simple java programs (i.e. loops, just the regular crap) and compile them and run them...i have no clue what is wrong with it.. it could just need a patch...or we may just be going about it the wrong way...any help would be SUPER appreciated...

    K. I don't pay much attention in my AP Comp Science
    Class.. but my teacher said if i can get this programYou better did.
    to work i get an a for the semester... The program is
    Metrowerks Codewarrior IDE.. we are running it on
    windows 98 i think. She said she can't get it toAtleast be sure of the OS.
    compile.. so i guess it just needs to be able to
    input simple java programs (i.e. loops, just the
    regular crap) and compile them and run them...i have
    no clue what is wrong with it.. it could just need aEven we don't.
    patch...or we may just be going about it the wrong
    way...any help would be SUPER appreciated...Nothing in your thread really speaks of the problem. And since you mentioned homework, there's hardly anyone to be interested in that.
    Regards
    ***Annie***

  • Need help getting this code to work

    I am trying to get this code to work using "if else statment" but it will only do the first part and not do the second part in the else statement. Can anyone help me out? Here is the code:
    var R1 = this.getField("Registration Fees1");
    var R2 = this.getField("Registration Fees2");
    var R3 = this.getField("Registration Fees3");
    var R4 = this.getField("Registration Fees4");
    var R0 = 0
    if (R0 == 0)
      event.value = Math.floor(R1.value);
    else
      event.value = Math.floor(R2.value + R3.value + R4.value);
    I did notice that if I fiddled around this this part:
    if (R0 == 0)
    sometimes I can get the second part to work but not the first. I need it to do either or and this is getting frustrating.
    I might also not even need "var R0 = 0". I put that there for the condition part. If that is what is causing the problem, I can take it out. But then what would the condition be? For this form, the default is 0 and then the calculation follows by user clicking on different prices. The first part is if they want to pay for the full conference and the second part is if they want to pay for either Monday, Tuesday or Wednesday or 2 of the 3 days. Is it possible to get this to work with both parts together? I am still stuck on getting just one or the other working. Any help would be greatly appreciated. Thanks in advance.

    I have posted this on another message board and a user by the name of gkaiseril offered this solution but it hasn't worked either.
    // all four days
    var R1 = this.getField("Registration Fees1").value;
    // Monday
    var R2 = this.getField("Registration Fees2").value;
    // Tuesday
    var R3 = this.getField("Registration Fees3").value;
    // Wednesday
    var R4 = this.getField("Registration Fees4").value;
    var Fee = 0
    event.value = ''; // default value
    if (R1 != 'Off') {
      Fee = Number(R1) + Fee;
    } else {
      if(R2 != 'Off') {
         Fee = Number(Fee) + R2;
      if(R3 != 'Off') {
         Fee += Number(R3);
      if(R4 != 'Off') {
         Fee = Number(R4) + Fee;
    event.value = Fee;

  • I have Photoshop Elements 12 that was purchased for my Windows 8 system in July of 2014.  I have never been able to get the organizer to work.  I need help getting this portion of the program to work.  I would like to talk with an Adobe tech.

    How is it that I can download and use Photoshop Elements 12 program editor and not have access to the organizer???

    Hi,
    The two applications (organizer & editor) can work independently and only talk to each other when they need to.
    Are you updating from a previous version or is this the first?
    There are (at least) three ways of starting the organizer:-
    1) from the Welcome screen
    2) from the editor - see button at the bottom of the editor window
    3) directly using windows explorer to locate and double click on the following
    "C:\Program Files (x86)\Adobe\Elements 12 Organizer\PhotoshopElementsOrganizer.exe"
    [ignore the (x86) part if on 32bit system]
    Can you get any of those ways to work? Do you get any error message or does nothing happen?
    You could try creating a new catalog to see if that helps.
    Start the organizer (in any of the ways) with the Shift key held down while it loads (if it does). That should bring up the catalog manager
    Click on the New button (top right)
    Give it a name like Dummy or Test and click on OK - that should create & open a blank catalog
    Brian

  • My Ipod touch has a blank screen and will not turn on. I have chaged it for a hour and tryed troubleshooting but nothing works. i need help getting this to work

    My ipod touch has a black screen and will not turn on. i have charged my ipod and tryed troubleshooting but nothing seems to work. what can i do to have my ipod turn on again?

    See Here...
    Frozen or unresponsive iPod touch
    Try this First... You will not lose any Data...
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...
    http://support.apple.com/kb/ht1430

  • Need help getting DataProvider cursor methods to work in JSC

    Hi, I'm a newbie to Creator as well as JSF. I'm using JSC Update 1. I've
    worked through a couple of the beginning tutorials including "Performing
    Inserts, Updates, and Deletes" without a problem. I'm now trying to
    craft a simple jsf database form application on my own using the sample
    travel database and I'm stuck!
    I put text fields on the form corresponding to each of the 4 fields in
    the PERSON table and bound them to the fields in the table which, on
    examination, resulted in a CachedRowSetDataProvider (personDataProvider)
    in Page1 and a CachedRowSetXImpl (personRowSet) in SessionBean1. I then put 4 buttons on the form (First, Previous, Next, Last) for record
    navigation. Here is the code I put in the first two actions (the others are
    the same except for the cursor methods):
    public String btn_firstrec_action() {
    try {
    personDataProvider.cursorFirst();
    } catch (Exception e){
    error("cursorFirst failed: " + e.getMessage());
    log("cursorFirst failed " , e);
    return null;
    public String btn_next_action() {
    try {
    personDataProvider.cursorNext();
    } catch (Exception e){
    error("cursorNext failed: "+ e.getMessage() );
    log("cursorNext failed " , e);
    return null;
    etc.
    When I run the application using the bundled app server I get strange
    behavior when I click the navigation buttons. There are 6 records in the
    table. The application opens up displaying the data for the first
    record. Clicking "Next" takes me to record 2--so far so good. However,
    with repeated clicks on "Next", "Previous", "First" the data displayed in
    the form remains the same. If I click "Last" (personDataProvider.cursorLast(); ), the data from record 6 is rendered OK!
    I worked a little in the debugger. I added a cursorChanging method and
    put a break point in there. Then I watched the index attributes for rk1
    an rk2 as I continued the execution. I had to hit Alt+F5 (Continue)
    2 to 4 times on each button click depending on the action--4X
    with "Next" and "Previous". For each button click the index values would
    change at first to what logically seemed the correct values but
    then snap back to 0 or 1 as I kept continuing depending on the sequence--
    wierd to me.
    I also tried configuring all the form fields in a virtual form with
    "Participate" on for the text fields and "Submit" on for the buttons
    with the same result (I was really "shooting in the dark" here!).
    I'm obviously missing something here--this shouldn't be this difficult!
    I have scanned through a lot of the excellent tutorials, articles and forum posts as well as some of the sample apps but haven't as yet found a similar example of using the DataProvider cursor methods which seems pretty basic to me but, I could have easily missed seeing what I needed.
    Any help would be greatly appreciated--I'm really counting on this tool
    to get an overdue project going so I'm somewhat desperate.
    Thanks, Len Sisson

    This happened to me as well the first time I used the JSC (and I was a newbie in web). I believe it is because everytime you hit the button, actually the sequence of program will back to init(), button_action(), prerender(), destroy(). So, try to remember the last state of the cursor position using session variable. And then you put a code in the init() to move back to the last cursor position.
    Check the sample program provided by JSC (SinglePageCrudForm). This sample demonstrate how to put a code in init(), destroy() in order to 'remember' the last position.
    hope that helps
    Message was edited by:
    discusfish

  • I need help getting my Thunderbolt display to work with Windows 7 through Bootcamp.

    I recently bought a thunderbolt display and it works great in my Mac environment.  But I recently added Bootcamp and Windows 7 (I need since my Broker Dealer only uses Internet Explorer).  Unfortunately, I can't seem to get Windows to recognize my Thunderbolt display.  Today, I spent 2 hours with a very kind advisor from Apple Support but we didn't have any success.
    Here's my setup:
    MacBook Pro (purchased new in 2011) with i7 processor
    Thunderbolt Display
    Lion OS (all updates installed)
    Bootcamp with Windows 7 Ultimate 64-bit (all updates installed)
    With the help of Apple Support, I downloaded and reinstalled (through the repair option) all the Bootcamp drivers.  I shut down my computer, plugged in the Thunderbolt display, turned it on and booted into Windows 7.  When the Windows Welcome screen appears, it shows on my Thunderbolt display for about 2-3 seconds.  But the thunderbolt quickly goes black.  My MacBook Pro changes to a 640x480 resolution and the Thunderbolt remains blacked out--with no signs of even a single flicker.  Once the computer finishes the start-up, my MacBook Pro remains in a 640x480 resolution, with no option to change the resolution (it's grayed out in Windows control panel).  If I unplug the Thunderbolt cable from my MacBook pro, the high resolution of my MacBook pro snaps back to normal.
    To me, this seems like some type of driver problem but I must be missing something simple because it appears that Thunderbolt works with Bootcamp and Windows 7--based on some of the readings I've found here in the Apple support community.  I'm most appreciative of anyone's help here.

    Moving the discussion to OnLocation
    Thanks,
    Atul Saini

  • Need help getting my itunes library to work!!

    Recently my computer CRASHED.... it wouldn't let me into windows, it was pulling all kinds of error messages. So to fix the problem I wiped the system and reinstalled everything. However, now the Itunes that came with my Ipod doesnt work... So I came here to the Apple website and downloaded and installed the LATEST version. That opened and ran fine, however it wants me to erase my Ipod because the library is on another version of Itunes and you can't have more than one. So I deleted itunes again and haven't placed it back in since I dont know what to do to fix the problem. There is nearly NO space on the computer even though there is about 1/20th of what was on it PRIOR to the crash, in it now. Can anyone help me figure out how to get my itunes to work again without completely erasing my ipod?

    There is nearly NO space on the computer even though there is about 1/20th of what was on it PRIOR to the crash, in it now
    I highly suggest before you fix your computer before you worry about getting iTunes installed, especially since you seem to be missing a large portion of your HD space.
    To get music off your iPod, there are lots of applications to do this.
    Check out this post...
    http://discussions.apple.com/thread.jspa?messageID=4110751?

  • I need help getting this video into itunes and on my ipod.

    i don't know if this is possible...
    the band the films have a new music video "black shoes" on their website. www.the-films.com i got it on my computer and it plays as a movie in quicktime, but i can't figure out how to get it into itunes and on my ipod, if that's possible. i tried to open it in imovie and i couldn't get that to work either. any help would be awesome. thanks.

    To get it into iTunes go to file-->add to library and find the file.
    Try opening quicktime and open the file. Does it play there? It has to be able to play in QT otherwise iTunes will not accept it.
    btabz

  • Need help with this java thing

    i got a script for virtual keyborad but i don't know much javascript
    so need your help to fit this script to my htmldb application .
    i have page with textare name P2_MESSAGE_DESC
    i put the image near the textarea and i want the textarea to "get" what i type in the keyboard image.
    here is the hava script :
    <SCRIPT language=JavaScript>
    //This var is changed on Unload from talkback to 'false' in order to not generate this onUnload
    var DoUnload = true;
    //var theInputName = opener.document.myform.inputName.value;
    var theInputLength;
    function doInsert(theChar) { 
       opener.document.myform(opener.document.myform.inputName.value).value += theChar;
    function doDelete() {   
      theInputLength = opener.document.myform(opener.document.myform.inputName.value).value.length;       
      if(theInputLength > 0) {   
         if(opener.document.myform(opener.document.myform.inputName.value).value.substring(theInputLength-1,theInputLength)=="\n") {
              opener.document.myform(opener.document.myform.inputName.value).value = opener.document.myform(opener.document.myform.inputName.value).value.substring(0,theInputLength-2);
         } else {
              opener.document.myform(opener.document.myform.inputName.value).value = opener.document.myform(opener.document.myform.inputName.value).value.substring(0,theInputLength-1);
    function doSubmit() {
       //opener.document.myform.submit();
       window.close();
    </SCRIPT>
    <IMG height=159 src="#WORKSPACE_IMAGES#kbd.GIF" width=341 useMap=#HebMap border=0>
    <MAP name=HebMap>
    <AREA shape=RECT coords=272,94,297,120 href="javascript:doInsert('.')">
    <AREA shape=RECT coords=246,94,271,120 href="javascript:doInsert('&#1509;')">
    <AREA shape=RECT coords=220,94,245,120 href="javascript:doInsert('&#1514;')">
    <AREA shape=RECT coords=194,94,219,120 href="javascript:doInsert('&#1510;')">
    <AREA shape=RECT coords=168,94,193,120 href="javascript:doInsert('&#1502;')">
    <AREA shape=RECT coords=142,94,167,120 href="javascript:doInsert('&#1504;')">
    <AREA shape=RECT coords=116,94,141,120 href="javascript:doInsert('&#1492;')">
    <AREA shape=RECT coords=90,94,115,120 href="javascript:doInsert('&#1489;')">
    <AREA shape=RECT coords=64,94,89,120 href="javascript:doInsert('&#1505;')">
    <AREA shape=RECT coords=38,94,63,120 href="javascript:doInsert('&#1494;')">
    <AREA shape=RECT coords=286,67,311,93 href="javascript:doInsert(',')">
    <AREA shape=RECT coords=260,67,285,93 href="javascript:doInsert('&#1507;')">
    <AREA shape=RECT coords=234,67,259,93 href="javascript:doInsert('&#1498;')">
    <AREA shape=RECT coords=208,67,233,93 href="javascript:doInsert('&#1500;')">
    <AREA shape=RECT coords=182,67,207,93 href="javascript:doInsert('&#1495;')">
    <AREA shape=RECT coords=156,67,181,93 href="javascript:doInsert('&#1497;')">
    <AREA shape=RECT coords=130,67,155,93 href="javascript:doInsert('&#1506;')">
    <AREA shape=RECT coords=104,67,129,93 href="javascript:doInsert('&#1499;')">
    <AREA shape=RECT coords=78,67,103,93 href="javascript:doInsert('&#1490;')">
    <AREA shape=RECT coords=52,67,77,93 href="javascript:doInsert('&#1491;')">
    <AREA shape=RECT coords=26,67,51,93 href="javascript:doInsert('&#1513;')">
    <AREA shape=RECT coords=247,40,272,66 href="javascript:doInsert('&#1508;')">
    <AREA shape=RECT coords=221,40,246,66 href="javascript:doInsert('&#1501;')">
    <AREA shape=RECT coords=195,40,220,66 href="javascript:doInsert('&#1503;')">
    <AREA shape=RECT coords=169,40,194,66 href="javascript:doInsert('&#1493;')">
    <AREA shape=RECT coords=143,40,168,66 href="javascript:doInsert('&#1496;')">
    <AREA shape=RECT coords=117,40,142,66 href="javascript:doInsert('&#1488;')">
    <AREA shape=RECT coords=91,40,116,66  href="javascript:doInsert('&#1512;')">
    <AREA shape=RECT coords=65,40,90,66  href="javascript:doInsert('&#1511;')">
    <AREA shape=RECT coords=39,40,64,66 href="javascript:doInsert('\'')">
    <AREA shape=RECT coords=13,40,38,66 href="javascript:doInsert('/')">
    <AREA shape=RECT coords=303,14,328,39 href="javascript:doInsert('0')">
    <AREA shape=RECT coords=277,14,302,39 href="javascript:doInsert('9')">
    <AREA shape=RECT coords=251,14,276,39 href="javascript:doInsert('8')">
    <AREA shape=RECT coords=225,14,250,39 href="javascript:doInsert('7')">
    <AREA shape=RECT coords=199,14,224,39 href="javascript:doInsert('6')">
    <AREA shape=RECT coords=173,14,198,39 href="javascript:doInsert('5')">
    <AREA shape=RECT coords=147,14,172,39 href="javascript:doInsert('4')">
    <AREA shape=RECT coords=121,14,146,39 href="javascript:doInsert('3')">
    <AREA shape=RECT coords=95,14,120,39  href="javascript:doInsert('2')">
    <AREA shape=RECT coords=69,14,94,39   href="javascript:doInsert('1')">
    <AREA shape=RECT coords=13,14,67,39 href="javascript:opener.nextField()">
    <AREA shape=RECT coords=273,40,328,66 href="javascript:doDelete()">
    <AREA shape=RECT coords=78,121,258,147 href="javascript:doInsert(' ')">
    <AREA shape=RECT coords=272,121,327,147 href="javascript:doInsert('\n')">
    </MAP>i just need to figure out the :
    opener.document.myform(opener.document.myform.inputName.value).value += theChar;
    how to change it to my p2_message_desc ?
    thanks

    thanks carl ,
    i changed it to:
    document.getElementById('P2_MESSAGE_DESC').value += theChar;
    and it put me the keyword in the textarea.
    one problem left :-(
    i want it to put the keyword where the cursor is for example
    if i have this sentence in my textarea:
    i love oracle htmldb application
    and cursor is before htmldb word and i enter the word (push the virtual keyboard bottons):
    develope
    the sentence will be:
    i love develope oracle htmldb application .
    now if i do that i'm getting:
    i love oracle htmldb application develope.
    i hope you get my point.
    thanks

  • Need help getting my netflix app to play on TV

    I recently purchased a rocketfish component AV cable so I can watch videos from my iphone on my TV, but no luck. I conected the cable(correctly, I checked), and the most I get from my youtube app is audio and scrambled lines. From my netflix app, which is mainly why I wanted to do this, the most I get is audio. No video, but the video still plays on my iphone screen. Where as in my youtube app the iphone screen displays saying the video is playing on my TV. In reading some older posts, I suspect I may have 2 issues but haven't gotten a difinative solution. As far as what I'm getting from the youtube app I suspect the cable may be faulty. For the netflix what I had seen on other posts there was talk of glitches and needing updates, new versions being incompatable, even talk of conspiracy theories, but really I'm sure by now this issue has to have been resolved, I just can't find an answer as to how. Anyone have any solution. Do I need an update, a different cable???

    Does OS X use ';' as a separator like windows, or does it use ':' like UNIX. that might be the problem.

  • Need help getting my 120g hd to work

    hello there folks,
    i was wondering if i could get some help with a hard drive issue. i recntly got a g4 that was thrown out due to upgrading. i was told the only thing wrong with it was that the hard drive was taken out. so i went out and got a 120g hd and installed it. the machine turns on and all, every thing is cool. the thing is, it running of a 25g hd. what i want to do is make the 120g drive i bought the main drive. i want to run everything off this drive. is that the right thing to do? should i still use the 25g drive? i don't realy know. i went to disk utilitys but cant figure out how to do this. can some one help me. im just not that good at this kind of stuff yet. hope i explained my self corectly. please don't laugh at me im not a mac genius yet. lol
    thanks in advance.

    when i start up the computer i get a message that says
    DISK INSETION
    the disk you inserted was not readable by this computer
    initiate ignore
    i click on initiate but don't know what do do next.
    it shows the dirve in the right colomb but i don't know what to do from there.
    do i have the right drive? i bought it from techserve i told them what i had and that's what they gave me.
    im on the computer now, so it must be the corect one right?
    would the computer still run if it was the wrong drive.
    what do i have to do?

Maybe you are looking for

  • Referencing an inner swingworker class in a JPanel class...?

    Hi, I've got an inner swingworker class defined inside an extended JPanel (we'll call it middleJ) class. Basically the swingworker class runs off a filtered file chooser. I have a method in the JPanel class that instantiates the inner class and kicks

  • Screen turns blue in iPhone 5s

    i got iphone5s. but when i started using it , after 3-4 hours suddenly apple logo appeared and then t started flashing. i pushed home and lock button together for 10-15 secs and then apple logo appeared again and then loading sign came and there was

  • Video Tearing - Wake Up Apple

    So far every mpeg4 video that I have played in Quicktime has major tearing. From iTunes Tv shows at 320x240 24fps to 480p/720p HD Movie trailers, they all tear. My system can play back Full 1080p HD WMV trailers, and HD mpeg2 transport streams beauti

  • I am using iBooks Author to write lesson plans.  Anyone else working on this?

    I am working with my district's professional development office to utilize iBooks for lesson plans.  The idea is to provide teachers with digital teaching so they will be better equipped for digital learning.  Anyone else working on this? 

  • SDO_LENGTH vs Mapviewer Distance Tool

    Hello All we have an issue related with sdo_length function Using distance tool i take the length of my lenear geometry , and it shows 62.568 YARD , by using following sdo_length query i got different answer 78.09 . select SDO_GEOM.SDO_LENGTH(st.OGC_