How do you run a java program in linux?
Hi. I've just written my very first program in java in the eclipse program that comes with Ubuntu. It runs fine in eclipse, but I want to run it without loading up eclipse everytime. I tried installing the jdk, but when I type in "java HelloWorldSWT" in the terminal this message comes up:
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Composite
Now I'm new to both linux and java, but it seems to me I need to add the swt commands to the java runtime somehow, only I haven't the foggiest idea how.