Skip to content

Commit

Permalink
Mention in the doc that we target JDK8
Browse files Browse the repository at this point in the history
  • Loading branch information
slandelle committed Jan 14, 2016
1 parent b18fc90 commit e0bca9b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
9 changes: 2 additions & 7 deletions src/sphinx/general/operations.rst
Expand Up @@ -7,16 +7,11 @@ Operations
Java version
============

Gatling is mostly tested against JDK7 packages provided by Oracle.
Gatling 2 requires **at least JDK7u6**.
Gatling is mostly tested against JDK8 packages provided by Oracle.
Gatling requires **JDK8**. We recommend that you use an up-to-date JDK.

If some launch scripts options are not available on your JVM, e.g. because you run a 32 bit version, please edit the scripts and remove the unsupported options.

However, we recommend that you use an up-to-date JDK:

* NIO bugs are frequently fixed. For example, NIO was broken on Oracle JDK7 until 7u10.
* Gatling is tested against modern JDKs

IPv4 vs IPv6
============

Expand Down
9 changes: 0 additions & 9 deletions src/sphinx/project/faq.rst
Expand Up @@ -113,15 +113,6 @@ See `this page <http://aws.amazon.com/articles/1636185810492479>`_.

Basically, Gatling/JVM's DNS cache has to tuned. A solution is to add ``-Dsun.net.inetaddr.ttl=0`` to the command line.

.. _faq-bad_record_mac:

* **I get some "bad_record_mac" Exceptions over SSL**

This seems to be a Hotspot JDK7 bug and affects all Java programs, for example: https://github.com/rubygems/rubygems.org/issues/615.

OpenJDK 7 and Hotspot JDK8 seem to be fine.


.. _faq-method_too_large:

* **I have a HUGE simulation and I get a "Method too large" compile error**
Expand Down
4 changes: 2 additions & 2 deletions src/sphinx/quickstart.rst
Expand Up @@ -23,15 +23,15 @@ Just unzip the downloaded bundle to a folder of your choice.
Windows users : we recommend that you do not place Gatling in the *Programs* folder as there may be permission issues.

In order to run Gatling, you need to have a JDK installed.
Gatling requires **at least JDK7u6**, yet we recommend that you use an up-to-date version.
Gatling requires **JDK8**, yet we recommend that you use an up-to-date version.

For all details regarding the installation and the tuning of the operating system (OS), please refer to the :ref:`operations` section.

.. warning::
Gatling launch scripts and Gatling maven plugin honor ``JAVA_HOME`` env var if it's set.
OS, like OSX, have their own tricky way of discovering which version of Java to run,
so you might end up running a different version than the one ``java -version`` tells you.
If you get strange errors such as ``Unsupported major.minor version 51.0`` and you were expecting to run a JDK7,
If you get strange errors such as ``Unsupported major.minor version 51.0`` and you were expecting to run a JDK8,
you might want to explicitly set ``JAVA_HOME``.

A Word on Encoding
Expand Down

0 comments on commit e0bca9b

Please sign in to comment.