It's starting to come along. :)
http://www.simisen.com/jmg/pmwiki/pmwiki.php?n=Main.JavaOnFedora
Comments?
____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
Hi John,
* John M. Gabriele john_sips_tea@yahoo.com [2005-07-26 11:02]:
It's starting to come along. :)
http://www.simisen.com/jmg/pmwiki/pmwiki.php?n=Main.JavaOnFedora
Comments?
Thanks for doing this! Have you considered moving it to the official (?) Fedora wiki? I started a Java page there a couple of weeks ago but haven't had much time to flesh it out:
http://fedoraproject.org/wiki/Java
I can add you to the EditGroup once you've created an account.
Andrew
--- Andrew Overholt overholt@redhat.com wrote:
Hi John,
- John M. Gabriele john_sips_tea@yahoo.com [2005-07-26 11:02]:
It's starting to come along. :)
http://www.simisen.com/jmg/pmwiki/pmwiki.php?n=Main.JavaOnFedora
Comments?
Thanks for doing this!
You're welcome. :)
Have you considered moving it to the official (?) Fedora wiki? I started a Java page there a couple of weeks ago but haven't had much time to flesh it out:
Thanks Andrew. For now, I just plan to keep this little seedling to myself. :) I put a link to the official wiki in the 3rd paragraph at the top though.
---J
____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
John M. Gabriele wrote:
It's starting to come along. :)
http://www.simisen.com/jmg/pmwiki/pmwiki.php?n=Main.JavaOnFedora
Comments?
Firstly that the company I work for is called "Red Hat" :) That's two words, both capitalized.
Also that the Java runtime we ship is "libgcj" and the Java compiler we use is called "ecj".
| On the other hand, note that Eclipse comes with FC4 and runs well
I don't think Eclipse uses Swing, does it?
| getting Sun's Java to coexist with GNU's Java on Fedora sounds like | a pretty prickly problem to me.
They should coexist just fine.
| yum list | grep -i classpath
The packages called classpath* are not themselves classpath.
Cheers, Gary
--- Gary Benson gbenson@redhat.com wrote:
John M. Gabriele wrote:
It's starting to come along. :)
http://www.simisen.com/jmg/pmwiki/pmwiki.php?n=Main.JavaOnFedora
Comments?
Firstly that the company I work for is called "Red Hat" :) That's two words, both capitalized.
Red Hat is mis-written on the 'Net about as often as "separate" is misspelled there. :)
Also that the Java runtime we ship is "libgcj" and the Java compiler we use is called "ecj".
Thanks. I'll look at the man page when I get home (no FC here at work). I always thought that the "gcj" program was the front-end to the "gcc" program...
| On the other hand, note that Eclipse comes with FC4 and runs well
I don't think Eclipse uses Swing, does it?
You're right -- that sentence didn't belong in there.
| getting Sun's Java to coexist with GNU's Java on Fedora sounds like | a pretty prickly problem to me.
They should coexist just fine.
Ok.
| yum list | grep -i classpath
The packages called classpath* are not themselves classpath.
Cheers, Gary
Which *are* the Classpath packages?
Is there a sharp distinction between the GCJ packages and the Classpath packages?
Thanks, ---J
__________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail
John M. Gabriele wrote:
--- Gary Benson gbenson@redhat.com wrote:
John M. Gabriele wrote:
It's starting to come along. :)
http://www.simisen.com/jmg/pmwiki/pmwiki.php?n=Main.JavaOnFedora
Comments?
Firstly that the company I work for is called "Red Hat" :) That's two words, both capitalized.
Red Hat is mis-written on the 'Net about as often as "separate" is misspelled there. :)
Heh ;)
Also that the Java runtime we ship is "libgcj" and the Java compiler we use is called "ecj".
Thanks. I'll look at the man page when I get home (no FC here at work). I always thought that the "gcj" program was the front-end to the "gcc" program...
gcj is a gcc front-end, and while it can compile to bytecode it's not very good at it. In Fedora we use ecj, Eclipse's compiler, to compile to bytecode. We use gcj (indirectly, via aot-compile-rpm) to compile that bytecode into native code.
Which *are* the Classpath packages?
There are none. Classpath's class library exists within libgcj's rpm.
Cheers, Gary
On Tue, 2005-07-26 at 08:02 -0700, John M. Gabriele wrote:
It's starting to come along. :) http://www.simisen.com/jmg/pmwiki/pmwiki.php?n=Main.JavaOnFedora
Comments?
What other Java software comes with Fedora? There's the Java packages in the Fedora Extras project (aka "FE").
I don't think there are any Java packages in FE.
Can I do Java GUI development on Fedora with Swing or AWT? Yes. You've even probably already got the necessary packages installed. See Java-Gnome.
Java-GNOME uses native GTK libraries, so this wouldn't fall under Swing or AWT.
* Ziga Mahkovec ziga.mahkovec@klika.si [2005-07-26 11:33]:
What other Java software comes with Fedora? There's the Java packages in the Fedora Extras project (aka "FE").
I don't think there are any Java packages in FE.
Nope, but hopefully soon we'll have RSSOwl! :)
Andrew
* Andrew Overholt overholt@redhat.com [2005-07-26 11:41]:
- Ziga Mahkovec ziga.mahkovec@klika.si [2005-07-26 11:33]:
What other Java software comes with Fedora? There's the Java packages in the Fedora Extras project (aka "FE").
I don't think there are any Java packages in FE.
Nope, but hopefully soon we'll have RSSOwl! :)
I may have spoken too soon!
http://article.gmane.org/gmane.linux.redhat.fedora.extras.general/6743
It'd be great if people could try this out and see if they find any problems. My build is still going but it looks good so far. Please let Jochen know if you find anything so hopefully we can get this is soon!
Andrew
--- Ziga Mahkovec ziga.mahkovec@klika.si wrote:
On Tue, 2005-07-26 at 08:02 -0700, John M. Gabriele wrote:
It's starting to come along. :) http://www.simisen.com/jmg/pmwiki/pmwiki.php?n=Main.JavaOnFedora
Comments?
What other Java software comes with Fedora? There's the Java packages in the Fedora Extras project (aka "FE").
I don't think there are any Java packages in FE.
Ah. Thanks. That makes sense in light of recent talk here about how JPP is somewhat of an incubator for FC Java packages.
Can I do Java GUI development on Fedora with Swing or AWT? Yes. You've even probably already got the necessary packages installed. See Java-Gnome.
Java-GNOME uses native GTK libraries, so this wouldn't fall under Swing or AWT.
-- Ziga
Sorry, that was a typo of mine: s/with/without/
---J
__________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail
On Tue, 26 Jul 2005 08:02:12 -0700, John M. Gabriele wrote:
It's starting to come along. :)
http://www.simisen.com/jmg/pmwiki/pmwiki.php?n=Main.JavaOnFedora
Here are a voluminous amount of suggested changes and additions!
Sun's Java and GNU Java should be able to coexist on the same system, but I wouldn't know how to get that configuration working.
Sun's Java and GCJ are, of course, able to coexist on the same system. Follow this simple five step guide to get the recommend setup:
1. Download a Sun JDK (not a JRE!) from http://java.sun.com/j2se/1.5.0/download.jsp - and make sure you choose the "Linux RPM in self-extracting file" option.
2. Make the file you've just downloaded executable by typing chmod +x [insert filename here]
3. Execute it by typing ./[insert filename here] This will extract and then install the RPM for you.
4. Download the binary package java-1.5.0-sun-compat-1.5.0.04-1jpp from jpackage.org. (The version number may be different by the time you read this.) You will find java-1.5.0-sun-compat near the bottom of the long list of packages on the left side of the page - click on that and then click on the first icon in the B column (on jpackage.org, B is for binary package, H is for project homepage and S is for source package.)
5. Install it with rpm -ivh java-1.5.0-sun-compat-1.5.0.04-1jpp*.rpm
Optionally, you can now make the Sun JDK the default, by typing
alternatives --configure java
This will only affect "java" and a few other commands. To make the Sun Java compiler and JDK development tools the default as well, you also need to do:
alternatives --configure javac
If you wish to use a different JDK to the default one, without changing your current default, you will find each JDK in its own directory under /usr/lib/jvm - along with some shortcut links like "java-gcj" to save typing.
Note that JPackage (at runtime), JPackage (when package building), and many Java applications, all have their own separate systems for setting "default" virtual machines. So just because you set the system default with the alternatives command, that does not mean it will affect everything.
Can I do Java GUI development on Fedora without Swing or AWT?
Certainly. You've even probably already got the necessary packages installed. See Java-Gnome.
Certainly. You've even probably already got the necessary packages installed. The two main options are SWT (the cross-platform toolkit that uses native libraries like GTK to render stuff) and Java-Gnome.
If you want to develop cross-platform applications, your best choice is probably SWT, which comes in the libswt3-gtk2 package, and is supported by Eclipse.
Eclipse has a visual editor component like other IDEs, called VE (Visual Editor), but it isn't shipped in Fedora yet. You can download it from eclipse.org and unzip it (as root) into /usr/share/eclipse - the eclipse updating mechanism doesn't work, so it's best to install it manually like that. It's not necessary to install VE to develop SWT applications - VE just provides a visual, "drag-and-drop" way of developing SWT, Swing and AWT applications and components.
Where do I file bugs on Java software in Fedora?
There isn't a Java-software-specific bug-reporting page. Please use: https://bugzilla.redhat.com/bugzilla/ . Just be sure to search >first, to see if your bug is already listed.
Consider carefully the appropriate bug database to use. Firstly, can you determine or estimate[1] (for example by running the software on a Sun JDK) if it is a bug in the Java software you are using, or it is a bug in gcj/gij/libgcj? If the former, consider if it might be appropriate to report the bug to that project itself, rather than reporting it on the Fedora bug database. If the latter, it is appropriate to post the bug to the fedora bugzilla (either under the specific package, or under "gcc" if you can identify a specific compiler or interpreter bug). gcc also has its own bug database at gcc.gnu.org, but Fedora gcc is hardly modified from mainline gcc in terms of the Java stuff, and many of the same people read both databases, so it's not the end of the world if (improbably) you post a Fedora-specific bug to the gcc database by mistake.
How do I create a Java project in Eclipse on Fedora?
Easy. Just start eclipse by typing "eclipse" (that was hard, wasn't it!) (You can specify a particular virtual machine to use by typing eclipse -vm /usr/lib/jvm/jre-gcj/bin/java .) Then go to the File menu and choose New -> Project. Type your project name, choose the options, and click Next (for more options) or Finish. Notice that you can import existing source code at this point.
Eclipse may now ask you whether you want to switch to the Java Perspective. If so, say Yes!
Then create a New Class. If you're starting from nothing, you probably want to ask eclipse to create a "public static void main (String args [])" method for you at this point (Eclipse is really good at taking of drudgery like that). Now you can go ahead are start typing!
If you develop GUIs and you prefer working in a more visual style, see above for details about Eclipse's VE plugin.
Some quick tips: You can configure project-specific preferences (like which JDK to use, code style conventions, warnings to supress, etc.) by right-clicking on the project in the project browser on the left and choosing Properties. You can navigate to the declarations of fields or methods in your code by highlighting them and pressing F2, or by using the code structure browser on the right. When you get a compiler error, highlight the code that Eclipse is complaining about and press CTRL+1 - eclipse will usually be able to offer you some "quick fix" suggestions as to how to fix it - and it will not only suggest them but actually implement them for you. Very handy!
When you're comfortable with the basics of Eclipse, try right-clicking on code or variables and exploring the many refactoring options that are on offer. Refactoring is essentially like the Quick Fix system, but user-initiated.
Caveats: Unfortunately, a couple of things do not work well when running eclipse on libgcj on Fedora Core 4. Firstly, some users have reported hangs with large CVS checkouts (although this may only apply to bleeding-edge releases from the Fedora Development package repository). Secondly, debugging doesn't work at all with a libgcj virtual machine, because it's not implemented in libgcj yet - although work on that is underway.
How do I use Tomcat?
Very briefly: "service tomcat4 start" or "service tomcat5 start" will start tomcat. (Can you guess how to stop it?) Then use "rpm -ql tomcat5|less" to explore the directory structure of Tomcat on Fedora. The main thing you need to know is that you put your webapps under /var/lib/tomcat{4,5}/webapps.
--- Robin Green greenrd@presidium.org wrote:
On Tue, 26 Jul 2005 08:02:12 -0700, John M. Gabriele wrote:
It's starting to come along. :)
http://www.simisen.com/jmg/pmwiki/pmwiki.php?n=Main.JavaOnFedora
Here are a voluminous amount of suggested changes and additions!
Just who *are* you Mr. Green? :) Thanks for the suggestions!
Sun's Java and GNU Java should be able to coexist on the same system, but I wouldn't know how to get that configuration working.
Sun's Java and GCJ are, of course, able to coexist on the same system. Follow this simple five step guide to get the recommend setup:
- Download a Sun JDK (not a JRE!) from
http://java.sun.com/j2se/1.5.0/download.jsp - and make sure you choose the "Linux RPM in self-extracting file" option.
- Make the file you've just downloaded executable by typing
chmod +x [insert filename here]
- Execute it by typing ./[insert filename here] This will extract and then
install the RPM for you.
- Download the binary package java-1.5.0-sun-compat-1.5.0.04-1jpp from
jpackage.org. (The version number may be different by the time you read this.) You will find java-1.5.0-sun-compat near the bottom of the long list of packages on the left side of the page - click on that and then click on the first icon in the B column (on jpackage.org, B is for binary package, H is for project homepage and S is for source package.)
- Install it with rpm -ivh java-1.5.0-sun-compat-1.5.0.04-1jpp*.rpm
Optionally, you can now make the Sun JDK the default, by typing
alternatives --configure java
This will only affect "java" and a few other commands. To make the Sun Java compiler and JDK development tools the default as well, you also need to do:
alternatives --configure javac
If you wish to use a different JDK to the default one, without changing your current default, you will find each JDK in its own directory under /usr/lib/jvm - along with some shortcut links like "java-gcj" to save typing.
Note that JPackage (at runtime), JPackage (when package building), and many Java applications, all have their own separate systems for setting "default" virtual machines. So just because you set the system default with the alternatives command, that does not mean it will affect everything.
Robin -- thank you for the excellent instructions. However, my little hole-in-the-wall faq is aimed squarely at helping new Fedora users get started using the GNU Java implementation that comes with FC. As such, I've changed the link from JavaOnFedora to GNUJavaOnFedora: http://www.simisen.com/jmg/pmwiki/pmwiki.php?n=Main.GNUJavaOnFedora
But your instructions are too good to go to waste! You might consider sending them off in a note to the fellow who runs the fedorafaq: http://www.fedorafaq.org/#java since there's some similar (but possibly improvable) instructions there for almost the same thing.
Similarly, there are instructions here also http://stanton-finley.net/fedora_core_4_installation_notes.html#Java that you may be able to help fine-tune.
Can I do Java GUI development on Fedora without Swing or AWT?
Certainly. You've even probably already got the necessary packages
installed. See Java-Gnome.
Certainly. You've even probably already got the necessary packages installed. The two main options are SWT (the cross-platform toolkit that uses native libraries like GTK to render stuff) and Java-Gnome.
If you want to develop cross-platform applications, your best choice is probably SWT, which comes in the libswt3-gtk2 package, and is supported by Eclipse.
Eclipse has a visual editor component like other IDEs, called VE (Visual Editor), but it isn't shipped in Fedora yet. You can download it from eclipse.org and unzip it (as root) into /usr/share/eclipse
- the eclipse updating mechanism doesn't work, so it's best to install it
manually like that. It's not necessary to install VE to develop SWT applications - VE just provides a visual, "drag-and-drop" way of developing SWT, Swing and AWT applications and components.
By now I'm sure you're noticing my leaning toward using copylefted software when possible. As far as creating your own software, I regularly suggest to others that if your software is to depend on other pieces to run, it's preferred that those pieces be GPL'd or LGPL'd.
But, again, you've given some great suggestions, so I've tried to incorporate them while still maintaining the flavor of the document.
Where do I file bugs on Java software in Fedora?
There isn't a Java-software-specific bug-reporting page. Please use:
https://bugzilla.redhat.com/bugzilla/ . Just be sure to search >first, to see if your bug is already listed.
Consider carefully the appropriate bug database to use. Firstly, can you determine or estimate[1] (for example by running the software on a Sun JDK) if it is a bug in the Java software you are using, or it is a bug in gcj/gij/libgcj? If the former, consider if it might be appropriate to report the bug to that project itself, rather than reporting it on the Fedora bug database. If the latter, it is appropriate to post the bug to the fedora bugzilla (either under the specific package, or under "gcc" if you can identify a specific compiler or interpreter bug). gcc also has its own bug database at gcc.gnu.org, but Fedora gcc is hardly modified from mainline gcc in terms of the Java stuff, and many of the same people read both databases, so it's not the end of the world if (improbably) you post a Fedora-specific bug to the gcc database by mistake.
Thanks. :)
How do I create a Java project in Eclipse on Fedora?
Easy. Just start eclipse by typing "eclipse" (that was hard, wasn't it!) (You can specify a particular virtual machine to use by typing eclipse -vm /usr/lib/jvm/jre-gcj/bin/java .) Then go to the File menu and choose New -> Project. Type your project name, choose the options, and click Next (for more options) or Finish. Notice that you can import existing source code at this point.
Eclipse may now ask you whether you want to switch to the Java Perspective. If so, say Yes!
Then create a New Class. If you're starting from nothing, you probably want to ask eclipse to create a "public static void main (String args [])" method for you at this point (Eclipse is really good at taking of drudgery like that). Now you can go ahead are start typing!
If you develop GUIs and you prefer working in a more visual style, see above for details about Eclipse's VE plugin.
Some quick tips: You can configure project-specific preferences (like which JDK to use, code style conventions, warnings to supress, etc.) by right-clicking on the project in the project browser on the left and choosing Properties. You can navigate to the declarations of fields or methods in your code by highlighting them and pressing F2, or by using the code structure browser on the right. When you get a compiler error, highlight the code that Eclipse is complaining about and press CTRL+1 - eclipse will usually be able to offer you some "quick fix" suggestions as to how to fix it - and it will not only suggest them but actually implement them for you. Very handy!
When you're comfortable with the basics of Eclipse, try right-clicking on code or variables and exploring the many refactoring options that are on offer. Refactoring is essentially like the Quick Fix system, but user-initiated.
Caveats: Unfortunately, a couple of things do not work well when running eclipse on libgcj on Fedora Core 4. Firstly, some users have reported hangs with large CVS checkouts (although this may only apply to bleeding-edge releases from the Fedora Development package repository). Secondly, debugging doesn't work at all with a libgcj virtual machine, because it's not implemented in libgcj yet - although work on that is underway.
Thank you! Had no idea about that debugging caveat! You know though, reading your short howto reminds me how many other good ones are already out there for Eclipse (not to mention the Eclipse docs, which seem fairly complete).
I think I'm going to opt for brevity, and simply try and point out the Fedora-specific Eclipse tips you'll need to know to get started quickly.
How do I use Tomcat?
Very briefly: "service tomcat4 start" or "service tomcat5 start" will start tomcat. (Can you guess how to stop it?) Then use "rpm -ql tomcat5|less" to explore the directory structure of Tomcat on Fedora. The main thing you need to know is that you put your webapps under /var/lib/tomcat{4,5}/webapps.
I'm working through that at the moment (though rapidly running out of time tonight), and your tips should come in helpful. :) Hmm... perhaps my tomcat is configured incorrectly, because I don't have a /var/lib/tomcat5 directory... I *do* have a /usr/share/eclipse/plugins/org.eclipse.tomcat_4.1.30.1/webapps though...
Thanks again, ---J
____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
* Robin Green greenrd@presidium.org [2005-07-26 18:11]:
Sun's Java and GNU Java should be able to coexist on the same system, but I wouldn't know how to get that configuration working.
Sun's Java and GCJ are, of course, able to coexist on the same system. Follow this simple five step guide to get the recommend setup:
- Download a Sun JDK (not a JRE!) from
http://java.sun.com/j2se/1.5.0/download.jsp - and make sure you choose the "Linux RPM in self-extracting file" option.
Sorry to sound like a jerk pointing this out again, but the Sun RPMs are *NOT* recommended as they can be removed with an update to our stuff (I believe it's a problem with xml Provides but I can't recall at the moment).
Eclipse has a visual editor component like other IDEs, called VE (Visual Editor), but it isn't shipped in Fedora yet. You can download it from eclipse.org and unzip it (as root) into /usr/share/eclipse - the eclipse updating mechanism doesn't work, so it's best to install it manually like
I installed VE yesterday using our RPMs and the update manager. I had to install some extra packages (ie. eveything up to and including eclipse-pde-devel .. yum will bring in everything if you specify that ... hmm, maybe not eclipse-rcp-devel?) but once I had them installed, I got no errors (I think it will work even if you get "missing .../feature.xml" errors). Now, as for actually *using* VE ... well, it didn't work :) There seemed to be some issue with it spawning another VM. If someone wants to take charge and become the Fedora VE person, I'll do my best to help them.
Consider carefully the appropriate bug database to use. Firstly, can you [...]
This information would be great to have here:
http://fedoraproject.org/wiki/BugsReports
How do I create a Java project in Eclipse on Fedora?
Easy. [...]
Great write-up, Robin! Can you please add some of your comments and such to the Fedora wiki Java and/or Eclipse pages (I have the URL as the topic for #fedora-java)?
How do I use Tomcat?
Very briefly: "service tomcat4 start" or "service tomcat5 start" will start tomcat. (Can you guess how to stop it?) Then use "rpm -ql tomcat5|less" to explore the directory structure of Tomcat on Fedora. The main thing you need to know is that you put your webapps under /var/lib/tomcat{4,5}/webapps.
Take a look at the various tomcat5 sub-packages as well (tomcat5-webapps-admin, I believe, is one of them). Often times people will have Tomcat installed and working fine but not see anything on localhost:8080 (or wherever) because they don't have the admin webapp installed.
Andrew
Robin Green wrote:
On Tue, 26 Jul 2005 08:02:12 -0700, John M. Gabriele wrote:
How do I use Tomcat?
Very briefly: "service tomcat4 start" or "service tomcat5 start" will start tomcat.
Not "service tomcat4 start" -- we only ship tomcat5.
[Footnote 1] - I found a bug in AspectJ yesterday which only appeared under libgcj, but *wasn't* a libgcj bug. It was a latent bug in AspectJ that was only exposed by a slightly different, but still valid, collection class implementation in libgcj. So it's not logically valid to assume that a bug that only occurs on libgcj is necessarily a bug *in* libgcj.
This kind of thing happens all the time. The Java specification can be quite loose, and often things will because applications rely on unspecified defaults or behaviours that libgcj's (correct, as per the spec) implementation does not provide.
Cheers, Gary
On Wed, 2005-07-27 at 10:11 +0100, Gary Benson wrote:
Robin Green wrote:
[Footnote 1] - I found a bug in AspectJ yesterday which only appeared under libgcj, but *wasn't* a libgcj bug. It was a latent bug in AspectJ that was only exposed by a slightly different, but still valid, collection class implementation in libgcj. So it's not logically valid to assume that a bug that only occurs on libgcj is necessarily a bug *in* libgcj.
This kind of thing happens all the time. The Java specification can be quite loose, and often things will because applications rely on unspecified defaults or behaviours that libgcj's (correct, as per the spec) implementation does not provide.
One thing that is nice is that our collection classes seem more strict on concurrent modifications. I have found a couple of programs that modified list collections while simultaneously iterating over them. The result of that isn't deterministic, but other implementations just allow it since they don't have to throw a ConcurrentModificationException, but we always detect this situation and do throw the exception.
Not that we don't have our own bugs or do things wrong in some other direction. But in a couple of places our strict reading and checking for method pre-conditions does help find (latent) bugs in programs.
Cheers,
Mark
BTW. If something doesn't seem to work/compile with the free tool set, because it depends on com.sun.* classes please take a look at the following wiki page for some pointers: http://developer.classpath.org/mediation/ClasspathMigration (Updates welcome of course!)
Mark Wielaard wrote:
BTW. If something doesn't seem to work/compile with the free tool set, because it depends on com.sun.* classes please take a look at the following wiki page for some pointers: http://developer.classpath.org/mediation/ClasspathMigration (Updates welcome of course!)
You should point people at http://java.sun.com/products/jdk/faq/faq-sun-packages.html
It's not just us GNU fascists -- Sun say the same thing! ;)
Robin Green greenrd@presidium.org wrote:
Sun's Java and GCJ are, of course, able to coexist on the same system. Follow this simple five step guide to get the recommend setup:
You can get it down to four steps.
- Make the file you've just downloaded executable by typing
chmod +x [insert filename here]
- Execute it by typing ./[insert filename here] This will extract and then
install the RPM for you.
Here, why not run
sh ./[insert filename here]
as one step?
On Tue, 26 Jul 2005 08:02:12 -0700, John M. Gabriele wrote:
It's starting to come along. :)
http://www.simisen.com/jmg/pmwiki/pmwiki.php?n=Main.JavaOnFedora
I've gotten off my rear end and started on the fedoraproject.org version. I've written http://fedoraproject.org/wiki/JavaStackTraces and thrown up a skeleton for http://fedoraproject.org/wiki/JavaFAQ - which might end up being split up into multiple pages. (I have a tendency to write everything as FAQs, which means some stuff might need refactoring.)
Feel free to pile on in, folks :)
John - sorry for the duplication. I can give you a wiki account if you want.
On 7/31/05, Robin Green greenrd@greenrd.org wrote:
On Tue, 26 Jul 2005 08:02:12 -0700, John M. Gabriele wrote:
It's starting to come along. :)
http://www.simisen.com/jmg/pmwiki/pmwiki.php?n=Main.JavaOnFedora
I've gotten off my rear end and started on the fedoraproject.org version. I've written http://fedoraproject.org/wiki/JavaStackTraces and thrown up a skeleton for http://fedoraproject.org/wiki/JavaFAQ - which might end up being split up into multiple pages. (I have a tendency to write everything as FAQs, which means some stuff might need refactoring.)
Feel free to pile on in, folks :)
John - sorry for the duplication. I can give you a wiki account if you want.
-- Robin
6. I didn't install Fedora java at install time, but I want to install it now. How do I do that?
yum groupinstall "Java Development" "Eclipse"
On 7/31/05, Justin Conover justin.conover@gmail.com wrote:
On 7/31/05, Robin Green greenrd@greenrd.org wrote:
On Tue, 26 Jul 2005 08:02:12 -0700, John M. Gabriele wrote:
It's starting to come along. :)
http://www.simisen.com/jmg/pmwiki/pmwiki.php?n=Main.JavaOnFedora
I've gotten off my rear end and started on the fedoraproject.org version. I've written http://fedoraproject.org/wiki/JavaStackTraces and thrown up a skeleton for http://fedoraproject.org/wiki/JavaFAQ - which might end up being split up into multiple pages. (I have a tendency to write everything as FAQs, which means some stuff might need refactoring.)
Feel free to pile on in, folks :)
John - sorry for the duplication. I can give you a wiki account if you want.
-- Robin
- I didn't install Fedora java at install time, but I want to install
it now. How do I do that?
yum groupinstall "Java Development" "Eclipse"
13. RSSOwl crashes on x86_64 - help!
Robin, here was the link if you didn't save it, anything else let me know, I can follow instructions ;-)
--- Justin Conover justin.conover@gmail.com wrote:
- I didn't install Fedora java at install time, but I want to install
it now. How do I do that?
yum groupinstall "Java Development" "Eclipse"
How do you find out what strings to type for the group(s)? Where are they listed?
____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
On 7/31/05, John M. Gabriele john_sips_tea@yahoo.com wrote:
--- Justin Conover justin.conover@gmail.com wrote:
- I didn't install Fedora java at install time, but I want to install
it now. How do I do that?
yum groupinstall "Java Development" "Eclipse"
How do you find out what strings to type for the group(s)? Where are they listed?
yum grouplist
You will see duplicates in the list, but you can fix that by: you can disable grouplist from extras repo by adding "enablegroups=0" in /etc/yum.repos.d/fedora-extras.repo \ fedora-extras-devel.repo
http://fedoranews.org/mediawiki/index.php/Duplicate_Grouplist_in_YUM_for_FC4
example:
$ yum grouplist | grep -i devel Compatibility Arch Development Support Java Development KDE Software Development KDE Software Development X Software Development X Software Development Development Tools Development Tools GNOME Software Development GNOME Software Development Legacy Software Development XFCE Software Development
$ yum --disablerepo=extras-development grouplist | grep -i devel Compatibility Arch Development Support Java Development KDE Software Development X Software Development Development Tools GNOME Software Development Legacy Software Development
--- Robin Green greenrd@greenrd.org wrote:
On Tue, 26 Jul 2005 08:02:12 -0700, John M. Gabriele wrote:
It's starting to come along. :)
http://www.simisen.com/jmg/pmwiki/pmwiki.php?n=Main.JavaOnFedora
I've gotten off my rear end and started on the fedoraproject.org version. I've written http://fedoraproject.org/wiki/JavaStackTraces and thrown up a skeleton for http://fedoraproject.org/wiki/JavaFAQ - which might end up being split up into multiple pages. (I have a tendency to write everything as FAQs, which means some stuff might need refactoring.)
Feel free to pile on in, folks :)
It's looking good. Could use a table of contents at the top.
Regarding Swing and AWT; note that you *can* build and run simple Swing and AWT programs using the Java that comes with Fedora. It's just a little incomplete at the moment -- but it seems like it's getting there rapidly. The simple Swing app I tried building and running on my system worked fine. :)
John - sorry for the duplication. I can give you a wiki account if you want.
No problem. It's great that there's so much enthusiasm out there for GNU Java. :)
-- Robin
____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
Robin Green wrote:
AWT (java.awt) is unfinished. Not much is implemented yet.
Isn't AWT was mostly done?
Cheers, Gary
On 7/31/05, Robin Green greenrd@greenrd.org wrote:
On Tue, 26 Jul 2005 08:02:12 -0700, John M. Gabriele wrote:
It's starting to come along. :)
http://www.simisen.com/jmg/pmwiki/pmwiki.php?n=Main.JavaOnFedora
I've gotten off my rear end and started on the fedoraproject.org version. I've written http://fedoraproject.org/wiki/JavaStackTraces and thrown up a skeleton for http://fedoraproject.org/wiki/JavaFAQ - which might end up being split up into multiple pages. (I have a tendency to write everything as FAQs, which means some stuff might need refactoring.)
Feel free to pile on in, folks :)
John - sorry for the duplication. I can give you a wiki account if you want.
-- Robin
I know this is off topic, but what does fedoraproject.org use for the wiki? Is there a package in core/extras that adds that to apache?
I want to setup a wiki at work because the documentation in the group is starting to go all over the place. Thanks for any info.
I know this is off topic, but what does fedoraproject.org use for the wiki? Is there a package in core/extras that adds that to apache?
I want to setup a wiki at work because the documentation in the group is starting to go all over the place. Thanks for any info.
Just click on the link /me
java-devel@lists.fedoraproject.org