Quoteinit:
deps-jar:
Compiling 1 source file to /Users/jamesvalente/Documents/Papers/Lab1-backup/Lab1/Hello World App/build/classes
javac: invalid target release: 1.6
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are used
-classpath <path> Specify where to find user class files
-cp <path> Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class files
-extdirs <dirs> Override location of installed extensions
-endorseddirs <dirs> Override location of endorsed standards path
-d <directory> Specify where to place generated class files
-encoding <encoding> Specify character encoding used by source files
-source <release> Provide source compatibility with specified release
-target <release> Generate class files for specific VM version
-version Version information
-help Print a synopsis of standard options
-X Print a synopsis of nonstandard options
-J<flag> Pass <flag> directly to the runtime system
BUILD FAILED (total time: 0 seconds)
JMV didn't sticky this. :'(
fix it yet
Quote from: Commodore Guff on September 12, 2007, 01:08:35 PM
fix it yet
guff do you know how to use netbeans?
i want to do something.
dear jmv
install developer tools from your os x install disc 1
love
lawlz
Quote from: Lawlz on September 12, 2007, 01:11:56 PM
dear jmv
install developer tools from your os x install disc 1
love
lawlz
:|
netbeans alone won't work?
Quote from: JMV290 on September 12, 2007, 01:09:19 PM
guff do you know how to use netbeans?
i want to do something.
a what with the huh
ps i don't like java and have always avoided working with it whenever possible
Quote from: JMV290 on September 12, 2007, 01:12:19 PM
:|
netbeans alone won't work?
Just try Xcode, since it handles everything. psyduck;
Quote from: Lawlz on September 12, 2007, 01:13:55 PM
Just try Xcode, since it handles everything. psyduck;
Because that's what I'm using in class, right? psyduck;
Quote from: JMV290 on September 12, 2007, 01:15:49 PM
Because that's what I'm using in class, right? psyduck;
...You don't need to use the same exact app that you use in class. Xcode handles Java, Objective C, and pretty much everything else. Hell, if you want, just use Xcode to compile. psyduck;
Quote from: Lawlz on September 12, 2007, 01:17:34 PM
...You don't need to use the same exact app that you use in class. Xcode handles Java, Objective C, and pretty much everything else. Hell, if you want, just use Xcode to compile. psyduck;
When you're just beginning a programming class, it's more productive to use what the teacher and the textbook are talking about.
If something fucks up it's easier to figure out what caused the problem.
Quote from: JMV290 on September 12, 2007, 01:19:30 PM
When you're just beginning a programming class, it's more productive to use what the teacher and the textbook are talking about.
If something fucks up it's easier to figure out what caused the problem.
cool
how about you install it and see how it works
Quote from: Lawlz on September 12, 2007, 01:20:30 PM
cool
how about you install it and see how it works
how about you get on aim so i can ask you questions.
:'( Lawlz
what do i click on the cd
Quote from: JMV290 on September 12, 2007, 01:39:11 PM
:'( Lawlz
what do i click on the cd
um wut
install developer tools
Quote from: Lawlz on September 12, 2007, 02:19:04 PM
um wut
install developer tools
which folder on disc 1 is that
Quote from: Lawlz on September 12, 2007, 02:43:19 PM
search
Is it in the Xcode Tools or the Bundled software?
Quote from: JMV290 on September 12, 2007, 02:53:51 PM
Is it in the Xcode Tools or the Bundled software?
xcode
My G5 and C2D had it labeled as Developer Tools. caterpie;
Quote from: Lawlz on September 12, 2007, 02:59:29 PM
xcode
My G5 and C2D had it labeled as Developer Tools. caterpie;
k i clicked xcodetools.mpkg and installed a 2.9GB file.
It still doesn't work.
Quote from: JMV290 on September 12, 2007, 03:34:12 PM
k i clicked xcodetools.mpkg and installed a 2.9GB file.
It still doesn't work.
LEARN TO CODE PROPERLY
Quote from: Lawlz on September 12, 2007, 03:34:52 PM
LEARN TO CODE PROPERLY
it's not the code. It works fine at school.
Quote from: JMV290 on September 12, 2007, 03:35:27 PM
it's not the code. It works fine at school.
lern 2 cumpiel
Quote from: Lawlz on September 12, 2007, 03:37:17 PM
lern 2 cumpiel
I can't build the code, so I can't compile it.
o i give up. that one sux anyway. I'll just work on my cool app.
Quote from: JMV290 on September 12, 2007, 03:50:45 PM
I can't build the code, so I can't compile it.
uh building is compiling psyduck;
Quote from: Commodore Guff on September 12, 2007, 04:02:51 PM
uh building is compiling psyduck;
oops.
lol well I'm not sure what the error is, so I started from scratch.
I can't view the code of that one to find the errors.
Quote from: JMV290 on September 12, 2007, 04:03:52 PM
oops.
lol well I'm not sure what the error is, so I started from scratch.
I can't view the code of that one to find the errors.
Xcode should have little symbols that display wherever you messed up. psyduck;
also i think jmv should quit programming since its way over his head
Quote from: Lawlz on September 12, 2007, 04:07:49 PM
Xcode should have little symbols that display wherever you messed up. psyduck;
also i think jmv should quit programming since its way over his head
It was just that one file. psyduck;
// Addition program that displays the sum of two numbers.
import java.util.Scanner; // program uses class Scanner
public class calculator
{
// main method begins execution of Java application
public static void main( String args[] )
{
// create Scanner to obtain input from command window
Scanner input = new Scanner( System.in );
int number1; // first number to add
int number2; // second number to add
int sum; // sum of number1 and number2
int difference; // diference of number1 and number2
int product; // product of number1 and number2
int quotient; //quotient of number1 and number2
int remainder; // remainder after dividing number1 and number2
System.out.print( "Enter first integer: " ); // prompt
number1 = input.nextInt(); // read first number from user
System.out.print( "Enter second integer: " ); // prompt
number2 = input.nextInt(); // read second number from user
sum = number1 + number2; // add numbers
difference = number1 - number2; // subtract numbers
product = number1 * number2; // multiply numbers
quotient = number1 / number2; //divide numbers
remainder = number1 % number2; //find remainder
System.out.printf( "Sum is %d\n", sum ); // display sum
System.out.printf( "Difference is %d\n", difference ); //display difference
System.out.printf( "Product is %d\n", product ); // display product
System.out.printf( "Quotient is %d\n", quotient ); // display quotient
System.out.printf( "The Remainder is %d\n", remainder ); // display remainder
} // end method main
} // end class Addition
/**************************************************************************
*Oh cool I made a program *
*************************************************************************/
Quote from: Lawlz on September 12, 2007, 04:07:49 PM
also i think jmv should quit programming since its way over his head
what programming have you done
Quote from: Commodore Guff on September 12, 2007, 04:15:19 PM
what programming have you done
nun rly
i know applescript since its really just english and i did start on objective c but i learned i probably couldnt do it
O look it worked ^____^
james-valentes-computer:~ jamesvalente$ java -jar "/Users/jamesvalente/Documents/Papers/CalculatorApp/dist/CalculatorApp.jar"
Enter first integer: 5
Enter second integer: 34
Sum is 39
Difference is -29
Product is 170
Quotient is 0
The Remainder is 5
james-valentes-computer:~ jamesvalente$
Also, Lawlz. Having problems with an IDE we've only used twice(We've only had 3 classes so far), and on a Windows based PC doesn't seem like an inability to comprehend a class.
Quote from: Lawlz on September 12, 2007, 04:17:08 PM
i know applescript since its really just english and i did start on objective c but i learned i probably couldnt do it
okay what have you done with applescript
objective c sucks
Quote from: Commodore Guff on September 12, 2007, 04:22:39 PM
okay what have you done with applescript
objective c sucks
i once used html ^______^ i know how to hack
prepare to die
<body bgcolor="#FF0FF0">
Quote from: Commodore Guff on September 12, 2007, 04:22:39 PM
okay what have you done with applescript
objective c sucks
made calculators a simple little text adventure like thing and just commands telling other apps to do stuff applescript is really limited
y
o wait wtf. the remainder isn't 5 fucking retarded java.
5/34 would be 0 and have a remainder of 34.
psyduck;
Quote from: Lawlz on September 12, 2007, 04:29:32 PM
made calculators a simple little text adventure like thing and just commands telling other apps to do stuff applescript is really limited
y
lol you suck
hardly used for anything, not much special about it
javac: invalid target release: 1.6
is that the error?
Also, where is J2SE 6.0 for OS X? maybe that will halp jmv
o poor jmvs :(
Quote from: Boyah.net on September 12, 2007, 08:16:21 PM
o poor jmvs :(
can you delete ur harddrive it might fix my computer.
Quote from: JMV290 on September 12, 2007, 08:20:33 PM
can you delete ur harddrive it might fix my computer.
How do I do that? powerofone;