« first day (1270 days earlier)      last day (3665 days later) » 

9:11 AM
hi
anybody there ?
 
Morning
 
9:33 AM
@Machiel Very Gud Morning
 
 
1 hour later…
10:46 AM
0
Q: Start of tomcat failed

Code HunterI am facing issue to start my tomcat server in netbeans. I am getting error when I click on start button "Starting of tomact failed, check whether the /Application/NetBeans/apache-tomcat-7.0.52/bin/catalina/sh and related scripts are executable." For more details please check screenshot

 
user1907906
Hi
 
1:41 PM
Good morning, Java!
 
jan
2:33 PM
Have you ever tried to define a shortcut with numpad plus or minus?
Doesn't seem to work with KeyStroke
 
@jan No, sorry. :(
@fge Fine. :P Fleshed them out: github.com/mangstadt/emc-shopkeeper/commit/…
 
3:05 PM
G morning!
@Michael hey
 
Hey @GustavoSuarez
 
fge
3:54 PM
@Michael have you also seen my comments about .contains()?
 
hi! can I ask what is the error in this line?
int codFermata = if(listaDelleFermate.get(codFermata)[0]==null) ? 0 : (Integer)(listaDelleFermate.get(codFermata)[0]);
 
@giacomotb What is the error you get?
Is codFermata declared any line before that?
 
you're using if
@giacomotb
 
Haha, wow, that's the one.
 
Syntax error on token "if", delete this token
 
4:02 PM
Didn't even notice that :)
 
remove the if
xP
 
ok, I use very ralery this if else statement:)
 
But why redeclaring int codFermata when you are using it in your tenary expression?
 
I added it for make sure that you could understand that it's an int
 
Oh, right, thanks :)
 
4:03 PM
thank you!
 
 
1 hour later…
fge
5:22 PM
0
Q: "ExecutionException: : Cannot add a property to a sealed object." Except I don't... What is wrong?

fgeI have received a strange email related to a project where I use Rhino (no Java 8 so I cannot use Nashorn). Original post here. The guy receives a huge stacktrace and the relevant element (I think) is the last one which reads (reformatted a little): Caused by: org.mozilla.javascript.EvaluatorExc...

I'm open to ideas on that one :/
 
 
3 hours later…
8:07 PM
hey guys, what should one know about java to say 'i can do stuff in java'? like C++ has const-correctness, exception safety, a lot of stuff about managing memory, multi-inheritance, and java has very limited exception safety (no memory leaks), and no other stuff i mentioned about.
 
@user2420535 there you go:

class HelloWorldApp {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
 
@gus
 
@user2420535 sup
 
typo
@GustavoSuarez I have written a few java programs and it was only 'do (abstract) class that derives from other/interface , static variables, use some libs, one or two templates' and nothing more, does the language have something more to offer? of course i know there are threads, but it's more like a lib, not a language function.
for me it seems a bit limited language compared to all those fancy stuff in c++
 
@user2420535 have u used generics? reflection? lambdas(java 8)?
 
8:15 PM
that might be fun, thank you
any more fancy stuff?
@GustavoSuarez forgot to ping
 

« first day (1270 days earlier)      last day (3665 days later) »