Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2006

Tip: Looking for answers? Try searching our database.

JAVA STUDIO CREATOR - a real simple one about project distribution...

Thread view: 
alan_conoco@hotmail.co.uk - 09 Jun 2006 15:46 GMT
Hi,

I have built a project in the very good Java Studio Creator 2 (version
1), which I am new to, but I cant for the life of me get the jar to
work from the command prompt. I cannot find any options to do this
either and the jars manifest file is read only.

To restate, all i want to do is run my jar from the command prompt!

Help please....

thanks in advance.

Alan
David Segall - 09 Jun 2006 17:50 GMT
>Hi,
>
[quoted text clipped - 4 lines]
>
>To restate, all i want to do is run my jar from the command prompt!
How on earth did you create a jar file from your project? As I
understand it, JSC creates war files from a project and to run a war
file you need a J2EE Application Sever
<http://java.sun.com/j2ee/compatibility.html> like the Sun Java System
Application server included with JSC or, at least, a Servlet/JSP
container like Tomcat <http://tomcat.apache.org/>.

JSC is intended for creating web based applications where the user has
only a web browser like Firefox or Internet Explorer on her desk top
and the application code is on a "remote" server. The remote server
could exist on the same machine as the browser but if that is the way
the application is always run then you want to write a desktop
application. In that case you will need to rewrite it using NetBeans
<http://www.netbeans.org>.
David Segall - 11 Jun 2006 17:09 GMT
>>Hi,
>>
[quoted text clipped - 4 lines]
>>
>>To restate, all i want to do is run my jar from the command prompt!

>How on earth did you create a jar file from your project? As I
>understand it, JSC creates war files from a project
I'm wrong :( Creator does not have an editor for a desktop GUI but you
can create a desktop application which will result in a jar file.
Roedy Green has instructions for executing them here
<http://mindprod.com/jgloss/jar.html#EXECUTING>


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.