I installed jdk-1.2.2 from blackdown.org. After running one of the demo programs I get an error: Exception in thread "main" java.lang.NoSuchMethodError: main I'm running RedHat 6.1, please help. thanks in advanced
posted 17 years ago
There is a chance that the example program you've tried uses static methods to explain their functionality. In this scenario, the main method will not be in the code. Please check this.