hello am experiencing two problems:

1) am getting this error and i do not know what it means:

Hello.java:1:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘java’

2) how do i get the header file javaCompilor.tab.h, i already have a javaCompilor.tab.c file

Recommended Answers

All 3 Replies

Doesn't look like java code.
Are you lost?

Can you explain where you are and what you are doing?

i am constructing a compilor using java and my source file is a simple "Hello World" java file. My still struggling with the 1st problem i managed to help help with the second one.

Can you add some more details about your problem.
Nothing you have posted has any meaning without context.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.