Hello everyone:
I am trying to run a javascript file using eclipse.
Eclipse Installed: Eclipse IDE for Java Developer
Eclipse version: 1.4.2 (Indigo) install eclipse updates 3.7
JavaScrpt development tool installed: eclipse javascript development tool version 1.3.2
I created javascript project called: jscript_exer1
then I add a file called exer1 under the project
When I click on run button, it shows no lunch history, click on 'Run As' option,
it shows none applicable
Path: /jscript_exer1/exer1
Type: file
file location C:\javascript\jscript_exer1\exer1
The code in the file:
[code]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html>
<head>
<title>JavaScript Exercise</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
</head>
<body>
<script type="text/javascript">
document.write("Hello JavaScript!");
</script>
</body>
</html>
[/code]
I attached 2 pictures to show file structure in Eclipse and file structure on the local C drive. Please give me some advise on how to to make the file run in Eclipse. Thanks!