Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts

Saturday, 22 February 2014

Archi 2.6 and 64 bit linux

Archi 2.6 kept on crashing even after I anstalled a 32bit Java runtime environment (this was due to Archi still trying to use 64bit libraries)


Installed Java runtime environment for 32bit but Archi still crashed ( the moment you add a object onto a view).

The fix for this is to edit the Archi32.ini file and add the path to the vm it must use e.g.

Archi32.ini
-vm
/usr/lib/jvm/32/jdk1.7.0_51_32/jdk1.7.0_51/jre/bin/java
-vmargs
-Xms128m
-Xmx512m
-XX:MaxPermSize=256m
-Dosgi.requiredJavaVersion=1.6
-Dosgi.instance.area=@user.home/uk.ac.bolton/Archi
-Dosgi.configuration.area=@user.home/uk.ac.bolton/Archi/configuration

Then run Archi via Archi32-Ubuntu.sh and all should be fine.


Wednesday, 10 July 2013

Java Decompiler

Had some class files that I needed to decompile and found JD-GUI to be a great program for this.
Only one snag, it requires 32bit gtk libraries.

How to install JD-GUI on Ubuntu 64-bit:

sudo apt-get install ia32-libs-gtk

after that just run the application jd-gui

and the source coe can e saved with "Save All Sources"