Win a copy of Kotlin for Android App Development this week in the Kotlin forum!

Knute Snortum

+ Follow
since Apr 20, 2013
Knute likes ...
Chrome Eclipse IDE Java Postgres Database VI Editor
Forum Moderator
Knute Snortum currently moderates these forums:
After 25 years of programming, Knute has retired to be a professional musician. Knute first learned BASIC and Cobol on a CPM Timeshare system circa 1985. He spent way too long coding in one flavor of Business Basic or another. Going back to college, he learned C and a whole new world opened up to him. Knute likes Perl and Java, for completely opposite reasons. Knute is a complex person.
Portland, Oregon
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt Green check

Recent posts by Knute Snortum

Welcome to the Ranch, tom!

What specifically do you need help with?  It looks like a question was asked and answered.  

In the future, avoid just pointing simply pointing to a URL as your question.

Also TellTheDetails (that's a link). Questions like "it doesn't work" and "I need help" are too broad.  We don't know what you need help with.
So what is the directory structure?  My understanding is it need to look like this:

|  `--pom.xml (child)
`--pom.xml (parent)

And is the child pom creating its package in a place where the parent pom can see it?
12 hours ago
Is that perhaps what the parent pom is supposed to do?
1 day ago
In Java 11, I expect to not have JavaFX in the Java package as it is a separate product at that version level, but not at the Java 8 level.  Yes, I can use Maven to download it, but it is very hard to write short, self-contained JavaFX snippets when you have to setup a separate POM for each.

At this point I can find no Open Source Java package with JavaFX included, only Oracle Java 8.
2 days ago
I don't have RedHat -- I'm on Ubuntu -- so I'm not sure if this applies, but my OpenJDK version of Java 8 did not include jfxrt.jar, which means you can't execute JavaFX code without Maven or downloading the jar.
2 days ago

what is the different using public class Echo vs class Echo

public is an accessibility modifier.  It gives the broadest access.  When you have no modifier you get the default accessibility which is more restrictive.
2 days ago

luke davis wrote:Would this be the correct way to split the List up by line?...

Looks good.  Did you try it?  What happened?

You don't even need to write st.split(" ") as the default for split() is to split on whitespace (space, tab EOL), so st.split() is fine.

The strikeout text above is incorrect. Ignore it.
I'm not sure what you're asking.  Do you want to know how to split the rows into their separate parts?  If so, look up String.split().
I don't know specifically about the -classpath switch, but in general, Windows uses ";" and Linux/Unix uses ":".
3 days ago
From the Oracle Java FAQ:

Is Java still free?
The current version of Java - Java SE 11 is available from Oracle under an open source license at Java SE 8 remains free of charge for general purpose desktop and server use and is available under the Oracle Binary Code License (BCL) at

You can also get the open source version of Java:

So the two things to notice are licensing and support.  If you want an open source license and you don't mind community support, get OpenJDK.  If you want professional support and you don't mind the Oracle license, use Oracle.  

But there is one big caveat to the Oracle license and that is audits.  If you use Oracle support, Oracle can audit you to make sure all of your Java is Oracle.  If someone downloads and uses an open source version you can be fined.  

So for me, I'm going with OpenJDK 11, and Oracle JDK 8 -- but I'm not a company.  Your mileage may vary.
3 days ago

Yedija Tjin wrote:after reading all your help I go thru all the step again. this is what I did wrong...

Thumbs up for posting your solution back to the forum!
3 days ago

wayne brandon wrote:junilu i realise that unfortunately my tutor said we can only use 3 methods in this program,

*le sigh* When will instructors stop telling their students things like that.
3 days ago
The first property in UserDetails is "memberId".  You have "MemberId" in line 63 of your Controller.
4 days ago
Welcome to the Ranch!

Whenever you mention an error, be sure to include the full error message and stack trace.

I'll take a look at your code in a second.

[Edit: I see you included an image of the error.  It's better to copy and paste directly in the post.]
4 days ago
Okay, here is a basic app using an ObservableList of Maps to model the data of a Table.
I leave it to you to adapt this to a truly dynamic table, but I think this is the way.
4 days ago