Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
JDK 1.8.0 error with method contains(CharSequence) http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=81&t=50991 |
Page 1 of 1 |
Author: | fxdiler [ Fri 28 Mar, 2014, 11:19 ] |
Post subject: | JDK 1.8.0 error with method contains(CharSequence) |
Hello, After update JDK to 1.8.0 I have some error during compile code The method contains(CharSequence) from the type String refers to the missing type CharSequence There is a code if (order.getLabel().contains(myLabel)) { When I use old JDK 1.7 there is no error, code compile well. |
Author: | hebasto [ Fri 28 Mar, 2014, 12:03 ] |
Post subject: | Re: JDK 1.8.0 error with method contains(CharSequence) |
Does your system correspond these requirements https://www.oracle.com/technetwork/java/javase/certconfig-2095354.html ? |
Author: | fxdiler [ Fri 28 Mar, 2014, 12:46 ] |
Post subject: | Re: JDK 1.8.0 error with method contains(CharSequence) |
hebasto wrote: Does your system correspond these requirements https://www.oracle.com/technetwork/java/javase/certconfig-2095354.html ? Yes, I try to compile code under Win7 Pro SP1 x64 and Ubuntu 13.10 x86. In both cases I get the same error "The method contains(CharSequence) from the type String refers to the missing type CharSequence" |
Author: | hebasto [ Mon 31 Mar, 2014, 10:30 ] |
Post subject: | Re: JDK 1.8.0 error with method contains(CharSequence) |
This topic can explain: Java 1.6 only |
Author: | hebasto [ Fri 11 Apr, 2014, 07:25 ] |
Post subject: | Re: JDK 1.8.0 error with method contains(CharSequence) |
Check the new DEMO 2.34.1 |
Author: | fxdiler [ Fri 11 Apr, 2014, 08:26 ] |
Post subject: | Re: JDK 1.8.0 error with method contains(CharSequence) |
hebasto wrote: Check the new DEMO 2.34.1 Doesn't work. The same error. |
Author: | hebasto [ Fri 11 Apr, 2014, 08:40 ] | ||
Post subject: | Re: JDK 1.8.0 error with method contains(CharSequence) | ||
It compiles flawlessly for me: What is exactly JRE version installed on your system? 32- or 64-bit?
|
Author: | fxdiler [ Fri 11 Apr, 2014, 08:52 ] |
Post subject: | Re: JDK 1.8.0 error with method contains(CharSequence) |
hebasto wrote: What is exactly JRE version installed on your system? 32- or 64-bit? I try under Linux Ubuntu 13.10 x86 JRE 1.8 (32 bit) I will try under win8 x64 with JRE 1.8 (64 bit) and responde later |
Author: | fxdiler [ Fri 11 Apr, 2014, 09:22 ] | ||
Post subject: | Re: JDK 1.8.0 error with method contains(CharSequence) | ||
I try to compile under Win8 x64 with JRE 1.8 (64 bit). The same error.
|
Author: | hebasto [ Thu 12 Jun, 2014, 20:05 ] |
Post subject: | Re: JDK 1.8.0 error with method contains(CharSequence) |
https://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=65&t=51224&p=80021#p80021 |
Author: | Platform Support [ Wed 18 Jun, 2014, 11:55 ] |
Post subject: | Re: JDK 1.8.0 error with method contains(CharSequence) |
Try version 2.37.1 on DEMO. Most probably it is solved. |
Page 1 of 1 |