Unconfigured Ad Widget

Collapse

Any Java experts here?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dr Rockso
    Veteran Member
    • Jan 2008
    • 3701

    Any Java experts here?

    I have to compile some java code someone sent me, but it's getting a runtime error related to the main method and I'm not much of a code monkey (and the monkeying I do isn't in Java).

    I'm sure this would be stupid-easy for someone with any experience to figure out. If you have a couple of minutes to give me a hand please PM me since I'd rather not post the source code.
    Last edited by Dr Rockso; 09-07-2009, 2:33 PM.
  • #2
    Dr Rockso
    Veteran Member
    • Jan 2008
    • 3701

    Alright, I'll sweeten the deal. If you can fix this and you're local to San Jose I'll compensate you with your choice of one of the following.

    2 boxes (100 rounds) Blazer Brass 9mm
    2 boxes (40 rounds) Remington UMC .223
    4 boxes (100 rounds) Federal 7 1/2 shot trap loads 12g
    4 boxes (40 rounds) Swiss GP11 7.5x55
    4 boxes (80 rounds) Bulgarian 7.62x54R

    Or I can just mail you a check for $20 (or mail it to CGF if you'd prefer) if you're not local or don't want to bother with the ammo thing. If you know Java I'll bet it won't take you 10 minutes to laugh at my ignorance and throw in a couple lines of code.
    Last edited by Dr Rockso; 09-07-2009, 12:58 PM.

    Comment

    • #3
      762cavalier
      NRA Training Counselor
      CGN Contributor
      • Oct 2005
      • 3626

      Sorry Not a Java expert, but I did stop by a Starbuck's today.
      In any type of fight, & especially gun fights, there are no winners ..... just varying degrees of losers. The only fight you win is the one you never get into.

      sigpic
      NRA Certified Instructor
      Rifle, Pistol, Shotgun, Home Firearms Safety,Muzzleloading, Personal Protection Series, Chief Range Safety Officer, Refuse to be a victim Regional counselor

      Comment

      • #4
        wilit
        Calguns Addict
        • Dec 2005
        • 5213

        I'm certainly not a Java expert, but I just recently completed a Java programming class. What kind of program is it?
        "If a man hasn't found something worth dying for, he isn't fit to live." - Martin Luther King Jr.
        "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." - Benjamin Franklin
        "You have to be willing to swing your nuts like a deadblow hammer to put these jackasses in their place." - AJAX22
        "The best defense against usurpatory government is an assertive citizenry." - William F Buckley Jr.
        sigpic

        Comment

        • #5
          mountaindweller
          Senior Member
          • Mar 2009
          • 528

          Oh... I thought you meant coffee .

          Comment

          • #6
            domokun
            Veteran Member
            • Apr 2008
            • 3525

            Sorry Java does not compute. *segfault*
            "Can our form of government, our system of justice, survive if one can be denied a freedom because he might abuse it?" --Harlon Carter
            "A government big enough to give you everything you want is a government big enough to take from you everything you have." --Gerald Ford
            "Government is essentially the negation of liberty." --Ludwig von Mises
            "You cannot invade mainland United States. There would be a rifle behind each blade of grass." --Admiral Yamamoto
            USS Hornet ARC Member.

            sigpic
            Join today?

            Comment

            • #7
              trilogy
              Senior Member
              • Nov 2006
              • 669

              Originally posted by wilit
              I'm certainly not a Java expert, but I just recently completed a Java programming class.
              I'm in the same boat but if it's still not fixed pm me the source code and I'll give it a whirl.

              --Matt

              Comment

              • #8
                Dr Rockso
                Veteran Member
                • Jan 2008
                • 3701

                I got some great help from a Calgunner today, thanks everybody.

                Comment

                • #9
                  Macadelic4
                  Member
                  • Jul 2008
                  • 423

                  How did I miss this thread?!?!?! I CAN ALMOST TASTE THE .223 I ALMOST GOT!

                  Good to hear that this was resolved, in any case. Anyone else need Java help?
                  Former (graduated ) Financial Officer of the Marksmanship Club at UCSD. CHECK THEM OUT!

                  Originally posted by wcnones
                  Should I give them booze? I have Ralph's brand Kahlua and some Half and Half. Kids like chocolate milk, right?

                  Comment

                  • #10
                    AfisBoy
                    Member
                    • Dec 2006
                    • 284

                    Can you run it and get a trace to a specific point in the code? If so, post the code and stack trace and maybe I can figure it out.

                    Comment

                    • #11
                      hellonfrank
                      Junior Member
                      • Sep 2009
                      • 3

                      Hi,
                      If you should have problem with to compile the java code.Then compile the java code with following way,
                      1) compile Javac (name of the class).java
                      2) Then make some .class files in your folder
                      3) Run with Java (file name)
                      Thanks for sharing this information.
                      Last edited by hellonfrank; 09-23-2009, 10:23 PM.
                      fete des peres

                      Comment

                      Working...
                      UA-8071174-1