• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

javac "Cannot find symbol"

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey guy's,

Javac keep giving me the error >Cannot find symbol<.
I searched the internet but without succes, so i hope someone here can help me.

I provided 3 attachments with all the information.

Thank you in advance.

Greeting,

Tim

Main.jpg
[Thumbnail for Main.jpg]
Persoon.jpg
[Thumbnail for Persoon.jpg]
cmd.jpg
[Thumbnail for cmd.jpg]
 
Marshal
Posts: 4501
572
VSCode Eclipse IDE TypeScript Redhat MicroProfile Quarkus Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please post the actual code rather than images and remember to use Code Tags
 
Ron McLeod
Marshal
Posts: 4501
572
VSCode Eclipse IDE TypeScript Redhat MicroProfile Quarkus Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
... and welcome to Code Ranch!
 
Tim Alkema
Greenhorn
Posts: 3
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I added the code
 
Ron McLeod
Marshal
Posts: 4501
572
VSCode Eclipse IDE TypeScript Redhat MicroProfile Quarkus Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Alkema wrote:Javac keep giving me the error >Cannot find symbol<. ...


It looks like you are compiling from within the package rather than from the root.  Try moving up one directory and compile using javac maandelijkseKosten\Main.java
 
Tim Alkema
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ron McLeod wrote:

Tim Alkema wrote:Javac keep giving me the error >Cannot find symbol<. ...


It looks like you are compiling from within the package rather than from the root.  Try moving up one directory and compile using javac maandelijkseKosten\Main.java



That did the trick!!! Thank you so much.
 
reply
    Bookmark Topic Watch Topic
  • New Topic