creating executables files(.jar)

im a newbie to the java studio enviroment and have come from jcreator and notepad++

the problem is every time i compile a class(either as a project or single file) it compiles then sends it to the browser...which only gives me a 505 error...

so what is happening?

also what id like to do is run it as a standalone application and not thru a browser as in jcreator is this possible?

i have noticed that there is a jre and javac sturctured with in the sun studio file system but how do i get studio to point to the jre? or to run them as stand alone

any help would be great...

or is it perhaps im using the wrong IDE from sun for what im asking? maybe i need netbeans instead?

kind regards alex

[741 byte] By [Alexander_Zohara] at [2007-11-26 22:47:07]
# 1

If you want to create a jar file, you need to create a new java project and then the jar file will be in the dist dir. You can copy all the files in dist folder/dir to anywhere you want.

If you want to create a web, you need to create a web project and the then the war file will be in the dist dir.

Jimmy200012a at 2007-7-10 12:05:51 > top of Java-index,Development Tools,Java Tools...
# 2

Java Studio Creator allows for rapid visual JavaServer Faces web application and portlet development. The latest version is built on the NetBeans platform. Taking a product tour will give you a better idea of it's features:

http://developers.sun.com/prodtech/javatools/jscreator/index.jsp

Netbeans 5.5 is a good choice for creating standalone application. check the following guide:

http://www.netbeans.org/kb/50/using-netbeans/index.html

Moreover, you can get most of the creator features in Netbeans through the "NetBeans Visual Web Pack 5.5"

http://www.netbeans.org/products/visualweb/

Rradhikaa at 2007-7-10 12:05:51 > top of Java-index,Development Tools,Java Tools...