Archive

Posts Tagged ‘j2me’

Instalar Mobile Processing Fedora 64b

August 12th, 2009 admin No comments

MarlonJ ha iniciado en su portal un curso en Video de Desarrollo de aplicaciones para dispositivos moviles con J2ME y el IDE Mobile Processing.

En la primera sesión se pretendió instalar Mobile Processing en los equipos, en mi caso al intentar correr mobile en Fedora 11 64 bits obtuve este mensaje de “error”:

$ sh ./mobile

It appears that the version of Jikes distributed with Processing
cannot properly run on this system.

Possible solutions:

+ If you already have Jikes installed on your system, you may
just need to remove the version that is included with Processing.

+ You probably just need to track down a version of Jikes that will
work with your distribution.

+ You may need to install the rpm/package for compat-libstdc++
This is what it takes to get things running on most versions
of RedHat Linux or Fedora Core.

+ If all else fails, or if you just like building stuff yourself,
you can download the source for Jikes from SourceForge:
http://sourceforge.net/project/showfiles.php?group_id=128803
And it just takes a simple ./configure and make, followed by
copying src/jikes to the processing-XXXX folder and you should
be all set.

If you get stuck, ask questions online from the helpful folks via
the Processing discussion board: http://processing.org/discourse/

Good luck!

Despúes de indagar un poco, probando soluciones, encontré que el archivo ‘jikes’ esta compilado para 32 bits, lo que hizé fue descargar del enlace que propone el mensaje de error ‘http://sourceforge.net/project/showfiles.php?group_id=128803‘ y compilar, despúes es necesario reemplazar el archivo Jikes que esta en la carpeta de Mobile Processing:

$ ./configure
$ make
$ cd src/
$ cp jikes ~/java/mobile/jikes -> Es el path donde descomprimí el Mobile Processing
$ cd ~/java/mobile/
$ ./mobile

Mobile Processing Fedora 64 bits

Mobile Processing Fedora 64 bits

Ya el mobile processing corre, pero tengo otro problema cuando intento correr algún ejemplo, es una excepción como esta:

/tmp/untitled8257517426696114186.tmp/sketch_090812a/midlet/sketch_090812a.java:0:0:0:0: Semantic Error: You need to modify your classpath, sourcepath, bootclasspath, and/or extdirs setup. Jikes could not find package “java.lang”

Este error se resuelve, descargando  e instalando la versión de Java para 32 bits, reinstalando el j2mewtk indicandole la ruta de javac de 32 bits.

<script src=”http://static.livestream.com/scripts/playerv2.js?channel=learningmarlonjcom&layout=playerEmbedDefault&backgroundColor=0xffffff&backgroundAlpha=1&backgroundGradientStrength=0&chromeColor=0×000000&headerBarGlossEnabled=true&controlBarGlossEnabled=true&chatInputGlossEnabled=true&uiWhite=true&uiAlpha=0.5&uiSelectedAlpha=1&dropShadowEnabled=true&dropShadowHorizontalDistance=10&dropShadowVerticalDistance=10&paddingLeft=10&paddingRight=10&paddingTop=10&paddingBottom=10&cornerRadius=3&backToDirectoryURL=null&bannerURL=null&bannerText=null&bannerWidth=320&bannerHeight=50&showViewers=true&embedEnabled=true&chatEnabled=true&onDemandEnabled=true&programGuideEnabled=false&fullScreenEnabled=true&reportAbuseEnabled=false&gridEnabled=false&initialIsOn=true&initialIsMute=false&initialVolume=10&contentId=null&initThumbUrl=null&playeraspectwidth=4&playeraspectheight=3&mogulusLogoEnabled=true&width=400&height=400&wmode=window” type=”text/javascript”></script>

Conferencia Mobile Processing

February 23rd, 2008 jpill No comments

El próximo 28 de Febrero (Día del concierto de Maiden :( ) se realizará la conferencia de Dispositivos mobiles con la herramienta Mobile Processing a cargo de Marlon J. Manrique.

mobile_processing_2008_flyer_uam.png

Despues de algún tiempo de ausencia de nuevo se presentan iniciativas de este tipo, es en este tipo de eventos donde conocí a Marlon J. al igual que otras personas también interesantes.

Espero que no se presentesn eventos que me impidan asistir a esta conferencía.