<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi, David.<br>
      <br>
      Also if your not have enough experience with Java compiling via
      maven, please use already prepared binary version.<br>
      But you still need Java 7.<br>
      <br>
      try to type in your command line <br>
      <br>
      <tt>java -version</tt><br>
      <br>
      And this show you your current configured version of JVM runtime.<br>
      <br>
      and you need to get number 1.7.0 without this version or higher
      you not be able to run midPoint.  <br>
      How to upgrade see
      <a class="moz-txt-link-freetext" href="http://www.java.com/en/download/faq/java_mac.xml">http://www.java.com/en/download/faq/java_mac.xml</a><br>
      <span id="OLK_SRC_BODY_SECTION"><br>
        Best regards,</span><br>
      <br>
      Peter<br>
      <br>
      <br>
      <br>
      <br>
      <br>
      On 7. 4. 2014 16:01, Kramer, David wrote:<br>
    </div>
    <blockquote cite="mid:CF68279F.1E84%25david.kramer@mheducation.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div>Thanks.  I’m new to the Mac and wasn’t sure where the JVM is
        set, but I have that straightened out and things are much
        happier now.</div>
      <div><br>
      </div>
      <div>Thanks again.</div>
      <div><br>
      </div>
      <span id="OLK_SRC_BODY_SECTION">
        <div style="font-family:Calibri; font-size:11pt;
          text-align:left; color:black; BORDER-BOTTOM: medium none;
          BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT:
          0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;
          BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
          <span style="font-weight:bold">From: </span>Viliam Repan <<a
            moz-do-not-send="true" href="mailto:vilo.repan@evolveum.com">vilo.repan@evolveum.com</a>><br>
          <span style="font-weight:bold">Date: </span>Friday, April 4,
          2014 at 5:17 PM<br>
          <span style="font-weight:bold">To: </span>McGraw Hill
          Companies <<a moz-do-not-send="true"
            href="mailto:david.kramer@mheducation.com">david.kramer@mheducation.com</a>><br>
          <span style="font-weight:bold">Cc: </span>"<a
            moz-do-not-send="true"
            href="mailto:midpoint-dev@lists.evolveum.com">midpoint-dev@lists.evolveum.com</a>"
          <<a moz-do-not-send="true"
            href="mailto:midpoint-dev@lists.evolveum.com">midpoint-dev@lists.evolveum.com</a>><br>
          <span style="font-weight:bold">Subject: </span>Re:
          [Midpoint-dev] Java version hard-coded<br>
        </div>
        <div><br>
        </div>
        <div>
          <div bgcolor="#FFFFFF" text="#000000">Hi David,<br>
            <br>
            I'm pretty sure your maven installation is using Java 1.6 :)<br>
            Can you please send us a result of "mvn -version" command?<br>
            It should be something like this:<br>
            <br>
            Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)<br>
            Maven home: /usr/local/apache-maven-3.0.4<br>
            <b>Java version: 1.7.0_51, vendor: Oracle Corporation</b><br>
            Java home: /usr/lib/jvm/java-7-oracle/jre<br>
            Default locale: en_US, platform encoding: UTF-8<br>
            OS name: "linux", version: "3.5.0-48-generic", arch:
            "amd64", family: "unix"<br>
            <br>
            Configuration for source and target to "1.7:" version is
            necessary, because it tells version of source code (java
            files) to javac and target bytecode (classes) version.<br>
            <br>
            Best regards<br>
            <br>
            Vilo<br>
            <br>
            <div class="moz-cite-prefix">On 04/04/2014 10:58 PM, Kramer,
              David wrote:<br>
            </div>
            <blockquote
              cite="mid:CF649526.1E5A%25david.kramer@mheducation.com"
              type="cite">
              <div>Hi.  I’m just starting to look into midPoint.  We got
                a server up and running, and I want to try out the web
                service interface using the sample program mentioned on <a
                  moz-do-not-send="true"
href="https://wiki.evolveum.com/display/midPoint/Model+Web+Service+Client+Sample">https://wiki.evolveum.com/display/midPoint/Model+Web+Service+Client+Sample</a> so

                I got the source code from Git.</div>
              <div><br>
              </div>
              <div>I had troubles building part of it:</div>
              <div>
                <div>[ERROR] Failed to execute goal
                  org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
                  (default-compile) on project test-ng: Compilation
                  failure</div>
                <div>[ERROR] Failure executing javac,  but could not
                  parse the error:</div>
                <div>[ERROR] javac: invalid target release: 1.7</div>
                <div>[ERROR] Usage: javac <options> <source
                  files></div>
                <div>[ERROR] use -help for a list of possible options</div>
                <div>[ERROR] -> [Help 1]</div>
              </div>
              <div><br>
              </div>
              <div>I <span style="font-weight: bold;">think</span> the
                problem is caused by testing/systest/pom.xml</div>
              <div><br>
              </div>
              <div>
                <p style="margin: 0px; font-size: 12px; font-family:
                  'Andale Mono'; color: rgb(41, 249, 20);
                  background-color: rgb(0, 0, 0);">
                                                               
                   <groupId>org.apache.maven.plugins</groupId></p>
                <p style="margin: 0px; font-size: 12px; font-family:
                  'Andale Mono'; color: rgb(41, 249, 20);
                  background-color: rgb(0, 0, 0);">
                                                                 
                  <artifactId>maven-compiler-plugin</artifactId></p>
                <p style="margin: 0px; font-size: 12px; font-family:
                  'Andale Mono'; color: rgb(41, 249, 20);
                  background-color: rgb(0, 0, 0);">
                                                                 
                  <version>2.3.2</version></p>
                <p style="margin: 0px; font-size: 12px; font-family:
                  'Andale Mono'; color: rgb(41, 249, 20);
                  background-color: rgb(0, 0, 0);">
                                                                 
                  <configuration></p>
                <p style="margin: 0px; font-size: 12px; font-family:
                  'Andale Mono'; color: rgb(41, 249, 20);
                  background-color: rgb(0, 0, 0);">
                                                                       
                    <source>1.7</source></p>
                <p style="margin: 0px; font-size: 12px; font-family:
                  'Andale Mono'; color: rgb(41, 249, 20);
                  background-color: rgb(0, 0, 0);">
                                                                       
                    <target>1.7</target></p>
                <p style="margin: 0px; font-size: 12px; font-family:
                  'Andale Mono'; color: rgb(41, 249, 20);
                  background-color: rgb(0, 0, 0);">
                                                                       
                    <fork>true</fork></p>
                <p style="margin: 0px; font-size: 12px; font-family:
                  'Andale Mono'; color: rgb(41, 249, 20);
                  background-color: rgb(0, 0, 0);">
                                                                       
                    <meminitial>128m</meminitial></p>
                <p style="margin: 0px; font-size: 12px; font-family:
                  'Andale Mono'; color: rgb(41, 249, 20);
                  background-color: rgb(0, 0, 0);">
                                                                       
                    <maxmem>768m</maxmem></p>
                <p style="margin: 0px; font-size: 12px; font-family:
                  'Andale Mono'; color: rgb(41, 249, 20);
                  background-color: rgb(0, 0, 0);">
                                                                       
                    <showDeprecation>true</showDeprecation></p>
                <p style="margin: 0px; font-size: 12px; font-family:
                  'Andale Mono'; color: rgb(41, 249, 20);
                  background-color: rgb(0, 0, 0);">
                                                                       
                    <showWarnings>true</showWarnings></p>
                <p style="margin: 0px; font-size: 12px; font-family:
                  'Andale Mono'; color: rgb(41, 249, 20);
                  background-color: rgb(0, 0, 0);">
                                                                 
                  </configuration></p>
              </div>
              <div><br>
              </div>
              <div><br>
              </div>
              <div>I’m running 1.7.0_51.  Is it really customary to
                hard-code Java versions in this way?</div>
              <div>Is that the source of the problem?</div>
              <div>Can I  just change the target?</div>
              <div><br>
              </div>
              <div>Full mvn clean compile output attached.</div>
              <div><br>
              </div>
              <div>Thanks.</div>
              <br>
              <hr>
              <font color="Gray" face="Arial" size="1">The information
                contained in this message is intended only for the
                recipient, and may be a confidential attorney-client
                communication or may otherwise be privileged and
                confidential and protected from disclosure. If the
                reader of this message is not the intended recipient, or
                an employee or agent responsible for delivering this
                message to the intended recipient, please be aware that
                any dissemination or copying of this communication is
                strictly prohibited. If you have received this
                communication in error, please immediately notify us by
                replying to the message and deleting it from your
                computer. McGraw-Hill Education reserves the right,
                subject to applicable local law, to monitor, review and
                process the content of any electronic message or
                information sent to or from McGraw-Hill Education e-mail
                addresses without informing the sender or recipient of
                the message. By sending electronic message or
                information to McGraw-Hill Education e-mail addresses
                you, as the sender, are consenting to McGraw-Hill
                Education processing any of your personal data therein.<br>
              </font><br>
              <fieldset class="mimeAttachmentHeader"></fieldset>
              <br>
              <pre wrap="">_______________________________________________
midPoint-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:midPoint-dev@lists.evolveum.com">midPoint-dev@lists.evolveum.com</a><a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint-dev">http://lists.evolveum.com/mailman/listinfo/midpoint-dev</a></pre>
            </blockquote>
            <br>
            <pre class="moz-signature" cols="72">-- 
Ing. Viliam Repáň
Evolveum, s.r.o.

tel: +421 910 797978
mail: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:vilo.repan@evolveum.com">vilo.repan@evolveum.com</a></pre>
          </div>
        </div>
      </span><br>
      <hr>
      <font color="Gray" face="Arial" size="1">The information contained
        in this message is intended only for the recipient, and may be a
        confidential attorney-client communication or may otherwise be
        privileged and confidential and protected from disclosure. If
        the reader of this message is not the intended recipient, or an
        employee or agent responsible for delivering this message to the
        intended recipient, please be aware that any dissemination or
        copying of this communication is strictly prohibited. If you
        have received this communication in error, please immediately
        notify us by replying to the message and deleting it from your
        computer. McGraw-Hill Education reserves the right, subject to
        applicable local law, to monitor, review and process the content
        of any electronic message or information sent to or from
        McGraw-Hill Education e-mail addresses without informing the
        sender or recipient of the message. By sending electronic
        message or information to McGraw-Hill Education e-mail addresses
        you, as the sender, are consenting to McGraw-Hill Education
        processing any of your personal data therein.<br>
      </font>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
midPoint-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint-dev@lists.evolveum.com">midPoint-dev@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint-dev">http://lists.evolveum.com/mailman/listinfo/midpoint-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>