Computing.Net > Forums > Programming > Java - bluej in linux (Red Hat 7.2)

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Java - bluej in linux (Red Hat 7.2)

Reply to Message Icon

Name: Dennis
Date: March 28, 2002 at 13:52:05 Pacific
Comment:

I cannot load bluej now and I have tried everything from absolute path to placing bluej.jar in the directory were java is. Any help would be appreciated.

java -jar bluej-116.jar

reports: jave:cammand not found

Dennis



Sponsored Link
Ads by Google

Response Number 1
Name: Tom
Date: March 29, 2002 at 07:51:12 Pacific
Reply:

You need to set the PATH variable. Run the command:
export PATH=$PATH:/usr/java/jdk1.3.1/bin
(Or whatever the path to Java is.)
This will not stay set if you logout. To keep it set, you will need to add the same line to your .bashrc file in your home directory.


0

Response Number 2
Name: dennis
Date: March 29, 2002 at 18:53:13 Pacific
Reply:

Hi:

OK I loaded bluej in RH 7.2 and it is link to the PATH where jre is. It starts ok and when I do a compile with a class it complies fine. But when I run the class .java it show the window but it is greyed out. This is wierd. I am making a transition from Windows to Linux. In school and all. I am a java programmer (beginner). bluej works greatin windows. When I installed bluej I did get this message: Font specified in font.properties not found[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] This repeats 20 times and then bluej installs just like normal fine. Any help would be appreciated.

Dennis


0

Response Number 3
Name: Tom
Date: March 30, 2002 at 18:09:11 Pacific
Reply:

Ah, I think that might be something to do with Windows fonts and Linux fonts not being the same. Says there that there's a font.properties file, try editing that, and set the font to one that you have.


0

Response Number 4
Name: Dennis
Date: March 31, 2002 at 01:01:27 Pacific
Reply:

Hello:

I fixed it. I installed newer version of bluej. bluej-120rc1.jar and java sdk 1.4. All is well. Thanks for the input. By the way there is a bug with java and its font.properties. But I fixed that also.

Dennis


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Java - bluej in linux (Red Hat 7.2)

java compilation in linux www.computing.net/answers/programming/java-compilation-in-linux/10520.html

bluej in linux loaded but... www.computing.net/answers/programming/bluej-in-linux-loaded-but/1190.html

inet_ntop problems in Linux www.computing.net/answers/programming/inetntop-problems-in-linux/7763.html