Java algorithmn compilation problem

28 views
Skip to first unread message

Chibaye Mulubika

unread,
Nov 25, 2011, 4:26:27 AM11/25/11
to FBDK
Hi All,

I have migrated to the new 2011 FBDK from old one (2008).

I am trying to compile a function block without code in it by first
converting to java algorithmn from ST. Compilation is not successfull.
What could be the problem.

see log message am getting below.


C:\C_Robot control\FBDK11\java\fb\rt\Masters\AXIS.java:47: cannot find
symbol
symbol : method alg_INIT()
location: class fb.rt.Masters.AXIS
alg_INIT();
^
1 error

James Christensen

unread,
Nov 25, 2011, 10:50:12 AM11/25/11
to fb...@googlegroups.com
Not enough information. Please reply with the corresponding AXIS.fbt
file as an attachment.
--
Best regards,Jim Christensen
> --
> You received this message because you are subscribed to the Google Groups "FBDK" group.
> To post to this group, send email to fb...@googlegroups.com.
> To unsubscribe from this group, send email to fbdk+uns...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/fbdk?hl=en.

Chibaye Mulubika

unread,
Nov 29, 2011, 11:21:57 AM11/29/11
to fb...@googlegroups.com
 There are similar problems. WHAT IS WRONG WITH THIS Function BLOCK. I Dont Understand. PLEASE HELP.
nTASK.fbt

James Christensen

unread,
Nov 29, 2011, 1:18:10 PM11/29/11
to fb...@googlegroups.com
There is nothing wrong with the nTASK.fbt function block. I was able
to compile and run it with no problems, using the latest (20110212)
release of the FBDK with Windows XP SP3.
- JHC

Chibaye Mulubika

unread,
Nov 29, 2011, 1:40:13 PM11/29/11
to fb...@googlegroups.com
I cannt run it on windows 7 enterprise. its giving me xml exception (NO SUCH OBJECT). I designed it on the latest (20110212) on the same windows 7 enterprise. am able to compile but cant run it. will try again tomorrow.

James Christensen

unread,
Nov 29, 2011, 2:56:45 PM11/29/11
to fb...@googlegroups.com
FBDK has not been tested on Windows 7. There may be differences in
location of program files or file addressing.

--
Best regards,
Jim Christensen

James Christensen

unread,
Nov 29, 2011, 5:21:29 PM11/29/11
to fb...@googlegroups.com
OK, now I've tested it on Windows 7 Home Premium (64-bit). No problems
whatsoever.
- JHC

On Tue, Nov 29, 2011 at 2:56 PM, James Christensen

Chibaye Mulubika

unread,
Nov 30, 2011, 2:29:52 AM11/30/11
to fb...@googlegroups.com
I Have just noticed that if it can compile but file to run, then one has to close and start FBDK again. I have opened it and its working well. Had a similar problem this morning but I knew beta. Thanks for the effort.

James Christensen

unread,
Nov 30, 2011, 10:35:44 AM11/30/11
to fb...@googlegroups.com
Yes, that's correct. That's because the test configuration runs in the
same JVM image as the FBDK, and once it loads the class file for
testing, it can't be replaced with the newly compiled version. So the
JVM has to be restarted in order to load the new version. Really, the
test configuration should run in a separate JVM image so that the most
recent class files are loaded. I'll see if that can be fixed in the
next FBDK release.
-- Best regards,Jim Christensen
Reply all
Reply to author
Forward
0 new messages