[plug] Linux stock trading system

Chris Caston caston at arach.net.au
Fri Dec 10 09:47:02 WST 2004


On Fri, 2004-12-10 at 08:43, James Devenish wrote:
> Hi Chris,
> 
> In message <1102609070.6997.0.camel at localhost>
> on Fri, Dec 10, 2004 at 12:17:50AM +0800, Chris Caston wrote:
> > On Thu, 2004-12-09 at 23:09, garry wrote:
> > > >Yet I have:
> > > >chris at debian:~/eclipse/eclipsetrader/jre/bin/java$ ls -poa
> > > >-rw-r--r--  1 chris 14381383 Dec  9 22:49 j2re-1_4_2_05-linux-i586.bin
> 
> Wouldn't you need to install Java? The error message from Eclipse seems
> to be:
> 
> > A Java Runtime Environment (JRE) or Java Development Kit (JDK)
> > must be available in order to run Eclipse. No Java virtual machine
> > was found after searching the following locations:
> > /home/chris/eclipse/eclipsetrader/./jre/bin/java
> > 'java' in your current PATH
> 
> This means either that you need to install Java in your eclipsetrader
> folder, or you need to install Java via a Debian package. Either should
> work. I guess that if you have 'already' installed Java, I think you
> must have installed it somewhere other than the two locations quoted
> above. I suppose you could also try tweaking your PATH to suit wherever
> it is that you installed Java.
> 

I tried install jamvm from Debian which apparently is compatible with
Java. It creates a sym link:

debian:/usr/bin# ls -poa java
lrwxrwxrwx  1 root 22 Dec 10 09:27 java -> /etc/alternatives/java


When trying to run eclipse I get 2 messages:

(1)
The Eclipse executable launcher was unable to locate its 
companion startup.jar file (in the same directory as the executable).

(2)

JVM terminated. Exit code=13
/usr/bin/java
-cp /home/chris/eclipse/eclipsetrader/./startup.jar
org.eclipse.core.launcher.Main
-os linux
-ws gtk
-arch x86
-showsplash /home/chris/eclipse/eclipsetrader/./eclipse -showsplash 600
-exitdata /home/chris/eclipse/eclipsetrader/./eclipse -exitdata a8006
-vm /usr/bin/java
-vmargs
-cp /home/chris/eclipse/eclipsetrader/./startup.jar
org.eclipse.core.launcher.Main

Any idea how to fix this?
Should I use Suns VM still?

thanks,

Chris
> 
> _______________________________________________
> PLUG discussion list: plug at plug.linux.org.au
> http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au
> 




More information about the plug mailing list