participate


JavaFX Application Development - no linux love?
<<   Back to Forum  |   Give us Feedback
This topic has 20 replies on 2 pages.    1 | 2 | Next »
frank_costanza
Posts:18
Registered: 5/11/05
no linux love?   
Jul 31, 2008 7:24 AM

 
Most of the download and install info on the JavaFX SDK Preview release targets Windows and MacOS. What, no love for Linux???

Also, when I click on the download link for Netbeans 6.1 With JavaFx, the redirect gives me the following message:

"A technical error occured while processing your request. Please contact the system administrator.
Thank you for your patience."

What's the best way to get the latest FX SDK Preview on Linux (Ubuntu)?

Thanks,

Allan
 
  raindrop
Posts:477
Registered: 4/11/06
Re: no linux love?   
Jul 31, 2008 7:46 AM (reply 1 of 20)  (In reply to original post )

 
Just download the JavaFX Script plugin for NetBeans from JavaFX_NB_daily
 
  Konchady
Posts:12
Registered: 7/30/08
Re: no linux love?   
Jul 31, 2008 8:01 AM (reply 2 of 20)  (In reply to original post )

 
Frank,

The current release of JavaFX SDK preview release does not support Linux. However there are plans to support Linux in the future release. By support what I mean is the ability to play Media.

- Sandeep
 
frank_costanza
Posts:18
Registered: 5/11/05
Re: no linux love?   
Jul 31, 2008 8:08 AM (reply 3 of 20)  (In reply to #1 )

 
Many thanks, raindrop.

Most of my confusion, I think, was coming from the fact that the API has changed. I installed the plugin as you mentioned in your post a few days ago. The JavaFX compiler in my version of the plugin includes what I think are old fx packages (i.e. javafx.ui). I just checked the lastest API docs and noticed that javafx.ui.Frame is now javafx.ext.swing.SwingFrame. I went ahead and downloaded the latest nightly build of the JavaFX compiler which includes the new API libraries, and added that to Netbeans under Tools > Java Platforms. So I think I'm all up-to-date now.

Perhaps if I had installed today's version of the plugin, it would have included the latest compiler.

Anyway, back to my 'no linux love' subject---it'd be nice if the Getted Started With JavaFX page gave some props to Linux. Even though the info is already there for installing the plugin to an existing IDE, it'd be nice if the page specifically guided linux users to that section. Maybe they think Linux users are smarter than everyone else and they don't need the guidance. But clearly, in my case, that is not true.

Thanks again!
 
frank_costanza
Posts:18
Registered: 5/11/05
Re: no linux love?   
Jul 31, 2008 8:12 AM (reply 4 of 20)  (In reply to #3 )

 
Hmm, upon further inspection, it looks like Frame is now in javafx.application. I've still got a lot of learning to do.
 
  raindrop
Posts:477
Registered: 4/11/06
Re: no linux love?   
Jul 31, 2008 8:49 AM (reply 5 of 20)  (In reply to #4 )

 
The javafx.application.Frame class is used for the Graphics application

import javafx.application.Frame;
import javafx.application.Stage;
import javafx.scene.paint.Color;
import javafx.scene.geometry.Circle;
 
Frame {
    title: "MyApplication"
    width: 200
    height: 200
 
    stage: Stage {
        content: [Circle {
                centerX: 100
                centerY: 100
                radius: 40
                stroke: Color.ORANGE
            }]
    }
    visible: true
}


The javafx.ext.swing.SwingFrame class is used for the UI components.


import javafx.ext.swing.SwingFrame;
import javafx.ext.swing.Button;
 
SwingFrame {
    title: "MyApplication"
    width: 200
    height: 200
 
    content: Button {
        text: "Click Me!"
        action: function() {  
        }
    }
    visible: true
}


The UI components will be integrated into the Node hierarchy in the future.
 
djoyce
Posts:19
Registered: 5/7/07
Re: no linux love?   
Jul 31, 2008 10:46 AM (reply 6 of 20)  (In reply to #2 )

 
Well gee Sun, thanks a lot then...

What? You couldn't include support for a FREE CROSS PLATFORM CODEC as well for some Linux Loving? Say, FLAC, or Ogg Vorbis or Ogg Theora? I've been waiting 2 months to try this out, signed up and everything. Hell, I was gonna push for it at work, and a download for Linux wasn't even provided.

I was hoping things were different, that Java was moving forward. And it is only happening on Windows and Mac. You could have provided a dl that said "Note, media playback on Linux will be supported in a future release" and at least given us something.

"Write once, run everywhere, except on Linux"
 
  Konchady
Posts:12
Registered: 7/30/08
Re: no linux love?   
Jul 31, 2008 11:16 AM (reply 7 of 20)  (In reply to #6 )

 
Rest assured, you won't be disappointed with 1.0 release. We would love to support all flavors of codec on all platforms, but licensing terms restrict us to a certain extent. We really appreciate your feedback and hope others follow your footsteps and recommend JavaFX as the RIA platform of choice in their companies, once we release a full version with support on Linux too.
 
gruenewa
Posts:3
Registered: 7/31/08
Re: no linux love?   
Jul 31, 2008 12:39 PM (reply 8 of 20)  (In reply to #6 )

 
I am also disappointed. I was excited as a read the announcement for the preview SDK and when I tried to download it, I have to see it's Windows and Mac only ... and guess what, I am the only developer at my company sitting in front of an ubuntu desktop. To bad that the other developers here are currently not interested in JavaFX. This could change if some early adopter like me showed them fancy demos at the weekly developer meeting ;)
 
djoyce
Posts:19
Registered: 5/7/07
Re: no linux love?   
Jul 31, 2008 12:47 PM (reply 9 of 20)  (In reply to #8 )

 
Well you can grab it here:

http://deadlock.netbeans.org/hudson/job/JavaFX_NB_daily/

Download, unzip, and inside netbeans, load the plugins manually.

And yeah, they need to make this more obvious.

To a certain extent, I understand it, but there are plenty of free libraries out there that interface with dozens of codecs ( free & non-free, linux can use Windows codecs ) that sun could have used to provide codec support out of the box. Also, there is no excuse not including a non-encumbered Audio/Video codec (Ogg Theora/Vorbis, FLAC) support across all platforms at release...
 
chasan
Posts:165
Registered: 7/4/05
Re: no linux love?   
Aug 1, 2008 12:33 PM (reply 10 of 20)  (In reply to #7 )

 
I was all excited and wanted to do some cool implementation of our project with JavaFX and show that Flex was not really needed. But having to just use the nightly build of plug-in without getting the actual SDK build is a big disappointment. Seems like Flex and flash have become more capable than Java (and its offspring) at "Write once, run anywhere". Again no love for my dreams about re-birth of desktop Java. :(
 
Coffeejolts
Posts:55
Registered: 8/1/08
Re: no linux love?   
Aug 1, 2008 6:20 PM (reply 11 of 20)  (In reply to #10 )

 
@chasan: I understand your frustration- I like Linux, too. How about you go purchase Flash CS3 for Linux and use that until the final SDK comes out in a couple months? Wait- they don't offer it for Linux, not even at Adobe's insanely inflated prices!

Well, then you could still use Flex Builder, right? Not really, since that isn't offered either even though it's just a huge eclipse plugin.

I understand that you wish the preview was available for Linux, I do too. But the pimping of Flash / Flex is way out of bounds, considering that Adobe doesn't make an ide for either on Linux. Have you considered that maybe the reason Linux support wasn't completed in time was that the JavaFX team had to try to build plugins for Adobe's clunky tools?

Edited by: Coffeejolts on Aug 1, 2008 6:19 PM
 
Debasish_Ray_Chawdhuri
Posts:1
Registered: 8/2/08
Re: no linux love?   
Aug 2, 2008 6:08 AM (reply 12 of 20)  (In reply to #6 )

 
OK, I find that Java FX is not supported on Solaris and on Apple computers. So, no need to be so angry, it will ultimately be supported on all platforms. I'm also a linux lover and I'm also waiting
 
chasan
Posts:165
Registered: 7/4/05
Re: no linux love?   
Aug 2, 2008 6:30 AM (reply 13 of 20)  (In reply to #12 )

 
Debasish_Ray_Chawdhuri wrote:
OK, I find that Java FX is not supported on Solaris and on Apple computers

There is a version for Mac OS X Intel. Anyway the PPC version is losing Apple's love too so doesn't matter.
 
wordwarrior
Posts:1
Registered: 8/4/08
Re: no linux love?   
Aug 4, 2008 4:52 PM (reply 14 of 20)  (In reply to #13 )

 
There is a version for Mac OS X Intel. Anyway the PPC version is losing Apple's love too so doesn't matter.


Correction: It's only available for 64-bit OS X Intel. Those of early adopters (AKA suckers) of Apple's new Core Duo Intel platform got left out of Java 6 support. The Mac version of Netbeans JavaFX will run only on 64-bit MacIntels :(

Edited by: wordwarrior on Aug 4, 2008 4:51 PM

Edited by: wordwarrior on Aug 4, 2008 4:51 PM HTML changes

Edited by: wordwarrior on Aug 4, 2008 4:52 PM Stupid lack of preview mode :(
 
This topic has 20 replies on 2 pages.    1 | 2 | Next »
Back to Forum
 
Read the Developer Forums Code of Conduct

Click to email this message Email this Topic

Edit this Topic
  
 
 
Forums Statistics
    Users Online : 25
  • Guests : 132

About Sun forums
  • Oracle Forums is a large collection of user generated discussions. It is here to help you ask questions, find answers, and participate in discussions.

    Check out our guide on Getting started with Oracle Forums for a full walkthrough of how to best leverage the benefits of this community.

Powered by Jive Forums