Skip to main content

Error to compile squawk vm

1 reply [Last post]
victor_depor
Offline
Joined: 2009-10-19
Points: 0

Hi people,

i have a problem when i try to compile and built the squawk virtual machine...i'm in a third step and a try to do it:

root@victor-laptop:/home/victor/Escritorio/PFC/squawk# squawk

but the error is : squawk: command not found

i have tried also it:

root@victor-laptop:/home/victor/Escritorio/PFC/squawk# ./squawk

and the error is it:

Uncaught exception in Thread.run():
on thread com.sun.squawk.imp.MIDletMainWrapper - main
java.lang.IllegalArgumentException: MIDlet-1 property must exist in META-INF/MANIFEST.MF
at java.lang.Throwable.(bci=16)
at java.lang.Throwable.(bci=5)
at java.lang.Exception.(bci=6)
at java.lang.RuntimeException.(bci=6)
at java.lang.IllegalArgumentException.(bci=6)
at com.sun.squawk.imp.MIDletMainWrapper.main(bci=103)
in virtual method #97 of com.sun.squawk.Klass(bci=61)
at com.sun.squawk.Isolate.run(bci=414)
at java.lang.Thread.run(bci=17)
in virtual method #47 of com.sun.squawk.VMThread(bci=42)
in static method #3 of com.sun.squawk.VM(bci=6)

--------------------------------------------------------------------
Hits - Class:95.40% Monitor:93.04% Exit:100.00% New:95.80%
GCs: 0 full, 0 partial
** VM stopped: exit code = 1 **

Please, somebody can help me?

Thanks.

P.D: I pasted my env in order that you could have an idea:

ORBIT_SOCKETDIR=/tmp/orbit-victor
SSH_AGENT_PID=1627
GPG_AGENT_INFO=/tmp/seahorse-upzHKy/S.gpg-agent:1652:1
SHELL=/bin/bash
TERM=xterm
XDG_SESSION_COOKIE=5ad1c456185cc19ebb8cdcba49a4272a-1259334086.111866-706344304
GTK_RC_FILES=/etc/gtk/gtkrc:/home/victor/.gtkrc-1.2-gnome2
WINDOWID=69206020
OLDPWD=/home/victor/Escritorio/PFC
GTK_MODULES=canberra-gtk-module
USER=root
LD_LIBRARY_PATH=/usr/lib/jvm/java-6-openjdk/jre/lib/i386/server:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:
LS_COLORS=rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
SSH_AUTH_SOCK=/tmp/keyring-9dK1eC/socket.ssh
GNOME_KEYRING_SOCKET=/tmp/keyring-9dK1eC/socket
USERNAME=victor
SESSION_MANAGER=local/victor-laptop:@/tmp/.ICE-unix/1584,unix/victor-laptop:/tmp/.ICE-unix/1584
MAIL=/var/mail/root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
DESKTOP_SESSION=gnome
PWD=/home/victor/Escritorio/PFC/squawk
JAVA_HOME=/usr/lib/jvm/java-6-sun/
GDM_KEYBOARD_LAYOUT=es
GNOME_KEYRING_PID=1569
LANG=es_ES.UTF-8
GDM_LANG=es_ES.UTF-8
GDMSESSION=gnome
HISTCONTROL=ignoreboth
SPEECHD_PORT=7560
HOME=/root
SHLVL=2
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
LOGNAME=root
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-NHRHEiFxs9,guid=31c2104daa62af26e58a34604b0fe181
XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/
LESSOPEN=| /usr/bin/lesspipe %s
DISPLAY=:0.0
LESSCLOSE=/usr/bin/lesspipe %s %s
COLORTERM=gnome-terminal
XAUTHORITY=/var/run/gdm/auth-for-victor-rKqnzN/database
_=/usr/bin/env

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
fraybentos
Offline
Joined: 2007-11-16
Points: 0

It looks like you're not giving Squawk anything to execute. Try ./squawk com.sun.squawk.Test .