If it is not compatible then you won't be able to run it with Java 4.
But why don't you install two JVM versions on your server? You could have Java 4 to run your ATG Dynamo server and a more recent JVM to run Eclipse.
Moreover why can't you run your ATG dynamo server with a more recent JVM? AFAIK JVMs are backward compatible.