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 2007

Tip: Looking for answers? Try searching our database.

Is the Java language available as freeware?

Thread view: 
Peter Olcott - 12 Feb 2007 18:41 GMT
I am looking for a good scripting engine for the MS Windows platform.
Knute Johnson - 12 Feb 2007 18:47 GMT
> I am looking for a good scripting engine for the MS Windows platform.

Try ruby.

Signature

Knute Johnson
email s/nospam/knute/

Andrew Thompson - 12 Feb 2007 18:50 GMT
> I am looking for a good scripting engine for the MS Windows platform.

The Java *Plug-In* is free, as are
the development tools, but it is
supported on Mac OS and *nix, as
well as Windows.

Oh well.. better luck next time.  ;-)

Andrew T.
Daniel Pitts - 12 Feb 2007 20:35 GMT
> I am looking for a good scripting engine for the MS Windows platform.

Java is free, but its not a "scripting engine".  Its a full blown
general-purpos programming language. Depending on your requirements,
Java may be too heavy-weight.

If you want some simple batching, then using .BAT files may be enough
(built-in Windows)

If you need something a little more complicated than batching, look
into a scripting language.  Some examples: Perl, Python, Ruby, BASH.

If you are doing anything more complicated than that, Java might be
the right choice for you.  You can download the development kit from
Sun, for no charge.
Oliver Wong - 12 Feb 2007 21:53 GMT
>> I am looking for a good scripting engine for the MS Windows platform.
>
[quoted text clipped - 4 lines]
> If you want some simple batching, then using .BAT files may be enough
> (built-in Windows)

   Somewhere between batch files and perl/python/ruby/bash is WSH, Windows
Scripting Host. WSH is actually a platform, and languages you can write in
include VBScript, JavaScript, and a couple others I don't recall off the top
of my head.

> If you need something a little more complicated than batching, look
> into a scripting language.  Some examples: Perl, Python, Ruby, BASH.
>
> If you are doing anything more complicated than that, Java might be
> the right choice for you.  You can download the development kit from
> Sun, for no charge.

   - Oliver
Andy Dingley - 13 Feb 2007 13:01 GMT
>Somewhere between batch files and perl/python/ruby/bash is WSH,
> Windows Scripting Host.

That's evil!  Why don't you just recommend he surfs a few pr0n sites
with "Install and run anything" turned on?

WSH is _horribly_ insecure. Avoid it like the plague. it exists to
fill a niche in M$oft's world view (How do we make the ASP languages
run from the command line?) rather than because it's a good or
trustworthy platform.

If you want a "scripting language" for Windows, then I'd strongly
recommend Python. Perl works too, as does Ruby. Python and Ruby are
also better languages than JScript or VBScript.

You might even install Cygwin (good) and then learn Unix shell
scripting (usually pretty obsolete, although still worth knowing
about).

Java is _not_ a scripting language by any means. Groovy is only a
useful scripting language if you're already in a JVM-friendly
environment, which you're probably not.
Oliver Wong - 13 Feb 2007 15:46 GMT
>>Somewhere between batch files and perl/python/ruby/bash is WSH,
>> Windows Scripting Host.
[quoted text clipped - 14 lines]
> scripting (usually pretty obsolete, although still worth knowing
> about).

   Out of curiosity, what vulnerabilities does writing your scripts in WSH
open you up to that writing your scripts in Python/Perl/Ruby/Bash/whatever
does not?

   - Oliver
Andy Dingley - 13 Feb 2007 16:56 GMT
> Out of curiosity, what vulnerabilities does writing your scripts in WSH
> open you up to that writing your scripts in
> Python/Perl/Ruby/Bash/whatever does not?

Ones based on exploits via ActiveX. WSH doesn't even have IE's level
of protection here.

The problem isn't with the "scripts" -- obviously a trivial bit of
Python is more dangerous than a typical piece of JScript in WSH. It's
with the very _existence_ of WSH on a machine. If it's there and
available, it's an easy route for far too many of Windows' past "We
shouldn't really execute this, but hey why not" exploits to find a
loophole between a sandbox that's supposed to be locked down and one
in which a powerful ActiveX can be run unchecked. As a result, it's
just not safe to have it on the machine.
Knute Johnson - 13 Feb 2007 17:17 GMT
>> Out of curiosity, what vulnerabilities does writing your scripts in WSH
>> open you up to that writing your scripts in
[quoted text clipped - 11 lines]
> in which a powerful ActiveX can be run unchecked. As a result, it's
> just not safe to have it on the machine.

And like VBScript it is full of bugs and seriously lacks documentation.
 It's different on every platform too.

Signature

Knute Johnson
email s/nospam/knute/

John T - 12 Feb 2007 23:40 GMT
> I am looking for a good scripting engine for the MS Windows platform.

Ever heard of Groovy?
Brandon McCombs - 13 Feb 2007 00:14 GMT
> I am looking for a good scripting engine for the MS Windows platform.

Java isn't a scripting language. Try Visual Basic Script.
Andrew Thompson - 13 Feb 2007 11:32 GMT
> > I am looking for a good scripting engine for the MS Windows platform.
>
> Java isn't a scripting language.  ..

..Java supports scripting languages.
<http://java.sun.com/developer/technicalArticles/J2SE/Desktop/
scripting/>

Andrew T.
Arne Vajhøj - 13 Feb 2007 02:35 GMT
> I am looking for a good scripting engine for the MS Windows platform.

To supplement the others: if you are looking for something like
C++ or C#, then Java could be the right choice.

If you are looking for something like VBS, then the best
the Java world can offer is probably Groovy and Jython
(Python run in JVM).

Java, Groovy and Jython are all free (as in free beer - free
as in free speech is on the way).

Arne
Ian Wilson - 13 Feb 2007 10:03 GMT
> I am looking for a good scripting engine for the MS Windows platform.

This would be in connection with your long-running "SeeScreen" project I
guess. The aim of which, as I understand it, is to automate the use of
any arbitrary application by the processing of screen images to pick out
significant changes.

Java is free to develop with and to deploy but I doubt Java will be well
suited to your purposes. It isn't a scripting language for accessing
screen data and controlling the cursor and key-entry for another
arbitrary application.


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.