Top.Mail.Ru
July 26th, 2005 - Java developers — LiveJournal
? ?

Java developers

July 26th, 2005
Image

12:50 pm - Imageitalic_caesar

This is the most beginner question ever, but

Why can't I run an application in Eclipse? I have a JRE installed, but when I go to "run as..." no options come up. I can't debug, I can't run as an application, nothing.

Can someone tell me what's wrong?

edit:

When I try running it from the console using c:/pathname>java puzzle2005

I get :

Exception in thread "main" java.lang.NoClassDefFoundError: puzzle2005

The .java and .class file are in the same directory as java.exe

Here is the code

public class puzzle2005 {
	public static void main (String args){
		System.out.println("You know it");
	}
}


HELP! haha
 

06:40 pm - Imagejdevelop - Turbine Framework

Is there any workaround to force Turbine use the JSP pages? For now I facing the problems with the template paths - for some reason Turbine won't deal with /templates. It complains the template contains the "/" as first charachter, and it removes this charachter, but then when Turbine tries to deal with RequestDispatcher - the dispatcher throws the exception about wrong relative path templates/layouts/layout.jsp

any sugegstions?
Powered by LiveJournal.com
Image