Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Java VM

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
whitetr6
n00b
n00b
Posts: 28
Joined: Fri Mar 11, 2005 2:11 pm

Java VM

  • Quote

Post by whitetr6 » Mon Mar 21, 2005 6:34 pm

I'm trying to install a specialized piece of software that is not part of the Gentoo portage tree, called cross-platform client for StarTeam (Borland). It's written in Java, so when I tried to install, it said it could not find the Java Virtual Machine on my system. What package(s) do I need to emerge for a Java VM? I tried emerge --search for Java VM, but nothing seemed obvious and I know nothing about Java to know which of the packages includes the VM. Thanks
Top
Mongoose5
n00b
n00b
User avatar
Posts: 71
Joined: Wed Jan 29, 2003 10:10 pm

  • Quote

Post by Mongoose5 » Mon Mar 21, 2005 6:41 pm

You could use:

dev-java/blackdown-jdk-1.4.1
dev-java/sun-jdk-1.4.2.07

both of them are java Development Kits
Top
JackDog
Apprentice
Apprentice
User avatar
Posts: 297
Joined: Thu Sep 09, 2004 12:59 am
Location: St. Louis, Missoura
Contact:
Contact JackDog
Website

Re: Java VM

  • Quote

Post by JackDog » Mon Mar 21, 2005 6:45 pm

whitetr6 wrote:I'm trying to install a specialized piece of software that is not part of the Gentoo portage tree, called cross-platform client for StarTeam (Borland). It's written in Java, so when I tried to install, it said it could not find the Java Virtual Machine on my system. What package(s) do I need to emerge for a Java VM? I tried emerge --search for Java VM, but nothing seemed obvious and I know nothing about Java to know which of the packages includes the VM. Thanks
Yikes. Sorry to hear that... StarTeam is horrible ;) We are trying to jump ship this summer.

<Anyways>

I would recommend using a 1.5 JDK. Its faster, and looks a lot better. GTK LnF also works well.
Are you intolerant of intolerant people? Tired of being PC yet?
Top
hlevyn
Apprentice
Apprentice
User avatar
Posts: 240
Joined: Fri Jan 14, 2005 5:13 pm
Location: Santa Clara, California
Contact:
Contact hlevyn
Website

  • Quote

Post by hlevyn » Mon Mar 21, 2005 9:37 pm

With whatever JDK you choose, just make sure that it appears on the path. To test this simply execute:

Code: Select all

java -version
On a side note, the Win32 client for StarTeam is fairly decent. The cross platform client, as you've noticed, could use some work. At least it's better than the web interface. ;)
Madness takes its toll. Please have exact change.
Top
Ansur
Tux's lil' helper
Tux's lil' helper
Posts: 84
Joined: Thu Jul 08, 2004 9:34 am
Location: Ireland

Re: Java VM

  • Quote

Post by Ansur » Tue Mar 22, 2005 1:39 pm

JackDog wrote:I would recommend using a 1.5 JDK. Its faster, and looks a lot better. GTK LnF also works well.
Any idea why 1.5 isn't in portage?
Real programmers don't document. If it was hard to write, it should be hard to understand.
Top
JackDog
Apprentice
Apprentice
User avatar
Posts: 297
Joined: Thu Sep 09, 2004 12:59 am
Location: St. Louis, Missoura
Contact:
Contact JackDog
Website

  • Quote

Post by JackDog » Tue Mar 22, 2005 3:09 pm

It is... Just marked as unstable. You will have to download it first, then move it to /usr/portage/distfiles Then add

Code: Select all

dev-java/sun-jdk ~x86
to /etc/protage/package.keywords

It should then emerge. The JVMs are slotted so you can have more than one. There is a tool called java-config that lets you set the system and user jvm.

I usually just extract the jdk myself and set the PATHS myself...
Are you intolerant of intolerant people? Tired of being PC yet?
Top
Ansur
Tux's lil' helper
Tux's lil' helper
Posts: 84
Joined: Thu Jul 08, 2004 9:34 am
Location: Ireland

  • Quote

Post by Ansur » Tue Mar 22, 2005 3:13 pm

Wow :oops:
Thanks though :)
Real programmers don't document. If it was hard to write, it should be hard to understand.
Top
IT
Tux's lil' helper
Tux's lil' helper
Posts: 140
Joined: Tue Jul 06, 2004 7:44 pm
Location: Terra Firma

  • Quote

Post by IT » Sat Mar 26, 2005 10:37 am

I have a quick question about jkd & jre...on my last emerge update...I noticed it gave me a message that I was trying to remove my default VM...so I did the:

Code: Select all

 java-config -L

Code: Select all

 java-config -S
to set it all...but I'm confused as to why I have a few versions of both:
-L yields:

Code: Select all

[blackdown-jre-1.4.2.01] "Blackdown JRE 1.4.2.01" (/etc/env.d/java/20blackdown-jre-1.4.2.01)
[blackdown-jre-1.4.1] "Blackdown JRE 1.4.1" (/etc/env.d/java/20blackdown-jre-1.4.1)
[blackdown-jdk-1.4.2.01] "Blackdown JDK 1.4.2.01" (/etc/env.d/java/20blackdown-jdk-1.4.2.01)
[blackdown-jdk-1.4.1] "Blackdown JDK 1.4.1" (/etc/env.d/java/20blackdown-jdk-1.4.1) *
isn't 1.4.2.10 a newer version than 1.4.1? also, why doesn't the VM dynamically assign itself?...why did I have to go in there and assign it?

finally, what exactly are the differences between JDK and JRE? and which should I be using by default?

I have no idea about java...so bear with me on this one plz.
Top
Ansur
Tux's lil' helper
Tux's lil' helper
Posts: 84
Joined: Thu Jul 08, 2004 9:34 am
Location: Ireland

  • Quote

Post by Ansur » Sat Mar 26, 2005 11:26 am

1.4.2_01 is a more recent version than 1.4.2, though the difference between these two will be minimal.

The difference between the JDK and the JRE is as following:
JRE: Java RunTime Environment - you need this to use Java applications. Otherwise they won't run
JDK: Java Development Kit - you need this to develop Java applications. So if you are only a user of Java Applications, you have no need for this, the JRE will be sufficient then.
Real programmers don't document. If it was hard to write, it should be hard to understand.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic