Changeset 3439 in josm


Ignore:
Timestamp:
2010-08-15T14:12:04+02:00 (9 years ago)
Author:
stoecker
Message:

cleanup JAVA5/JAVA6

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/README

    r1570 r3439  
    88
    99* The jar file (e.g. josm.jar)
    10 * The latest Java Runtime Environment 1.5.
     10* The latest Java Runtime Environment 1.6.
    1111
    1212
     
    1414---------------
    1515
    16 You need at least Version 1.5 (called Java5 or "Tiger").
     16You need at least Version 1.6 (called Java6).
    1717
    1818Microsoft Windows people should just visit java.sun.com and
    19 download the latest Java5 executable.
     19download the latest Java6 executable.
    2020
    21 To get Java under linux, I recommend downloading the environment
    22 directly from Sun at http://java.sun.com. There is a linux
    23 binary installer which you have to execute from a console.
    24 
    25 However, if you run Debian or Ubuntu or any other dpkg-based
    26 distribution, you may use unofficial precompiled packages.
    27 You have to add the following line to your /etc/apt/sources.list
    28 (replace "stable" with your installation)
    29 
    30 deb http://ftp.debian-unofficial.org/debian/ stable non-free
    31 
    32 The package is called sun-j2se5.0-jre-binary.
    33 
    34 For MacOS user: There is an installer for Mac OS X 10.4:
    35 http://www.apple.com/support/downloads/java2se50release1.html
    36 
    37 Sorry, there is no Version of Java5 for Mac OS X 10.3 available :-(
    38 
     21To get Java under linux, either download the environment
     22directly from Sun at http://java.sun.com (there is a linux
     23binary installer which you have to execute from a console) or
     24use the mechanisms of your distributions packaging system.
    3925
    4026How to launch
     
    5036"java -jar josm-latest.jar" to launch. If this don't help, try to set
    5137you JAVA_HOME variable to the java location (the root location, not
    52 the bin. "/usr/lib/sun-j2se5.0-jdk" if you used the prebuild
    53 package).
     38the bin)
    5439
    5540MacOS people just click on the jar-file.
     
    6449
    6550svn co https://josm.openstreetmap.de/svn/trunk
    66 
    67 
    68 Ciao, Imi.
  • trunk/build.xml

    r3425 r3439  
    120120        <target name="compile" depends="init">
    121121                <javac srcdir="src" classpathref="classpath" destdir="build"
    122                                 target="1.5" source="1.5" debug="on" encoding="UTF-8">
     122                                target="1.6" source="1.6" debug="on" encoding="UTF-8">
    123123                        <compilerarg value="-Xlint:deprecation"/>
    124124                        <compilerarg value="-Xlint:unchecked"/>
     
    157157        <target name="test-compile" depends="test-init">
    158158                <javac srcdir="${src.dir}:${test.dir}/unit" classpathref="test.classpath" destdir="${test.dir}/${build.dir}"
    159                                 target="1.5" source="1.5" debug="on" encoding="UTF-8">
     159                                target="1.6" source="1.6" debug="on" encoding="UTF-8">
    160160                        <compilerarg value="-Xlint:deprecation"/>
    161161                        <compilerarg value="-Xlint:unchecked"/>
    162162                </javac>
    163163                <javac srcdir="${src.dir}:${test.dir}/functional" classpathref="test.classpath" destdir="${test.dir}/${build.dir}"
    164                                                 target="1.5" source="1.5" debug="on" encoding="UTF-8">
     164                                                target="1.6" source="1.6" debug="on" encoding="UTF-8">
    165165                        <compilerarg value="-Xlint:deprecation"/>
    166166                        <compilerarg value="-Xlint:unchecked"/>
Note: See TracChangeset for help on using the changeset viewer.