Yes I am aware of the possibility of using multiple Java versions on same
machine. For example specifying "Java installation path" in Jmeter.bat can
take the required Java version. But the problem is it is not possible to
install Java 8 in our environment. Also as Glinius said JMeter 4 will not
work with Java 7 because it will not even get compiled. So answer to my
question is that it is not possible to use JMeter 4 with Java 7.

On Wed, 14 Nov 2018 at 13:33, Marek Czernek <[email protected]> wrote:

> I know Java matters, but as I said, you don't have to run both apps on
> the same JVM. You can run your app with Java 7, and JMeter with Java 8 .
> That should be possible even on the same machine, but you should really
> use JMeter from a different machine in any case.
>
> On 11/14/18 4:25 AM, Prasad K wrote:
> > Hi Marek, JMeter was built using Java. So Java version does matter for
> > JMeter.
> >
> > On Mon, 12 Nov 2018 at 21:31, Marek Czernek <[email protected]> wrote:
> >
> >> Can't you run JMeter with Java 8 and your application with Java 7? It's
> >> not a tool that somehow tests the code of your app itself; it creates
> >> requests and reads responses... For that, the Java version should not
> >> matter...
> >>
> >> The community will correct me if I'm wrong here, please.
> >>
> >> Cheers,
> >> --
> >>
> >> Marek Czernek
> >>
> >> JWS/JBCS Associate Quality Engineer, RHCA
> >>
> >>
> >> On 11/12/18 7:54 AM, Prasad K wrote:
> >>> Hi,
> >>>
> >>> Is there a way to use JMeter 4 with Java 1.7? Our organization yet to
> >>> upgrade Java to 1.8 version. Because of this we are unable to use
> JMeter
> >>> 4.0.
> >>>
> >>> Regards,
> >>> Prasad.
> >>>
> --
>
> Marek Czernek
>
> JWS/JBCS Associate Quality Engineer, RHCA
>
>

Reply via email to