View Single Post
  #3 (permalink)  
Old February 12th, 2007
GregorK GregorK is offline
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Runs perfectly fine of Java 5 for me. I usually do releases on a system that only has Java 5 installed, so this would wonder me a little. But we already had accidental version jumps creep in before..

To force Java 5 compatibility use the option -source 1.5
But for my understanding this is only related to language features, it will still use the Java 6 bootclasspath for API lookup. You would need to adjust to use a Java 5 bootclasspath yourself.

This is what my windows debug exe output is telling me... startup was fine and no errors or anything visible...

Quote:
ResourceManager resource configuration:
- Resource category: JAVA
- Current directory: C:\Program Files\Phex_3.0.2.100\
- Property count: 13
- Property: =
- Property: arguments=
- Property: classpath=lib\phex.jar
- Property: currentdir=
- Property: embedjar=false
- Property: javapropertiescount=0
- Property: jvmsearch=registry;javahome;jrepath;jdkpath;exepat h;jview
- Property: mainclassname=phex.Main
- Property: maxversion=
- Property: minversion=1.5
- Property: skel_Debug=1
- Property: skel_Message=Java has not been found on your computer. Do you want
to download it?
- Property: skel_PressKey=1
Now searching the JVM installed on the system...
JVM Lookup: found VM (V(1)(5)(0)) in registry.
JVM Lookup: found VM (V(1)(5)(0)) in registry.
JVM Lookup: found VM (V(1)(5)(0)) in registry.
JVM Lookup: found VM (V(1)(5)(0)) in registry.
JVM Lookup: Env-Var JAVA_HOME not defined on this system.
JVM Lookup: Env-Var JRE_HOME not defined on this system.
JVM Lookup: Env-Var JDK_HOME not defined on this system.
Current directory is C:\Program Files\Phex_3.0.2.100\
JSmooth will now try to use the VM in the following order: registry;javahome;jre
path;jdkpath;exepath;jview
------------------------------
Trying to use a JVM defined in the registry (4 available)
VM will be tried in the following order: 1.5.0;1.5.0;1.5.0;1.5.0;
- Trying registry: <D:\Program Files\Java\jre1.5.0_08><D:\Program Files\Java\jre
1.5.0_08\bin\client\jvm.dll><1.5.0>
DONT USE CONSOLE == FALSE
RUN PROC registry ... 1.5.0 <= 1.5.0<= 0.0.0
RUN PROC... version OK
RUNVM12PROC
Running new proc for D:\Program Files\Java\jre1.5.0_08\bin\java.exe
ClassPath element 0=C:\Program Files\Phex_3.0.2.100\lib\phex.jar
ADDCP= C:\Program Files\Phex_3.0.2.100\lib\phex.jar;
CLASSNAME = <phex.Main>
COMMAND LINE: D:\Program Files\Java\jre1.5.0_08\bin\java.exe -classpath ";C:\Program Files\Phex_3.0.2.100\lib\phex.jar;" phex.Main
RESULT: 1
WAITING: 1
WAIT ENDED
__________________
Reply With Quote