# Not able to build JavascriptEngine

**URL:** <https://forum.juce.com/t/not-able-to-build-javascriptengine/11688>\
**Category:** Linux\
**Created:** [October 18, 2013, 7:39am UTC](https://forum.juce.com/t/not-able-to-build-javascriptengine/11688 "2013-10-18T07:39:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerre](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jerre/32/45_2.png) [@jerre](https://forum.juce.com/u/jerre)\
**Post date:** [October 18, 2013, 7:39am UTC](https://forum.juce.com/t/not-able-to-build-javascriptengine/11688/1 "2013-10-18T07:39:19Z")

</div>

_I edited the title to make it more useful_

&nbsp;

I am not very familiar with Linux, but after installing all the dependencies on Ubuntu 13.04 i tried to build the IntroJucer and Juce Demo using the makefile. With both I get a very great amount of errors when compiling juce\_core.cpp, all the errors seems to come from the new JavaScript engine.

When removing the include of javascript/juce\_Javascript.cpp the file compiles fine.

&nbsp;

&nbsp;

Let me also just take this post to ask a second (probably noob) question. How do I run the executable file created with this makefile. I just created it by typing

```
make
```

in the command line, but when trying

```
cd build
./JuceDemo
```

I get Permission Denied,

And when double clicking the icon in Files, I get: "could not display JuceDemo, there is no application installed for "executable" files etc". Do I need to run the program to something like Wine or am I missing something

---

<div class="post-metadata">

**Author:** ![jerre](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jerre/32/45_2.png) [@jerre](https://forum.juce.com/u/jerre)\
**Post date:** [October 18, 2013, 7:47am UTC](https://forum.juce.com/t/not-able-to-build-javascriptengine/11688/2 "2013-10-18T07:47:00Z")

</div>

Ah I figured out the problem with the second question, but let me type out the solution for if someones else runs into it. I booted Ubuntu from a USBStick on a Windows machine, and the source was on a Windows Drive. After copying the executable to the Ubuntu desktop I could run

```
chmod +x file
```

And was able to run the program.

&nbsp;

&nbsp;

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [October 18, 2013, 8:13am UTC](https://forum.juce.com/t/not-able-to-build-javascriptengine/11688/3 "2013-10-18T08:13:30Z")

</div>

> With both I get a very great amount of errors when compiling juce\_core.cpp, all the errors seems to come from the new JavaScript engine.

I fixed this yesterday - _please_ always try the latest version before posting!

---

<div class="post-metadata">

**Author:** ![jerre](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jerre/32/45_2.png) [@jerre](https://forum.juce.com/u/jerre)\
**Post date:** [October 18, 2013, 8:31am UTC](https://forum.juce.com/t/not-able-to-build-javascriptengine/11688/4 "2013-10-18T08:31:09Z")

</div>

I am sorry, I didn't know updates were that fast, I ran in to this after updating yesterday afternoon, and this morning decided to post. Thanks!
