<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Databricks Java - Create Jar in Java 11 in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/databricks-java-create-jar-in-java-11/m-p/58937#M2379</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/89111"&gt;@Databricks_Java&lt;/a&gt;&amp;nbsp;You can run command like this:&amp;nbsp;&lt;SPAN class="c-mrkdwn__highlight"&gt;spark&lt;/SPAN&gt;&lt;SPAN&gt;-submit --class com.test.Main&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="c-mrkdwn__highlight"&gt;example&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN class="c-mrkdwn__highlight"&gt;jar&lt;BR /&gt;&lt;/SPAN&gt;and make sure to check the java version and match with the DBR compatibility&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2024 06:22:45 GMT</pubDate>
    <dc:creator>arpit</dc:creator>
    <dc:date>2024-02-01T06:22:45Z</dc:date>
    <item>
      <title>Databricks Java - Create Jar in Java 11</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-java-create-jar-in-java-11/m-p/45044#M1099</link>
      <description>&lt;P&gt;I am trying to a run simple print java program which is not working and getting compilation version issues though i changed the environment variable points to java 11. Can you please help me ? Can we create java with spark session and execute as a jar in databricks? Because most of the examples are in scala.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;UnsupportedClassVersionError: JarTesting has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Attached env variable fYR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 14:54:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-java-create-jar-in-java-11/m-p/45044#M1099</guid>
      <dc:creator>Databricks_Java</dc:creator>
      <dc:date>2023-09-15T14:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Java - Create Jar in Java 11</title>
      <link>https://community.databricks.com/t5/get-started-discussions/databricks-java-create-jar-in-java-11/m-p/58937#M2379</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/89111"&gt;@Databricks_Java&lt;/a&gt;&amp;nbsp;You can run command like this:&amp;nbsp;&lt;SPAN class="c-mrkdwn__highlight"&gt;spark&lt;/SPAN&gt;&lt;SPAN&gt;-submit --class com.test.Main&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="c-mrkdwn__highlight"&gt;example&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN class="c-mrkdwn__highlight"&gt;jar&lt;BR /&gt;&lt;/SPAN&gt;and make sure to check the java version and match with the DBR compatibility&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 06:22:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/databricks-java-create-jar-in-java-11/m-p/58937#M2379</guid>
      <dc:creator>arpit</dc:creator>
      <dc:date>2024-02-01T06:22:45Z</dc:date>
    </item>
  </channel>
</rss>

