<p>You have to first compile by doing:</p>

<pre><code>./compile
</code></pre>

<p>then:</p>

<pre><code>./run.sh
</code></pre>

CC BY-SA 3.0
2015-01-28T22:07:33.760Z
2015-01-28T22:26:39.333Z
2015-01-28T22:26:39.333Z
Patoshi パトシ
<p>I setup a new VM with ubuntu 12.04 installed and installed java 8. I cloned the nxt repo and it is throwing this error:</p>

<p><strong>Error: Could not find or load main class nxt.Nxt</strong></p>

<p>What is this error and how can this be resolved?
thanks.</p>

<p><img src="https://i.sstatic.net/cuj0x.png" alt="enter image description here"></p>

<nxt>
NXTcoin Startup - Error: Could not find or load main class nxt . Nxt
Patoshi パトシ
# NXTcoin Startup - Error: Could not find or load main class nxt . Nxt

(Asked by: username_0 on 2015-01-28)

I setup a new VM with ubuntu 12.04 installed and installed java 8. I cloned the nxt repo and it is throwing this error:

**Error: Could not find or load main class nxt.Nxt**

What is this error and how can this be resolved?
thanks.

![enter image description here](https://i.sstatic.net/cuj0x.png)

**Tags:** nxt


---

## 1 answers

### Answer by username_0 on 2015-01-28. Score: 1 | Accepted answer

You have to first compile by doing:

```
./compile

```

then:

```
./run.sh

```


---

