954,184 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Java Compiler not working

I am brand new to the world of java and was working on a tutorial from the java website. I was feeling all cool writing my code and getting it and then when i tried to compile a bycycle program i got a error message reading:

[/Users/Sam/Bicycle/build.xml:29: Compile failed; see the compiler error output for details.]

so then i went to the Copiler error thingy and got alot og code :eek:

[<?xml version="1.0" encoding="UTF-8"?>

]

being new to this this mines well be spanish
all i know for sure is that this line was highlighted:

[classpathref="lib.path" debug="${compile.debug}">]

and this is the link to the tutorial i was working on:
http://java.sun.com/docs/books/tutorial/java/concepts/class.html

and I am woriking on Xcode
so i am wondering is this due to bad progamming by me or something wrong with Xcode and can i fix it?

mesamb1
Junior Poster
125 posts since Feb 2006
Reputation Points: 24
Solved Threads: 3
 

That bicycle program is very simple, from the looks of it.

Therefore I would guess your problem is that you haven't set the path to your compiler correctly or something similar.

It's something you invariably have to do at some point. So you might as well learn it now.

???

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

I will look at and see if that helps at all

mesamb1
Junior Poster
125 posts since Feb 2006
Reputation Points: 24
Solved Threads: 3
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You