[Mono-list] Java Problem

mono-list.1.tracyanne at spamgourmet.com mono-list.1.tracyanne at spamgourmet.com
Tue Sep 27 23:16:48 EDT 2005


When I attempt to create a Java project and compile it, I get the
following error.

[Task:File=, Line=-1, Column=-1, Type=Error, Description=Error: file not
found: *.class

This is the code generated by Glade# Java project

/*
 * application.java
 *
 * created on 28/09/2005 at 11:47
 */
import cli.Gnome.*;
import cli.Gtk.*;

public class application {
    public static void main (String[] args) {
        Program p = new Program ("Name", "0.0", Modules.UI, args);
		App app = new App ("Hello Mono with Java#", "0.0");
		Button b = new Button ("Click me");
		app.Add (b);
		app.ShowAll ();
		p.Run ();
    }
}

I have just updated Java on my machine to JRE 1.5.x, and I am assuming
that monoDevelop can't locate the Java runtime. What do I need to do to
point Mono or Monodevelop to the correct java runtime? Or am I missing
something else?


Regards

Tracy Barlow


More information about the Mono-list mailing list