I don't use JBuilder so I cannot be very helpful, however, the tar.gz file
with the JDK in it is exactly what you need. There is no mumbo jumbo setup
or config files that go anywhere, essentially you unzip the tar, it creates
a sub directory called "jdk1.2.2" and you just move that dir wherever you
want ( I moved mine to /usr/local, so my java stuff is in,
/usr/local/jdk1.2.2 ) and just add it as the FIRST THING to your path. So
for example my bash startup script ( prolly what you are using as well since
you are in a RH system, the file is actually called ".bashrc" and itrs in
your home direcotry ) looks something liek this:

PATH=/usr/local/jdk1.2.2/bin:$PATH
export PATH

And that is it for setup, the ONLY thing the JDK 1.2 and 1.3 series needs,
is to be in your path, from there it figures all the rest out. You might get
some errors running programs sometimes because of a "No Such Class
Exception" type thing, but that is only cause you need to include your local
directory in your path as well, so java knows "to look" in the current
directory for classes ALONG WITH all its own classes. To execute something
like that ( assuming you haven't out the local dir directive, "." in your
path ) would looke like this:

java -classpath . MyNewProgram

A link to a file that you might want to down for the entire jdk, is here:

ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-1.2.2/i386
/rc4/jdk-1.2.2-RC4-linux-i386-glibc-2.1.2.tar.bz2

and you are gonna first un-bzip it by using:

bzip2 -d jdk-1.2.2-RC4-linux-i386-glibc-2.1.2.tar.bz2

then untar it using:

tar xvf jdk-1.2.2-RC4-linux-i386-glibc-2.1.2.tar

that will create teh "jdk1.2.2" directory I have spoken of before. From
there, move it to whereever you want, but just make sure to include it as
the FIRST thing in your path.

ALSO< another problem maybe that you have kaffe installed, to remove it,
login as root to your box and type "rpm -e kaffe" and you should be ok
 Kaffe cuases problems cause its an open source version of the JDK, but is
no where as advanced, but it goes by all the same names, i.e. rnuning "java"
can execute kaffe, and you wouldn't know it unless you typed "java -version"
and it said something about kaffe, in general I try and remove it so I don't
get conflicts. )

Best wishes,

-Riyad

-----Original Message-----
From: Efraim Wainerman [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 27, 2000 11:30 AM
To: [EMAIL PROTECTED]
Subject: Problems with JBuilder 3.5 and jdk1.2 and 1.2.2


I try to run JBuilder 3.5 foundation on my RH 6.1 and get the following
exception when the mouse moves over the application:

Exception occurred during event dispatching:
java.lang.NoSuchMethodError: java.awt.Component: method
getIntrinsicCursor()Ljav
a/awt/Cursor; not found
        at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:1781)
        at java.awt.Container.dispatchEventImpl(Compiled Code)
        at java.awt.Window.dispatchEventImpl(Compiled Code)
        at java.awt.Component.dispatchEvent(Compiled Code)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:258)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)



I know that it requires jdk1.2.2 but I probed various JVM´s and get the
same exception.
And one more question: I have installed various implementations of JDK
and I have problems with the classes,
it should be downloaded separately?. Somebody know where I could find a
RPM binary package of JDK1.2.2
with the proper classes.


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to