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 / February 2008

Tip: Looking for answers? Try searching our database.

Tired of command Line!

Thread view: 
sihle87@gmail.com - 13 Feb 2008 07:53 GMT
hi guys,
please help me. i hate running programmes on the command line and it's
becomes very unproffessional to run your programmes through e-clipse
or j-Grasp everytime i'm using a certain problen i've designed. please
tell me how can i make my programms run on the windows without opening
j-Creator or e-clipse. and secondly, is it possible to do this in non-
GUI programmes?

Thanks
Sabine Dinis Blochberger - 13 Feb 2008 09:31 GMT
> hi guys,
> please help me. i hate running programmes on the command line and it's
[quoted text clipped - 5 lines]
>
> Thanks

You can create a batch file/bash script or shortcut (MS Windows) for
your applications. Then all you need to do is to click that. It works
for console Java applications aswell as GUI ones.
Signature

Sabine Dinis Blochberger

Op3racional
www.op3racional.eu

Sumit Rao - 13 Feb 2008 09:53 GMT
On Feb 13, 12:53 pm, sihl...@gmail.com wrote:
> hi guys,
> please help me. i hate running programmes on the command line and it's
[quoted text clipped - 5 lines]
>
> Thanks

You can create a bat file to run your programme
in it write : start /B javaw [classname]
John W. Kennedy - 13 Feb 2008 19:42 GMT
> hi guys,
> please help me. i hate running programmes on the command line and it's
[quoted text clipped - 3 lines]
> j-Creator or e-clipse. and secondly, is it possible to do this in non-
> GUI programmes?

Make an executable JAR file.

Signature

John W. Kennedy
"Though a Rothschild you may be
In your own capacity,
    As a Company you've come to utter sorrow--
But the Liquidators say,
'Never mind--you needn't pay,'
    So you start another company to-morrow!"
  -- Sir William S. Gilbert.  "Utopia Limited"

Dirk Michaelsen - 14 Feb 2008 05:53 GMT
>Make an executable JAR file.

yes, but that doesn't guarantee you that it is executed on click. It
depends on the system settings. On my system JARs are opened with
WinZip on click.

Dirk
Daniel Pitts - 14 Feb 2008 07:08 GMT
>> Make an executable JAR file.
>
[quoted text clipped - 3 lines]
>
> Dirk
That is a misconfiguration that you probably set up yourself. Jar files
*should* be opened by javaw by default.

Signature

Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>

RedGrittyBrick - 14 Feb 2008 10:27 GMT
>>> Make an executable JAR file.
>>
[quoted text clipped - 5 lines]
> That is a misconfiguration that you probably set up yourself. Jar files
> *should* be opened by javaw by default.

Other associations should appear on a context menu (right click) IMO.

On installation, Nokia PC Suite configures Windows to conform with
Nokia's view that, when clicked, any Jar file should be silently added
to a queue to be transferred to your Nokia phone at some time in the future.
Tony Winslow - 14 Feb 2008 05:51 GMT
> hi guys,
> please help me. i hate running programmes on the command line and it's
[quoted text clipped - 5 lines]
>
> Thanks
Throw away your IDEs, then you'll know that kind of things.
And if you are brave enough and want-to-be-professional enough, throw
away M$-Window$ and go to the Linux world!
Roedy Green - 14 Feb 2008 07:49 GMT
>please help me. i hate running programmes on the command line and it's
>becomes very unproffessional to run your programmes through e-clipse
>or j-Grasp everytime i'm using a certain problen i've designed. please
>tell me how can i make my programms run on the windows without opening
>j-Creator or e-clipse. and secondly, is it possible to do this in non-
>GUI programmes?

see http://mindprod.com/jgloss/nativecompiler.html
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Roedy Green - 14 Feb 2008 07:49 GMT
>please help me. i hate running programmes on the command line and it's
>becomes very unproffessional to run your programmes through e-clipse
>or j-Grasp everytime i'm using a certain problen i've designed. please
>tell me how can i make my programms run on the windows without opening
>j-Creator or e-clipse. and secondly, is it possible to do this in non-
>GUI programmes?

you can always create shortcuts, even with Java.exe
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Roedy Green - 14 Feb 2008 07:54 GMT
>please help me. i hate running programmes on the command line and it's
>becomes very unproffessional to run your programmes through e-clipse
>or j-Grasp everytime i'm using a certain problen i've designed. please
>tell me how can i make my programms run on the windows without opening
>j-Creator or e-clipse. and secondly, is it possible to do this in non-
>GUI programmes?

see http://mindprod.com/jgloss/association.html
http://mindprod.com/jgloss/jar.html
to learn how to make jar files executable.

--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Roedy Green - 14 Feb 2008 07:55 GMT
>please help me. i hate running programmes on the command line and it's
>becomes very unproffessional to run your programmes through e-clipse
>or j-Grasp everytime i'm using a certain problen i've designed. please
>tell me how can i make my programms run on the windows without opening
>j-Creator or e-clipse. and secondly, is it possible to do this in non-
>GUI programmes?

You can use ANT as your script language. The advantage is the scripts
will work on many platforms.

http://mindprod.com/jgloss/ant.html
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com


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.