Have you tried running
java -version in a command line? When you install the JDK, it will usually set itself up for you, so if that works, you don't need to do anything for it. As for Play, unzip it to some location, eg
C:\path\to\playinstall, and then add
C:\path\to\playinstall to your
PATH environment variable. Alternatively use Typesafe Activator, it runs a UI in a browser that manages everything for you.
Here is my init_play.bat that I run in a console window. Run it once when open a new console, then cd into your play app's directory and do play run...
First of all, I am answering this question for Windows users, and at the time of writing this, I am using
So after playing around with this for a while, I ended up thinking I had to delete my entire description of the
PATH environment variable, but all you have to do is add to the
PATH variable. What needs to be added is the location of your Play folder (which is recommended to be placed in the root), and also add the location of
bin, which should be located somewhere in the
Program Files folder. Adding these is a simple copy and paste of the entire location of the folder (found in the browsing bar), and insertion into the
PATH variable by editing the variable.
Be sure to go to the end of the value of the variable once clicking on
Edit. Then, before pasting the location that was just copied, add a
; after the previous entry. If you accidentally delete anything, (as I did), this could spell out some problems for your computer. If you do delete anything, then
Ctrl+z or go so some similar thread (<--- like this one). I hope that this is somewhat of a dummies guide to solving the matter, as several Youtube tutorials and threads did not seem to work entirely for me. Best of luck!
- Installing Play! framework on Windows 8.1: What do I add to the path?
- How do I find the absolute path to a Play Framework app?
- What is the use of unapply in this sample Play framework code (Form mapping)
- What is the difference between Silhouette and Deadbolt 2 in Play Framework
- Add a folder to the java.library.path in play framework using JNI
- What is the Mockito dependency for scala version 2.11.12, PLAY framework
- Play framework 2 : What is a proper way to render the contents of parent template?
- Play Framework 2.6.x how to add a specific cookie to every request if the cookie does not exists
- Can someone explain what the following code snippets means in Play framework (Scala)?
- play framework - what is the proper way to return list of data?
- What is the easest way return objects as json response from action in play framework (scala)?
- what is the way of accessing app outer folder files to render in template of play framework 2.6.x?
- Scala Play Framework on Windows NoClassDefFoundError out of the box
- Installing Play Framework on Windows 8.1
- What is the preferable location for putting java libraries in play framework project?
- How do I use a filter to add a domain object to the request scope in Play Framework 2.x
- What are the best use cases for Akka framework
- Play Framework - add a field to JSON object
- What is the Play 2.5.x equivalent to acceptWithActor[String, JsValue]?
- How to improve the error message readability returned from JsError.toFlatJson or JsError.toJson in Play framework 2.x?
- What is the server side comment tag in scala templates in play framework?
- How do you change the Play 2.1! Framework session cookie name
- What does the word "Action" do in a Scala function definition using the Play framework?
- Play Framework 2.1: Scala: how to get the whole base url (including protocol)?
- How to access a resource file using relative path in play framework project?
- What is the difference between Mongo Scala Driver and Reactive-Mongo Driver in play framework?
- Calling into Play framework app from the Scala console
- What does the remote-actor framework do if trying to write to a client which is no longer there?
- How to reference to the standard ActorSystem of play framework 2?
More Query from same tag
- How to extract week day as a number from a Spark dataframe with the Scala API
- Transforming specific field of the RDD
- `=>` in scala function literal
- Concise collectFirst over nested lists in scala
- Why can't scala-ide refresh change in java classes in scala editor?
- Scala - passing defined values for optional parameters within routes file
- Convert csv to RDD
- Encoder[Row] in Scala Spark
- call super class constructor with same final class argument
- Scala: Directory layout for test classes
- Concurrent requests with ScalaWS (Play Framework)
- Is it possible to get a StackOverflow error with event-driven recursive actors at all?
- How to `reduce` only within partitions in Spark Streaming, perhaps using combineByKey?
- Failing to use transactions in Quill to INSERT one-to-many relational objects
- Can I use Scala Macros to internalise an external DSL?
- How to handle Option in recursive functions in functional programming within Scala?
- Replace the values based on condition spark
- Getting name of parameterized class in scala using shapeless
- Lazy Quicksort in Scala
- Sample: Calendar for Play2.0- scala
- Avro Generic Record not taking aliases into account
- Struggle against habits formed by Java when migrating to Scala
- Why does Akka application fail with Out-of-Memory Error while executing NLP task?
- Declare a Function `type` with `implicit` parameters
- Making a Bag in Scala with Monoids
- Where is implicit function for flatten defined?
- How to run Spark standalone on Kubernetes?
- Slick library w/ Play - date type incompatibility?
- Multiple Left Joins in squeryl
- Linking to external Scala API docs in IntelliJ