Calguns.net  

Home My iTrader Join the NRA Donate to CGSSA Sponsors CGN Google Search
CA Semiauto Ban(AW)ID Flowchart CA Handgun Ban ID Flowchart CA Shotgun Ban ID Flowchart
Go Back   Calguns.net > GENERAL DISCUSSION > Technology and Internet
Register FAQ Members List Calendar Mark Forums Read

Technology and Internet Emerging and current tech related issues. Internet, DRM, IP, and other technology related discussions.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-07-2009, 9:49 AM
Dr Rockso's Avatar
Dr Rockso Dr Rockso is offline
Veteran Member
 
Join Date: Jan 2008
Location: San Jose
Posts: 3,696
iTrader: 6 / 100%
Default 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 at 2:33 PM..
Reply With Quote
  #2  
Old 09-07-2009, 12:52 PM
Dr Rockso's Avatar
Dr Rockso Dr Rockso is offline
Veteran Member
 
Join Date: Jan 2008
Location: San Jose
Posts: 3,696
iTrader: 6 / 100%
Default

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 at 12:58 PM..
Reply With Quote
  #3  
Old 09-07-2009, 1:56 PM
762cavalier's Avatar
762cavalier 762cavalier is offline
NRA Training Counselor
CGN Contributor
 
Join Date: Oct 2005
Location: Sacramento
Posts: 3,626
iTrader: 50 / 100%
Default

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.


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

Smog Inspections in the Sacramento area.
Reply With Quote
  #4  
Old 09-07-2009, 2:54 PM
wilit's Avatar
wilit wilit is offline
Veteran Member
 
Join Date: Dec 2005
Location: 37.78514 North 122.40100 West
Posts: 4,977
iTrader: 39 / 100%
Default

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.
Reply With Quote
  #5  
Old 09-07-2009, 3:54 PM
mountaindweller's Avatar
mountaindweller mountaindweller is offline
Senior Member
 
Join Date: Mar 2009
Location: Pasadena California
Posts: 539
iTrader: 12 / 100%
Default

Oh... I thought you meant coffee .
Reply With Quote
  #6  
Old 09-07-2009, 9:52 PM
domokun's Avatar
domokun domokun is offline
Veteran Member
 
Join Date: Apr 2008
Location: San Francisco Bay Area
Posts: 3,535
iTrader: 6 / 100%
Default

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.


Join today?
Reply With Quote
  #7  
Old 09-07-2009, 11:45 PM
trilogy's Avatar
trilogy trilogy is offline
Senior Member
 
Join Date: Nov 2006
Posts: 671
iTrader: 17 / 100%
Default

Quote:
Originally Posted by wilit View Post
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
Reply With Quote
  #8  
Old 09-08-2009, 12:15 AM
Dr Rockso's Avatar
Dr Rockso Dr Rockso is offline
Veteran Member
 
Join Date: Jan 2008
Location: San Jose
Posts: 3,696
iTrader: 6 / 100%
Default

I got some great help from a Calgunner today, thanks everybody.
Reply With Quote
  #9  
Old 09-09-2009, 10:31 PM
Macadelic4's Avatar
Macadelic4 Macadelic4 is offline
Member
 
Join Date: Jul 2008
Location: The free state of Georgia
Posts: 427
iTrader: 12 / 100%
Default

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!

Quote:
Originally Posted by wcnones View Post
Should I give them booze? I have Ralph's brand Kahlua and some Half and Half. Kids like chocolate milk, right?
Reply With Quote
  #10  
Old 09-10-2009, 12:11 AM
AfisBoy's Avatar
AfisBoy AfisBoy is offline
Member
 
Join Date: Dec 2006
Posts: 279
iTrader: 3 / 100%
Default

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.
Reply With Quote
  #11  
Old 09-19-2009, 3:14 AM
hellonfrank hellonfrank is offline
Junior Member
 
Join Date: Sep 2009
Posts: 3
iTrader: 0 / 0%
Default

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.
__________________
fete des peres

Last edited by hellonfrank; 09-23-2009 at 10:23 PM..
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -8. The time now is 2:06 PM.




Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Proudly hosted by GeoVario the Premier 2A host.
Calguns.net, the 'Calguns' name and all associated variants and logos are ® Trademark and © Copyright 2002-2016, Calguns.net an Incorporated Company All Rights Reserved.