Results 1 to 10 of 10

Thread: Running Javascripts in Eclipse

  1. #1
    Junior Member
    Join Date
    Oct 2009
    Answers
    4

    Running Javascripts in Eclipse

    How can i run a Javascript from Eclipse.
    I have installed JSEclipse plugin.
    But cant find a way to execute a Javascript from it.


  2. #2
    Expert Member
    Join Date
    May 2009
    Answers
    1,374

    Re: Running Javascripts in Eclipse

    Quote Originally Posted by suhassr View Post
    How can i run a Javascript from Eclipse.
    I have installed JSEclipse plugin.
    But cant find a way to execute a Javascript from it.
    Hi Suhasr,

    Make use of myeclipse & execute javascript.

    Regards,
    Rijus.

    Real Inspirational Journey........Unanimously & Sincerely.

  3. #3
    Junior Member
    Join Date
    Oct 2009
    Answers
    4

    Re: Running Javascripts in Eclipse

    but what about JSEclipse plugins..??
    I mean they are there for a reason. right....??


  4. #4
    Contributing Member
    Join Date
    Sep 2006
    Answers
    42

    Re: Running Javascripts in Eclipse

    Hi,
    Could you elaborate on what you mean by Running Javascript. Javascript needs an HTML page to run; on some event like onload, onclick etc.

    JSEclipse plugins help you with Syntax Highlighting, Content Assist, Code Formatting, Error Reporting and the like.


    --Sahil


  5. #5
    Junior Member
    Join Date
    Oct 2009
    Answers
    4

    Re: Running Javascripts in Eclipse

    Ok.......
    1)I have eclipse and installed JSEclipse with the JS plugins and all
    2)I write a simple javascript code by going to
    new->javascript->.js
    3)After writing a javascript and embedding it within html code, when i press right click on the program there is no "run" or execute option, except there is only "open dialog" option.
    4)Am I doing something wrong here.....??


  6. #6
    Junior Member
    Join Date
    Dec 2009
    Answers
    1

    Re: Running Javascripts in Eclipse

    Hi Suhassr,

    In order to run a javascript you need a built-in java script processor, which webbrowsers come with or custom javascript processor which will give intefaces to do get the output..

    regards,
    lokesh


  7. #7
    Junior Member
    Join Date
    Oct 2009
    Answers
    4

    Re: Running Javascripts in Eclipse

    ok, so is there no solution for my problem....??


  8. #8
    Junior Member
    Join Date
    Sep 2012
    Answers
    1

    Re: Running Javascripts in Eclipse

    I've described a technique for running javascript files withing Eclipse using Rhino and the external tools functionality in Eclipse in my blog -> martin-toshev . com/index.php/software-engineering/tips-and-tricks/76-running-javascript-from-eclipse

    Last edited by admin; 11-05-2012 at 06:58 AM.

  9. #9
    Junior Member
    Join Date
    Jun 2013
    Answers
    4

    Re: Running Javascripts in Eclipse

    Make a separate javascript file and append it into your project by using headScript.


  10. #10
    Junior Member
    Join Date
    Apr 2013
    Answers
    19

    Re: Running Javascripts in Eclipse

    Hello,

    Do the declaration and initialization part within the Header tag and recall it while putting the structure in the body tag. Hope it works if not please show the codes you have incorporated.

    Thanks


  11.  Sponsored Ads
    Ad


     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact