Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Bonjour Mon Amis

  1. #1
    Junior Member
    Join Date
    Oct 2017
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Bonjour Mon Amis

    I am an IT Grad and have not done any java programming before. However, my SUPERSMART wife is now working on her 3rd Masters and itś in IT.

    She is on her first Java Programming course and as so I am attempting to get my Raspberry PI3 setup for her to use. However this day I have a problem I was
    hoping some of you may help us in:

    I have been working on the pi3 for about a month and just realized i had an error when I was attempting to compile an easy java program.
    The error I am sure is tied to the fact that the pi3 has ¨UK¨"as itś default keyboard. So i went to the terminal and did a cat on /etc/default/keyboard file and it
    showed UK as the default. I did a vim on it and changed it to the ¨us¨ and saved it.

    Later I did a reboot but the problem is still there and here is the error code from the bluej java logfile.txt:

    /home/pi/Letty_Java/firstprog/firstprog/firstprog.java:13: error: illegal character: '\u00a8'
    System.out.println(¨WELCOME LETICIA¨);

    Sure could use help from all you CS/IT people!

    cajunchief

  2. #2
    Member
    Join Date
    Aug 2017
    Location
    Northern Ireland
    Posts
    59
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Bonjour Mon Amis

    The compiler complaint is because your String quotes are not really String quotes. Did you cut and paste the program from somewhere? A website perhaps?

    They should be standard double quotes, like this "
    System.out.println("WELCOME LETICIA");
    Tim Driven Development

Similar Threads

  1. Environment issue with Bonjour API
    By DarkRoast in forum What's Wrong With My Code?
    Replies: 2
    Last Post: December 29th, 2010, 08:02 PM
  2. Bonjour
    By larde in forum Member Introductions
    Replies: 3
    Last Post: January 4th, 2010, 01:57 PM