Author Topic: Trouble with Java settings Geany  (Read 84 times)

Offline Mynaardt

  • Member
  • ***
  • Posts: 161
  • Karma: 18
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9
Trouble with Java settings Geany
« on: July 16, 2020, 12:27:50 pm »
Hello there!

Good news is that I've been having no problems with Peppermint for a long time now (hence, my absence).   :)

However, I've got a wee problem with setting up Geany for Java, as the banner says...   ???

I'll be taking a Uni course on OOP, which is in Java.  Which I've not yet worked with.
So, I wanted to get a head start on learning something about Java.

Compiling:  Nooooo problem!
Running the program is when I got ...
Code: [Select]
Error: Could not find or load main class
I did find out that I need to set a class path.  Found out what it is and why I need and all that useful stuff.

But I couldn't find anything helpful online about how to set that in Linux.    :-\

Could someone familiar with Geany and Java give me a nudge in the right direction for that?

I did try ...
Code: [Select]
java -cp "/usr/share/java" "%e"... in th execute portion of the Execution commands, but that didn't work.

Thank you ever so much, whoever could help me in advance...   8)

~*~  Mynaardt  ~*~
(Victoria, BC, Canada)
Peppermint OS is your computer's friend,
Always Trust Peppermint OS!