compilation error: cannot access Byte

This is where you talk about the RCX software itself, installation issues, and programming talk.

Moderator: roger

fschuett
New User
Posts: 5
Joined: Thu Oct 25, 2007 2:59 pm
Location: Salzhemmendorf, Germany

compilation error: cannot access Byte

Postby fschuett » Fri Nov 11, 2016 9:16 am

Hello,
I'm working with lejos for rcx quite some years and never had problems.

Recently I discovered I cannot compile the simple TextLCD program

Code: Select all

fschuett@pc319-03:~/java/rcxproject1/src> cat newRCXJava.java

import josx.platform.rcx.*;

/**
 *
 * @author fschuett
 */
public class newRCXJava {
   
    public static void main(String[] args) {
        TextLCD.print("Hallo");
    }
   
}


On compilation the following error messages pops up:
newRCXJava.java:11: error: cannot access Byte
TextLCD.print("Hallo");
^
class file for java.lang.Byte not found
1 error


I don't understand the error because Byte is not the required type, String is.

Has anybody experienced this problem?

Thanks for any help.

Bye,
Frank

Return to “RCX Software”

Who is online

Users browsing this forum: No registered users and 1 guest