cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to compile java program

Former Member
0 Kudos

Hi

I a using Netweaver to deelope the java code.I have written a javaprogram .But when choose the option Run as

a javaApplication it giving the following error

Source locator doesnot Exist:org.eclipse.jdt.debug.ui.javaSourceLocator

Accepted Solutions (0)

Answers (1)

Answers (1)

SRudra
Contributor
0 Kudos

Hi,

I am able to compile and run perfectly Java programs. The steps goes as:

1. File --> New --> Project --> Java --> Java Project --> give a <project name> --> Finish

2. File --> New --> Class --> give a classname, and package name.

3. Put main method and give a System.out.println("Hello");

Source code:

package com.i3l.trg;

public class HelloWorld {

public static void main(String[] args) {

System.out.println("Hello");

}

}

4.Goto Run --> Run As --> 2 Java Application.

5. You will get a output as "Hello" in java console.

Cheers!!!

Sukanta Rudra

PS: Liberally donate points.

The full source code is