Sagewire Logo

Set/check run Environment for j2re-1.4.0 ?

2 Message(s) by 2 Author(s) originally posted in java setup


From: news Date:   Saturday, June 25, 2005
Hi,
I want to run this JAVA ap. & I read:-
]Because Protg is written in JAVA, it'll run on any platform that
]supports a version 1.4.2 compliant JAVA Virtual Machine (this includes
]Windows XP, Linux , and Macintosh machine s).

The latest linux installation I have got is Mandrake9 , which has:
j2re-1.4.0._01

Which I installed, but it did not have a man or any tutorial.

According to some old sun tutors and the actual kaffe 1.0.7,
'JAVAc ID.JAVA', complies ID.JAVA to create byte-code file: ID.class .
And 'JAVA ID' runs the byte-code.
I tested helloWorld after installing kaffe 1.0.7, my first JAVA action !

Now when I want to 'extend' to the newly installed j2re-1.4.0._01,
I can not find any JAVAc executable.
All executables are binary, except a script: ControlPanel, which
ends with:
<SomeDir>/bin/JAVA -D<long string of args>

When I run this script, I see error messages.

Q- how do I activate the compiler ?

Q - what are the essential env-vars for j2re & how are they set.

Thanks for any info.

== Chris Glur.


From: Nigel Wade Date:   Wednesday, April 12, 2006
wrote in message:
Hi,
I want to run this JAVA ap. & I read:-
]Because Protg is written in JAVA, it'll run on any platform that
]supports a version 1.4.2 compliant JAVA Virtual Machine (this includes
]Windows XP, Linux, and Macintosh machines).
The latest linux installation I have got is Mandrake9 , which has:
j2re-1.4.0._01
Which I installed, but it did not have a man or any tutorial.
According to some old sun tutors and the actual kaffe 1.0.7,
'JAVAc ID.JAVA', complies ID.JAVA to create byte-code file: ID.class .
And 'JAVA ID' runs the byte-code.
I tested helloWorld after installing kaffe 1.0.7, my first JAVA action !
Now when I want to 'extend' to the newly installed j2re-1.4.0._01,
I can not find any JAVAc executable.
All executables are binary, except a script: ControlPanel, which
ends with:
<SomeDir>/bin/JAVA -D<long string of args>
When I run this script, I see error messages.
Q- how do I activate the compiler ?
Q - what are the essential env-vars for j2re & how are they set.
Thanks for any info.
== Chris Glur.



The JRE (as in j2re...) is the JAVA Runtime Environment. It has all the
necessary components for running JAVA applications, applets etc. It does
not have the necessary components for developing JAVA applications, and
that includes the JAVA compiler, JAVAc.

You need to install the JAVA Development Kit. That might be called the
JDK or the SDK (Sun can not make up their minds, and change it with every
minor release).

Try http://JAVA.sun.com/j2se/1.4.2/download.html for the latest 1.4 SDK
release. Ther you'll find the download, and installation instructions.



Next Message: Invoking 1.4.2 vs 1.5.0



Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional