You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2014/03/20 08:33:02 UTC

[Bug 56292] New: Add the check of the Java's version in startup files and disable some options when is Java v8 engine

https://issues.apache.org/bugzilla/show_bug.cgi?id=56292

            Bug ID: 56292
           Summary: Add the check of the Java's version in startup files
                    and disable some options when is Java v8 engine
           Product: JMeter
           Version: Nightly (Please specify date)
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: milamber@apache.org

Modify the jmeter.bat / jmeter startup files to check the minimal java's
version to run JMeter (currently Java 6).

Disable -XX:PermSize=64m and -XX:MaxPermSize=128m option in startup files
(support for theses option was removed in 8.0)

See e.g.
http://openjdk.java.net/jeps/122
http://mail.openjdk.java.net/pipermail/hotspot-dev/2012-September/006679.html
http://java.dzone.com/articles/java-8-permgen-metaspace

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 56292] Add the check of the Java's version in startup files and disable some options when is Java v8 engine

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56292

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Sebb <se...@apache.org> ---
It seems to be working OK on Windows and MacOS now

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 56292] Add the check of the Java's version in startup files and disable some options when is Java v8 engine

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56292

--- Comment #4 from Sebb <se...@apache.org> ---
There are several issues with the recent changes to the jmeter.bat script as at
r1589877:

- script modifies the external environment because it sets variables before the
"setlocal" command

- script does not detect a missing Java installation. 
On my system it shows the error "The syntax of the command is incorrect."

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 56292] Add the check of the Java's version in startup files and disable some options when is Java v8 engine

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56292

Milamber <mi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #2 from Milamber <mi...@apache.org> ---

I keep this bug open because we need make some tests with an Mac OS platform
(=> Philippe?) 

Some tests with Solaris platform too. (=> Rainer?)

(and perhaps with Windows)


Use cases:
1/ Launch with Java 8 => launch with succes without warning messages on PermGen
2/ Launch with Java 6 or 7 => launch with success
3/ Launch with Java 1.5 => error message

Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 56292] Add the check of the Java's version in startup files and disable some options when is Java v8 engine

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56292

--- Comment #1 from Milamber <mi...@apache.org> ---
URL: http://svn.apache.org/r1579552
Log:
Add the check of the Java's version in startup files and disable some options
when is Java v8 engine
Bugzilla Id: 56292

Modified:
    jmeter/trunk/bin/jmeter
    jmeter/trunk/bin/jmeter.bat
    jmeter/trunk/xdocs/changes.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 56292] Add the check of the Java's version in startup files and disable some options when is Java v8 engine

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56292

--- Comment #6 from Sebb <se...@apache.org> ---
URL: http://svn.apache.org/r1589888
Log:
Bug 56292: fix check for missing Java

Modified:
    jmeter/trunk/bin/jmeter.bat

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 56292] Add the check of the Java's version in startup files and disable some options when is Java v8 engine

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56292

--- Comment #7 from Sebb <se...@apache.org> ---
(In reply to Sebb from comment #4)
> There are several issues with the recent changes to the jmeter.bat script as
> at r1589877:
> 
> - script modifies the external environment because it sets variables before
> the "setlocal" command

Fixed as part of Bug 56455

> - script does not detect a missing Java installation. 
> On my system it shows the error "The syntax of the command is incorrect."

Fixed in http://svn.apache.org/r1589888

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 56292] Add the check of the Java's version in startup files and disable some options when is Java v8 engine

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56292

--- Comment #5 from Sebb <se...@apache.org> ---
URL: http://svn.apache.org/r1589877
Log:
Fix errorlevel bugs; show detected version.

Modified:
    jmeter/trunk/bin/jmeter.bat

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 56292] Add the check of the Java's version in startup files and disable some options when is Java v8 engine

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56292

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
Test on Mac OSX 10.8.5:
1/ Launch with Java 8 => launch with success without warning messages on
PermGen
2/ Launch with Java 6 or 7 => launch with success

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 56292] Add the check of the Java's version in startup files and disable some options when is Java v8 engine

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56292

--- Comment #8 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Is this issue fixed or is there still some work on it ?
Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.