Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-30-2008, 03:15 PM
Member
 
Join Date: Jan 2008
Posts: 2
iwax is on a distinguished road
illegal character: \65279
Hello World,

I am using Linux system. I tried to complile a tutorial first application (HelloWorldApp.java) from SunMicrosystems and as a result I got an eror message as indicated in the title line ... quite frustrating...
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-30-2008, 03:21 PM
scuffia's Avatar
Member
 
Join Date: Jan 2008
Location: Cagliari (Italy)
Posts: 7
scuffia is on a distinguished road
...Character 65279 (FEFF in hex) is a byte order mark, apparently inserted
by your editor. For UTF-8, this serves no purpose, and it seems the Java
compiler disallows it completely (as byte order marks are generally not
used in Java)...
[googled it]
So it seems your text editor entered an illegal sequence of characters!
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 01-30-2008, 03:49 PM
Member
 
Join Date: Jan 2008
Posts: 2
iwax is on a distinguished road
Thanks for the reply!
So, what kind of solution would you recommend? Which text editor would be the right one, not causing this problem?
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 01-30-2008, 03:52 PM
scuffia's Avatar
Member
 
Join Date: Jan 2008
Location: Cagliari (Italy)
Posts: 7
scuffia is on a distinguished road
Actually I'm not really aware to Linux applications, but a colleague of mine said that "EMax" is a good text editor. Anyway try deleting characters at the beginning and the end of the file, maybe that "bad" character is over there.
I windows I use Eclipse and sometimes, when I'm in a hurry, Context, but I really don't know if there is a linux versione (is very good, simple to use, a lot of highlithers and freeware).
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
reading text character by character bugger New To Java 2 11-09-2007 09:54 PM
Illegal Start of an Expression David55 CLDC and MIDP 8 11-02-2007 10:11 PM
illegal start of expression & class, interface, or enum expected silverq_82 New To Java 9 08-08-2007 08:16 PM
Illegal start of expression gabriel New To Java 2 08-01-2007 06:09 PM
Illegal Start of an Expression David55 CLDC and MIDP 0 04-20-2007 06:59 AM


All times are GMT +3. The time now is 02:35 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org