Article View: borland.public.jbuilder.linux
Article #304Re: JBUILDER9 MANDRAKE 9.2
From: pNichols
Date: Mon, 05 Jan 2004 15:54
Date: Mon, 05 Jan 2004 15:54
80 lines
4279 bytes
4279 bytes
Alfredo D wrote: > thanks for your patience..... > > After check all you propose, the error remains. In Mandrake the symbolic > links where in usr/java and points to /usr/lib.. i double check it > but...road closed. > > At the end, i install the jbuilder for Windows, which runs ok at the first > attempt (why could not be so easy in linux?), I do not know why you are having these problems in Linux either. I run (on Suse) JB 5 through 10, and have never had any issues (except installing JB 5 where the installr would not work due to bugs in InstallAnywhere). 7 through 10 went without a hitch. I haven't used Mandrake in quite a while, but I used to have a couple of machines using Madrake and I did not have any problems either. I would look at two things (1) Make sure that the Project/Properties are pointing to a REAL JDK. It sounds really fishy that /usr/java is pointing to /usr/lib, since Javasoft, by default, has their rpms install to /usr/java. Both Redhat and Suse use the /usr/lib/java and /usr/lib/java2 to point to the JDKs installed path. Are you sure you do not have this reversed? If you are pointing to a sym link instead of an actual path, this would explain everything. JBuilder is not going to understand a sym link, whereas linux (and Unix) does. Seond thing is to check the jdk.config file in your /jbuilder/bin directory. The originating location may be /usr/local/JBuilder/bin or in your home directory /home/<username>/JBuilder, if you installed it on the default install path. Of course Suse's default path is /opt/JBuilder. There was a time that Interbase always installed in /opt, which is where Solaris usually installs software. I doubt that the last issue is your issue, due to the fact that you can run JBuilder, but your projects cannot find /lib folder that contains the needed jar files Java needs to run the build. One more thing, check your path settings in Mandrake and see if you have a JAVA_HOME environment variable and set a path to your JDK. This too, could be the culprit. Go to a terminal and type java -version. If nothing returns (the Java version should display), then your path and envrionment variables are not set. This will cause you problems as well. Here are the terminal settings: bin/> java -version bin/>PATH=$PATH:/usr/java/j2sdk1.4.x:/usr/java/J2sdk1.4.x/lib; bin/>echo JAVA_HOME This should return the actual java home location, if it returns null, then it is not set bin/>JAVA_HOME=/usr/java/j2sdk1.4.x You mat also want to set the following: JRE_HOME=/usr/java/j2sdk1.4.x/jre JDK_HOME=/usr/java/j2sdk1.4.x JAVA_ROOT=/usr/java/j2sdk1.4.1/jre/bin Please note that these settings will not hold outside of the terminal. Ince you exit terminal, you lose these settings. So you may want to launch JBuilder within this terminal. If this fixes your problems, then make them permanent in your /etc/profiles file, by adding these paths and seetings. You may have a profile.local file, which is ideally where these settings should go, but as I said, I haven't used Mandrake in a while and I do not remember where all of their settings go. Good luck and maybe these suggestions will fix your problems.
Technical Details
Message-ID:
<3ff986b1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3ff70183$1@newsgroups.borland.com> <3ff7ab49@newsgroups.borland.com> <3ff7e2c9@newsgroups.borland.com> <3ff8893b@newsgroups.borland.com> <3ff9325f$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 107590,a15730c005631a71 X-Google-Attributes: gid107590,public X-Google-ArrivalTime: 2004-01-05 08:10:36 PST Message-ID: <3ff986b1@newsgroups.borland.com> From: pNichols <paul@computer-logic.net> Subject: Re: JBUILDER9 MANDRAKE 9.2 Newsgroups: borland.public.jbuilder.linux Reply-To: paul@computer-logic.net Date: Mon, 05 Jan 2004 10:54:19 -0500 References: <3ff70183$1@newsgroups.borland.com> <3ff7ab49@newsgroups.borland.com> <3ff7e2c9@newsgroups.borland.com> <3ff8893b@newsgroups.borland.com> <3ff9325f$1@newsgroups.borland.com> Lines: 82 Organization: Computer Logic User-Agent: KNode/0.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit NNTP-Posting-Host: 68.71.188.25 X-Trace: newsgroups.borland.com 1073317553 68.71.188.25 (5 Jan 2004 07:45:53 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail