B4J Question I need to solve this problem when compiling the application.

Gabino A. de la Gala

Well-Known Member
Licensed User
Longtime User
I get the same error regardless of the Java version I use when compiling.

The fact is that this project was compiling without a problem but today when I started compiling it again I got those errors and I can't get it to work.

Thank you and greetings.

B4X:
B4J Versión: 9.30
Parseando código.    (0.06s)
    Java Versión: 8
Building folders structure.    (0.01s)
Compilando código.    (0.08s)
Compilado códigos de diseños.    (0.00s)
Organizando librerías.    (0.00s)
Compilando el código Java generado.    Error
javac 1.8.0_201
src\b4j\example\main.java:92: error: cannot find symbol
public static b4j.example.scrollinglabel _scrollinglabel1 = null;
                         ^
  symbol:   class scrollinglabel
  location: package b4j.example
1 error

*****************

B4J Versión: 9.30
Parseando código.    (0.06s)
    Java Versión: 11
Building folders structure.    (0.01s)
Compilando código.    (0.06s)
Compilado códigos de diseños.    (0.00s)
Organizando librerías.    (0.00s)
Compilando el código Java generado.    Error
src\b4j\example\main.java:92: error: cannot find symbol
public static b4j.example.scrollinglabel _scrollinglabel1 = null;
                         ^
  symbol:   class scrollinglabel
  location: package b4j.example
1 error

javac 11.0.1
 

Gabino A. de la Gala

Well-Known Member
Licensed User
Longtime User
I get the same error regardless of the Java version I use when compiling.

The fact is that this project was compiling without a problem but today when I started compiling it again I got those errors and I can't get it to work.

Thank you and greetings.

B4X:
B4J Versión: 9.30
Parseando código.    (0.06s)
    Java Versión: 8
Building folders structure.    (0.01s)
Compilando código.    (0.08s)
Compilado códigos de diseños.    (0.00s)
Organizando librerías.    (0.00s)
Compilando el código Java generado.    Error
javac 1.8.0_201
src\b4j\example\main.java:92: error: cannot find symbol
public static b4j.example.scrollinglabel _scrollinglabel1 = null;
                         ^
  symbol:   class scrollinglabel
  location: package b4j.example
1 error

*****************

B4J Versión: 9.30
Parseando código.    (0.06s)
    Java Versión: 11
Building folders structure.    (0.01s)
Compilando código.    (0.06s)
Compilado códigos de diseños.    (0.00s)
Organizando librerías.    (0.00s)
Compilando el código Java generado.    Error
src\b4j\example\main.java:92: error: cannot find symbol
public static b4j.example.scrollinglabel _scrollinglabel1 = null;
                         ^
  symbol:   class scrollinglabel
  location: package b4j.example
1 error

javac 11.0.1

I answer myself.

Solved.

It seems that the problem was due to having put a java #if before Process_Global.

Thans
 
Upvote 0
Top