|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
Compilation error |
[iponomarenko]
|
Post subject: Compilation error |
Post rating: 0
|
Posted: Wed 19 Aug, 2009, 14:09
|
|
User rating: 0
Joined: Tue 18 Aug, 2009, 15:09 Posts: 10
|
Hi,
I'm new to Jforex, when I create a new strategy, just the default skeleton as in the tutorial I get the following error :
2009-08-19 13:01:41 ---------- 2009-08-19 13:01:41 The public type Strategy must be defined in its own file 2009-08-19 13:01:41 ^^^^^^^^ 2009-08-19 13:01:41 public class Strategy implements IStrategy { 2009-08-19 13:01:41 1. ERROR in /var/folders/ub/ubDquf1WF0Wda+bvAVtF-U+++TM/-Tmp-/jfxide/tmp/test.java (at line 7) 2009-08-19 13:01:41 ---------- 2009-08-19 13:01:40 Compiling...
I'm using mac osx. Any ideas ?
|
|
|
|
|
API Support
|
Post subject: Re: Compilation error |
Post rating: 0
|
Posted: Thu 20 Aug, 2009, 10:26
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
"The public type Strategy must be defined in its own file" - please rename the strategy to "Strategy.java" before compiling.
or, rename public class to your strategy name "2009-08-19 13:01:41 public class Strategy implements IStrategy"
|
|
|
|
|
|
Pages: [
1
]
|
|
|
|
|