Archives pour l'étiquette Java

le langage de programmation

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="">
            <name>Codehaus MOJO</name>
                    <name>Springframework Maven SNAPSHOT Repository</name>