Discussion:
[JBookTrader] Trouble compiling new install
Chris Meek
2014-12-02 21:44:36 UTC
Permalink
Using Eclipse 3.3 and Java 8.025 32 bit and latest JBookTrader.

Right after trying to create the new project and clicking finish I am
getting:


The project was not built since its build path is incomplete. Cannot find
the class file for java.lang.CharSequence. Fix the build path then try
building this

The type java.lang.CharSequence cannot be resolved. It is indirectly
referenced from required .class
files JBookTrader/source/com/jbooktrader/platform/web WebHandler.java line
1 1417556361750 29

I have tried various things but I get 2 these 2 errors early on and won't
compile if I ignore.

Thanks
--
You received this message because you are subscribed to the Google Groups "JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbooktrader+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
Eugene Kononov
2014-12-02 22:31:31 UTC
Permalink
I am not using Eclipse, but from what I am reading, you need Eclipse Luna
(4.4.x) to support Java 1.8.
Post by Chris Meek
Using Eclipse 3.3 and Java 8.025 32 bit and latest JBookTrader.
Right after trying to create the new project and clicking finish I am
The project was not built since its build path is incomplete. Cannot find
the class file for java.lang.CharSequence. Fix the build path then try
building this
The type java.lang.CharSequence cannot be resolved. It is indirectly
referenced from required .class
files JBookTrader/source/com/jbooktrader/platform/web WebHandler.java line
1 1417556361750 29
I have tried various things but I get 2 these 2 errors early on and won't
compile if I ignore.
Thanks
--
You received this message because you are subscribed to the Google Groups
"JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbooktrader+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
Chris Meek
2014-12-02 23:27:31 UTC
Permalink
OK, I must have done something differently, it ran but with this error:

Dec 02, 2014 5:04:18 PM java.util.prefs.WindowsPreferences <init>

WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at
root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

Created that registry key with Admin permissions, but still this error when
run
Also, the application looks different than what is shown in the manual.
The 4 strategies are not listed, and the 3 lights are not included, did I
do something wrong?
Post by Eugene Kononov
I am not using Eclipse, but from what I am reading, you need Eclipse Luna
(4.4.x) to support Java 1.8.
Post by Chris Meek
Using Eclipse 3.3 and Java 8.025 32 bit and latest JBookTrader.
Right after trying to create the new project and clicking finish I am
The project was not built since its build path is incomplete. Cannot find
the class file for java.lang.CharSequence. Fix the build path then try
building this
The type java.lang.CharSequence cannot be resolved. It is indirectly
referenced from required .class
files JBookTrader/source/com/jbooktrader/platform/web WebHandler.java line
1 1417556361750 29
I have tried various things but I get 2 these 2 errors early on and won't
compile if I ignore.
Thanks
--
You received this message because you are subscribed to the Google Groups
"JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send an
<javascript:>.
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbooktrader+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
Eugene Kononov
2014-12-02 23:40:25 UTC
Permalink
1. The key should be: HKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs. Is that
what you created?
2. JBookTrader comes with 1 sample strategy. The user manual is a little
out of date.
3. Not sure what the "3 lights" that you are referring to are.
Post by Chris Meek
Dec 02, 2014 5:04:18 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at
root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Created that registry key with Admin permissions, but still this error
when run
Also, the application looks different than what is shown in the manual.
The 4 strategies are not listed, and the 3 lights are not included, did I
do something wrong?
Post by Eugene Kononov
I am not using Eclipse, but from what I am reading, you need Eclipse Luna
(4.4.x) to support Java 1.8.
Post by Chris Meek
Using Eclipse 3.3 and Java 8.025 32 bit and latest JBookTrader.
Right after trying to create the new project and clicking finish I am
The project was not built since its build path is incomplete. Cannot
find the class file for java.lang.CharSequence. Fix the build path then try
building this
The type java.lang.CharSequence cannot be resolved. It is indirectly
referenced from required .class files JBookTrader/source/com/
jbooktrader/platform/web WebHandler.java line 1 1417556361750 29
I have tried various things but I get 2 these 2 errors early on and
won't compile if I ignore.
Thanks
--
You received this message because you are subscribed to the Google
Groups "JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbooktrader+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
Chris Meek
2014-12-03 00:31:40 UTC
Permalink
OK, I needed also to open and run eclipse as Administrator also and the
error has now gone away. Yes I had added that key.

In the install manual in /docs the image it shows for successful compile
has 3 colored "lights" on top of the program, and lists 4 strategies? I
suppose those are strategies that were added but not in a new install?

Sorry, I am new to jbooktrader and appreciate the help.
Post by Eugene Kononov
1. The key should be: HKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs. Is that
what you created?
2. JBookTrader comes with 1 sample strategy. The user manual is a little
out of date.
3. Not sure what the "3 lights" that you are referring to are.
Post by Chris Meek
Dec 02, 2014 5:04:18 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at
root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Created that registry key with Admin permissions, but still this error
when run
Also, the application looks different than what is shown in the manual.
The 4 strategies are not listed, and the 3 lights are not included, did I
do something wrong?
Post by Eugene Kononov
I am not using Eclipse, but from what I am reading, you need Eclipse
Luna (4.4.x) to support Java 1.8.
Post by Chris Meek
Using Eclipse 3.3 and Java 8.025 32 bit and latest JBookTrader.
Right after trying to create the new project and clicking finish I am
The project was not built since its build path is incomplete. Cannot
find the class file for java.lang.CharSequence. Fix the build path then try
building this
The type java.lang.CharSequence cannot be resolved. It is indirectly
referenced from required .class files JBookTrader/source/com/
jbooktrader/platform/web WebHandler.java line 1 1417556361750 29
I have tried various things but I get 2 these 2 errors early on and
won't compile if I ignore.
Thanks
--
You received this message because you are subscribed to the Google
Groups "JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send an
<javascript:>.
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbooktrader+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
Eugene Kononov
2014-12-03 00:40:14 UTC
Permalink
The 3 "colored lights" are just the "minimize", "restore", and "close"
buttons which constitute the "Mac" look and feel when JBookTrader runs on
Linux/MacOX. The Windows look and feel is different, which is probably what
you got. You can easily substitute the look and feel with literally dozens
of different schemes.

The 4 strategies listed in the manual ere part of JBT at the time the user
manual was written. The latest JBT version comes with just one sample
strategy.
Post by Chris Meek
OK, I needed also to open and run eclipse as Administrator also and the
error has now gone away. Yes I had added that key.
In the install manual in /docs the image it shows for successful compile
has 3 colored "lights" on top of the program, and lists 4 strategies? I
suppose those are strategies that were added but not in a new install?
Sorry, I am new to jbooktrader and appreciate the help.
Post by Eugene Kononov
1. The key should be: HKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs. Is
that what you created?
2. JBookTrader comes with 1 sample strategy. The user manual is a little
out of date.
3. Not sure what the "3 lights" that you are referring to are.
Post by Chris Meek
Dec 02, 2014 5:04:18 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs
at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Created that registry key with Admin permissions, but still this error
when run
Also, the application looks different than what is shown in the manual.
The 4 strategies are not listed, and the 3 lights are not included, did I
do something wrong?
Post by Eugene Kononov
I am not using Eclipse, but from what I am reading, you need Eclipse
Luna (4.4.x) to support Java 1.8.
Post by Chris Meek
Using Eclipse 3.3 and Java 8.025 32 bit and latest JBookTrader.
Right after trying to create the new project and clicking finish I am
The project was not built since its build path is incomplete. Cannot
find the class file for java.lang.CharSequence. Fix the build path then try
building this
The type java.lang.CharSequence cannot be resolved. It is indirectly
referenced from required .class files JBookTrader/source/com/j
booktrader/platform/web WebHandler.java line 1 1417556361750 29
I have tried various things but I get 2 these 2 errors early on and
won't compile if I ignore.
Thanks
--
You received this message because you are subscribed to the Google
Groups "JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google
Groups "JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbooktrader+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
Chris Meek
2014-12-03 01:27:12 UTC
Permalink
Thanks, yes needed Eclipse Luna, you are right
Post by Eugene Kononov
The 3 "colored lights" are just the "minimize", "restore", and "close"
buttons which constitute the "Mac" look and feel when JBookTrader runs on
Linux/MacOX. The Windows look and feel is different, which is probably what
you got. You can easily substitute the look and feel with literally dozens
of different schemes.
The 4 strategies listed in the manual ere part of JBT at the time the user
manual was written. The latest JBT version comes with just one sample
strategy.
Post by Chris Meek
OK, I needed also to open and run eclipse as Administrator also and the
error has now gone away. Yes I had added that key.
In the install manual in /docs the image it shows for successful compile
has 3 colored "lights" on top of the program, and lists 4 strategies? I
suppose those are strategies that were added but not in a new install?
Sorry, I am new to jbooktrader and appreciate the help.
Post by Eugene Kononov
1. The key should be: HKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs. Is
that what you created?
2. JBookTrader comes with 1 sample strategy. The user manual is a little
out of date.
3. Not sure what the "3 lights" that you are referring to are.
Post by Chris Meek
Dec 02, 2014 5:04:18 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs
at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Created that registry key with Admin permissions, but still this error
when run
Also, the application looks different than what is shown in the
manual. The 4 strategies are not listed, and the 3 lights are not
included, did I do something wrong?
Post by Eugene Kononov
I am not using Eclipse, but from what I am reading, you need Eclipse
Luna (4.4.x) to support Java 1.8.
Post by Chris Meek
Using Eclipse 3.3 and Java 8.025 32 bit and latest JBookTrader.
Right after trying to create the new project and clicking finish I am
The project was not built since its build path is incomplete. Cannot
find the class file for java.lang.CharSequence. Fix the build path then try
building this
The type java.lang.CharSequence cannot be resolved. It is indirectly
referenced from required .class files JBookTrader/source/com/j
booktrader/platform/web WebHandler.java line 1 1417556361750 29
I have tried various things but I get 2 these 2 errors early on and
won't compile if I ignore.
Thanks
--
You received this message because you are subscribed to the Google
Groups "JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it,
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google
Groups "JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send an
<javascript:>.
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbooktrader+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
Chris Meek
2014-12-02 22:43:01 UTC
Permalink
I tried Eclipse Luna too. same error. Tried JBookTrader 8.07 too. Tried
changing JRE and JDK dates too but no luck so far. I was using Eclipse 3.3
so that I could stay as close as possible to the installation instructions
which used 3.3.
Post by Chris Meek
Using Eclipse 3.3 and Java 8.025 32 bit and latest JBookTrader.
Right after trying to create the new project and clicking finish I am
The project was not built since its build path is incomplete. Cannot find
the class file for java.lang.CharSequence. Fix the build path then try
building this
The type java.lang.CharSequence cannot be resolved. It is indirectly
referenced from required .class
files JBookTrader/source/com/jbooktrader/platform/web WebHandler.java line
1 1417556361750 29
I have tried various things but I get 2 these 2 errors early on and won't
compile if I ignore.
Thanks
--
You received this message because you are subscribed to the Google Groups "JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbooktrader+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
Chris Meek
2014-12-02 22:45:39 UTC
Permalink
I'll try Luna again, don't know what's wrong.
--
You received this message because you are subscribed to the Google Groups "JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbooktrader+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/jbooktrader.
For more options, visit https://groups.google.com/d/optout.
Loading...