Using Geany Portable

A forum to discuss Java programming related issues and concerns.
no avatar
Posts: 1
Joined: Fri Jun 22, 2012 3:09 pm
Location: Manila

Using Geany Portable

by dub16 » Fri Jun 22, 2012 3:28 pm


I'm starting out in Java programming but have no prior knowledge in any programming language. I'm trying to use Geany portable. The problem is I can't run even the Hello World program. :cry:

I was able to save the source file as but I cannot compile nor run it.
Here's what I see on the compiler message window when I click on "Compile":

javac "" (in directory: C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Portalet\GeanyPortable\App\Geany)

And then the status bar reads "Process failed (The system cannot find the file specified)"

I tried to run the program and this is what I get:

"Exception in thread "main" java.lang.NoClassDefFoundError: MyFirstJavaProgram
Caused by: java.lang.ClassNotFoundException: MyFirstJavaProgram
at$ Source)
at Method)
at Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: MyFirstJavaProgram. Program will exit."

I've done no initial setting up of preferences, so I just ran Geany after installation.

I hope someone would be kind enough to help and explain these to me.
Thank you in advance!


no avatar
Posts: 2
Joined: Thu May 16, 2013 11:17 pm

Re: Using Geany Portable

by Lala55 » Thu May 16, 2013 11:30 pm

I appreciate your effort.

Return to JAVA Lobby