JADE (NetBeans IDE 6.8) and Rev Studio 4.0
zeeshan aamir
shani.runrev at gmail.com
Fri Mar 19 20:54:02 EDT 2010
Hay Mark Schonewille,
i tested with the changes in command emailed by Mark Wieder ( put
shell("Server 6800") into tResult)
in server button in Rev like this
*For Server Communication Button in Rev*
on mouseUp
local tDefaultFolder, tResult
--
put the defaultFolder into tDefaultFolder
set the defaultFolder to StackPath()
--
put shell("java Server") into tResult
--
set the defaultFolder to tDefaultFolder
answer tResult
end mouseUp
*
*
this command will work but it gives this error.
java.lang.
NoClassDefFoundError: Server (wrong name: Server/Server)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: Server. Program will exit.Exception in
thread "main"
but i try it on same as in same folder where .Java and .Class file placed.
Regards,
ZEESHAN
On Sat, Mar 20, 2010 at 1:45 AM, Mark Schonewille <
m.schonewille at economy-x-talk.com> wrote:
> Zeeshan,
>
> Can you provide more info? For example, are you succesfully running the
> server? Can you connect to it with the original Jade client? What exactly
> happens when you try running Mark Wieder's code?
>
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
>
> Economy-x-Talk is always looking for new software development projects.
> Feel free to contact me for a quote.
>
> Op 20 mrt 2010, om 01:32 heeft zeeshan aamir het volgende geschreven:
>
>
> Thanks Mark Schonewille and Mark Wieder,
>>
>> I try Mark Wieder code in Server button code but its not work.
>>
>> on mouseUp
>> open socket "localhost:6800" with message "socketConnected"
>> write "hello, server" & cr to socket "localhost:6800"
>> end mouseUp
>>
>> on socketConnected
>> put "connected to server!"
>> end socketConnected
>>
>> Regards,
>> ZEESHAN
>>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list