I'm looking for a Javascript compiler which doesn't need a Browser. If I wanted to run the code in a browser it would work ? I read that Adobe Air could be what I'm after but looking for more opinions.

Are you looking for a way to compile JavaScript so the result can run on the desktop or are you after a way that will allow the result to run on a web server?

There aren't any JavaScript compilers where the result will run in a web browser as the web browsers all expect to interpret JavaScript. There is a CoffeeScript compiler that will compile code written in CoffeeScript into JavaScript to allow it to run in the browser.

Your using the wrong tools for the job. You should be programming in C/++ or Java if your building a desktop application. Converting JavaScript to either of those is not going to happen, at least not without spending years developing your own conversion algorithm.

Your using the wrong tools for the job. You should be programming in C/++ or Java if your building a desktop application. Converting JavaScript to either of those is not going to happen, at least not without spending years developing your own conversion algorithm.

So you are claiming that Adobe Air - which allows you to develop desktop applications in three different languages one of which is JavaScript - doesn't exist? Presumably Adobe spent years developing that application so as other people wouldn't have to.

Adobe Air is a free application which allows the development of desktop applications using one of several different languages normally used on the web - one of which is JavaScript.

Desktop applications written using Adobe Air/JavaScript cannot be easily converted to run as web pages as the web version would not understand the commands for reading and writing files. The purpose of the platform is to allow programs for the desktop to be written using a language that is already known to the person from having used it on the web.

While a C++ application might run faster on the desktop than an Adobe Air/JavaScript one (depending on how good the compiler built into Adobe Air is), the JavaScript one would be much faster to write if the person already knows JavaScript but has never learnt C++.