title: Heroku, Java Web app - free dynos Procfile - How to create proper Procfile
body: <p>I'm trying to upload my 1st Java Web app to the web but I can't handle the Procfile. After deploy, there is info about successfully deploy but when I try to run the app there are an error and server logs seems to indicate that Procfile is empty / does not exist.</p>
  
  <p>In server resources there is following dyno:</p>
  
  <pre><code>java $JAVA_OPTS -jar target/dependency/webapp-runner.jar --port $PORT target/*.war
  </code></pre>
  
  <p>and in thetutorial there is
  "Your Procfile will look something like this:"</p>
  
  <pre><code>web: java $JAVA_OPTS -cp target/classes:target/dependency/* HelloWorld
  </code></pre>
  
  <p>but I don't udnerstand what is happening here. I know only that there should be web: at the beggining for web-app I don't understand the rest of it. Can some one help me undrstand it so I could create proper Procfile for my app?</p>