Eclipse. JVM Terminated -1

I installed Eclipse Europa (3.3) and Eclipse Ganymede (3.4) but could start none of them. Starting eclipse fails with

Eclipse laucnher: JVM terminated, exit code -1

I eventually found a fix, that requires to change the eclipse.ini file (I replace « new lines » with « spaces »)
eclipse.ini diff

Hope this helps!

Othere suggestions include:

  1. I suspect this reformats the new lines as well, depending on the editor used []

Install Java applications on Samsung SGH D840

It can be fun to programm JavaME applications, but very expensive to do if you need to use wap every time to download your jar+jad files on your phone.

If you don’t use wap, and send the jar+jad files with bluetooth, the flies appear in the « Other files » folder and there is nothing you can do with them (except deleting them :-( )

Well, that’s before you unlock the java installation. Here is how to do it: On the phone homepage, type in the code *#9998*52824678255# (which reads *#9998*JAVAINSTALL# ). Your phone should display ‘Activated’.

Now, to install a new Java application:

  1. Transfer the jar and the jad on the phone (with bluetooth or usb cable)
  2. The two files appear in Files>Other files
  3. Double-click with the OK button on the jad

Cool, eh? :-)

m2settings 0.7 released

J’ai touché quelques petits trucs dans m2settings, et j’en profite pour publier une nouvelle version (télécharger). Celle-ci génère un settings.xml bien plus lisible.

Voici par exemple ce que l’on peut obtenir en quelques clic:

<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/POM/4.0.0">
    <interactiveMode>true</interactiveMode>
    <offline>false</offline>
    <proxies/>
    <servers/>
    <mirrors>
        <mirror>
            <mirrorOf>central</mirrorOf>
            <name>Sateh</name>
            <url>http://maven.sateh.com/repository</url>
            <id>sateh.com</id>
        </mirror>
        <mirror>
            <mirrorOf>codehaus</mirrorOf>
            <name>Codehaus MOJO</name>
            <url>http://repository.codehaus.org/</url>
            <id>codehaus-mirror</id>
        </mirror>
    </mirrors>
    <profiles>
        <profile>
            <activation>
                <activeByDefault>true</activeByDefault>
                <file/>
            </activation>
            <properties>
                <hello>world</hello>
            </properties>
            <repositories>
                <repository>
                    <snapshots>
                        <enabled>true</enabled>
                        <checksumPolicy>warn</checksumPolicy>
                    </snapshots>
                    <id>springframework.org</id>
                    <name>Springframework Maven SNAPSHOT Repository</name>
                    <url>http://static.springframework.org/maven2-snapshots/</url>
                    <layout>default</layout>
                </repository>
            </repositories>
            <pluginRepositories/>
            <id>rds</id>
        </profile>
        <profile>
            <activation>
                <activeByDefault>false</activeByDefault>
                <jdk>sun</jdk>
                <file/>
            </activation>
            <id>sun</id>
        </profile>
    </profiles>
</settings>