Sparkles

that were shone when I got tempered!

Java compiler settings for e-clipse when creating a jar file (ANT / MAVEN).

leave a comment »

This is a common thing that will miss at most of the times. We must consider all of these build paths while using eclips.

1. This is the Java Build Path

1.BuildPath-Libraries

2

2. This is the Java Compiler

3

3. This is the ANT – External Tool Configuration

4

5

4.This is the Maven Run Configuration

6

7

You can easily check the java version of a class file by using

WINDOWS > javap -verbose TraceLogger | find "version"

LINUX > javap -verbose TraceLogger | grep version

javap -verbose TraceLogger will out put all details with the versions Java versions:

  • Java 1.2 uses major version 46
  • Java 1.3 uses major version 47
  • Java 1.4 uses major version 48
  • Java 5 uses major version 49
  • Java 6 uses major version 50
  • Java 7 uses major version 51
Advertisements

Written by Namal Fernando

August 5, 2013 at 1:02 pm

Posted in Eclipse

Tagged with , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Ruth's Reflections

Contemplations from quakey quirky Christchurch

TED Blog

The TED Blog shares interesting news about TED, TED Talks video, the TED Prize and more.

Ziplok

Learn and discover simple things

Meihta Dwiguna Saputra's Knowledge Base

~In learning you will teach and in teaching you will (re)learn~

The Java Blog

Thoughts, tips and tricks about the Java programming language

Sparkles

that were shone when I got tempered!

%d bloggers like this: