🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.compiler
1 messages
1 total messages Started by mitch Fri, 01 Dec 2006 12:58
StringBuilder error using Java 1.5
#126
Author: mitch
Date: Fri, 01 Dec 2006 12:58
16 lines
1504 bytes
I just switched over from Java 1.4 to 1.5, using JBuilder 2005, and I
started getting this error message:

"StringTest.java": cannot access java.lang.StringBuilder;
java.lang.StringBuilder at line 4, column 13

for this simple program:

public class StringTest {
  public StringTest() {
    String s = "hello";
    s = s + 'x'; // line 4
  }
}

How can I fix this? Thanks.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads