Launch PhantomJS with Eclipse GAE

I ran into a problem when starting PhantomJS with Eclipse App Engine-JAVA. It works fine with the command line since I set the path for PhantomJS in environment variables. Please help me.

How can I put PhatomJS in my class path or build path in eclipse so that it is accessible in a web browser, because if I use a script in my HTML, an error is displayed that is undefined variable phantom.

0
source share
2 answers

You cannot use PhantomJS with the Google App Engine.
PhantomJS is a mute WebKit (with JavaScript API), it is written in C ++.
GAE only supports Java (Java bytecode), Python, and GO.

+2
source

As I wrote in another answer :

The Google App Engine supports several language cycles (Java, Python, PHP, and Go), but you can use the Managed Virtual Machines feature of the Google App Engine to run anything in a Docker container (like PhantomJS), and you can also use Google Compute Engine to get a virtual machine where you can also install anything you would like in any language.

, Node.js , .

0

Source: https://habr.com/ru/post/1547318/


All Articles