; -Original Message-
> From: Dan Plesse [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 10, 2006 9:57 PM
> To: CF-Talk
> Subject: Re: Compiling Java / Error
>
> Ben,
>
> Did you try it or not?
>
> Dan
>
>
>
>
>
~~~
ified Advanced ColdFusion Developer
www.bennadel.com
-Original Message-
From: Dan Plesse [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 10, 2006 9:57 PM
To: CF-Talk
Subject: Re: Compiling Java / Error
Ben,
Did you try it or not?
Ben,
Did you try it or not?
Dan
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionau
-
> From: Dan Plesse [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 09, 2006 1:50 PM
> To: CF-Talk
> Subject: Re: Compiling Java / Error
>
> Ben,
>
> Why don't you compile it with coldfusion via jws and then
> classload it via coldfusion bootstra
. But if you do, I am willing to learn.
Thanks,
Ben
..
Ben Nadel
Certified Advanced ColdFusion Developer
www.bennadel.com
-Original Message-
From: Dan Plesse [mailto:[EMAIL PROTECTED]
Sent: Monday, October 09, 2006 1:50 PM
To: CF-Talk
Subject: Re: Compiling Ja
Ben,
Why don't you compile it with coldfusion via jws and then classload it
via coldfusion bootstrap?
I would alway keep code in each class to keep
private static final long serialVersionUID = 1820017752578914078L;
from having those errors.
Dan
ion Developer
> www.bennadel.com
>
>
> -Original Message-
> From: Jake Churchill [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 09, 2006 11:20 AM
> To: CF-Talk
> Subject: Re: Compiling Java / Error
>
> I think the suggestion to just download 1.4.2 is the best solut
Just playing around at the moment.
..
Ben Nadel
Certified Advanced ColdFusion Developer
www.bennadel.com
-Original Message-
From: Jake Churchill [mailto:[EMAIL PROTECTED]
Sent: Monday, October 09, 2006 11:31 AM
To: CF-Talk
Subject: Re: Compiling Java / Error
what
anced ColdFusion Developer
> www.bennadel.com
>
>
> -Original Message-
> From: Jake Churchill [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 09, 2006 11:20 AM
> To: CF-Talk
> Subject: Re: Compiling Java / Error
>
> I think the suggestion to just downloa
onday, October 09, 2006 11:20 AM
To: CF-Talk
Subject: Re: Compiling Java / Error
I think the suggestion to just download 1.4.2 is the best solution
unless you have some very intense things to do with Java.
Ben Nadel wrote:
> Jake, that IS my constructor code... I was just making a not to myself
>
PROTECTED]
> Sent: Monday, October 09, 2006 10:58 AM
> To: CF-Talk
> Subject: Re: Compiling Java / Error
>
> What version of the SDK did you download? The lastest is either 5.0 or
> possibly 6. If I recall, ColdFusion currently supports 1.4.2 which is
> the equivalent of 4.
inal Message-
From: Jake Churchill [mailto:[EMAIL PROTECTED]
Sent: Monday, October 09, 2006 10:58 AM
To: CF-Talk
Subject: Re: Compiling Java / Error
What version of the SDK did you download? The lastest is either 5.0 or
possibly 6. If I recall, ColdFusion currently supports 1.4.2 which is
the equiv
What version of the SDK did you download? The lastest is either 5.0 or
possibly 6. If I recall, ColdFusion currently supports 1.4.2 which is
the equivalent of 4.2. FYI, you don't need java.lang.String. Just
String. java.lang is a package which is included by default in EVERY
class without
Certified Advanced ColdFusion Developer
www.bennadel.com
-Original Message-
From: Gaulin, Mark [mailto:[EMAIL PROTECTED]
Sent: Monday, October 09, 2006 10:47 AM
To: CF-Talk
Subject: RE: Compiling Java / Error
CF doesn't run on "the latest SDK" (1.5). You'll need to
CF doesn't run on "the latest SDK" (1.5). You'll need to compile with
JDK 1.4.
Mark
-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED]
Sent: Monday, October 09, 2006 10:41 AM
To: CF-Talk
Subject: Compiling Java / Error
Hey all,
I am trying to
Hey all,
I am trying to experiment with Java and am off to a rocky start. I
downloaded the latest SDK from Sun and was able compile a simple
HelloWorld class:
public class HelloWorld {
public HelloWorld(){
// Constructor code.
}
public java.lang.String SayHello(){
return( "Hello You
Tanguy Rademakers wrote:
>
> tell you what: here's my offer. Send me SimpleGateway.java and i'll send you
> a build file that compiles and jars it (early next week, i'm off for the
> weekend soon). You will have to download and install ant, of course. Where
> are you going to get a better offer
>I guess it depends on how much time you want to spend learning ant to
>compile a single jave file. =)
well, obviousely ;)
having said that, you yourself pointed out that you've had to solve these
problems twice in the last six months, so...
tell you what: here's my offer. Send me SimpleGatew
RADEMAKERS Tanguy wrote:
> If you're going to compile java code and you don't want to go all the
> way and install some kind of IDE, then you should really really really
> look into using Ant. In fact, some linux distros already come with a
> version of ant installed (but since your distro shipped
your blog entry and it
would be easy to setup a build file to compile and jar your code.
/t
>-Original Message-
>Subject: OT: Compiling java source code
>From: Rick Root <[EMAIL PROTECTED]>
>Date: Thu, 16 Feb 2006 23:16:51 -0500
>Thread:
>http://www.houseoff
I finally got everything compiled and working. Many issues along the
way were solved, and since I went through this whole process 6 months
ago and didn't remember a damn thing, I decided to blog about it this time:
Compiling Custom Event Gateways For Dummies
http://www.rickroot.com/blog/1/2006/
oh crud, I didn't put examples.jar into the class path, so it couldn't
find the EmptyGateway stuff.
Problem solved!
Rick
Rick Root wrote:
> Barney Boisvert wrote:
>> You have to include '.' in your CLASSPATH, or it won't pick it up.
>> I'm not sure that's the problem, but I'm guessing SimpleGa
Have you tried from within Eclipse, building the project to include the jars?
On 2/17/06, Rick Root <[EMAIL PROTECTED]> wrote:
> Barney Boisvert wrote:
> > You have to include '.' in your CLASSPATH, or it won't pick it up.
> > I'm not sure that's the problem, but I'm guessing SimpleGateway
> > ext
Barney Boisvert wrote:
> You have to include '.' in your CLASSPATH, or it won't pick it up.
> I'm not sure that's the problem, but I'm guessing SimpleGateway
> extends EmptyGateway?
Yes... it's actually a copy of the Directory Watcher gateway, and I just
"simplified" it..
Okay.. I added "." to
You have to include '.' in your CLASSPATH, or it won't pick it up.
I'm not sure that's the problem, but I'm guessing SimpleGateway
extends EmptyGateway?
cheers,
barneyb
On 2/16/06, Rick Root <[EMAIL PROTECTED]> wrote:
> This is a bit off topic... I'm running CFMX Enterprise on a linux server
> a
This is a bit off topic... I'm running CFMX Enterprise on a linux server
and I want to compile a custom gateway.
I downloaded and installed the j2sdk from sun and installed it, and I
did this:
CFHOME=/opt/coldfusionmx7
javac -classpath
$CFHOME/lib/cfusion.jar:$CFHOME/lib/log4j.jar:$CFHOME/runt
>>I was baggin' on people
I've heard make that statement over the years...
Yeah, got it.
Looks like the way Java has solved to compatibility problem is that no
machine now is uncompatible with another one:
The all are uncompatible with the same damn virtual and emulated dumb
machine! ;-))
--
No, I wasn't baggin' on your statement Claude. I was baggin' on people
I've heard make that statement over the years...
--Ferg
Claude Schneegans wrote:
> >>Nothing is going to completely eliminate
>
>Ok, may be not completely eliminate, but Java was definitely not
>supposed to increase uncompat
>>Nothing is going to completely eliminate
Ok, may be not completely eliminate, but Java was definitely not
supposed to increase uncompatibilities.
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send
I always think it's funny to hear people talk about things that are
going to "eliminate compatibility problems". It makes you wonder why
people strive so hard to say things that are gonna make them look
ridiculous in hindsight. Compatibility problems exist becuase so many
technologies are so di
>>You're using the Java 1.5 JDK, CF uses the 1.4 JVM.
BTW, this is weird, I mean wasn't Java supposed to solve all
compatibility problems?
With CF 3, 4, 5, I never encountered any compatibility problem with my C
custom tags,
whether they where compiled using VC++ 4, 5, or 6.
Now that CF goes Ja
further, you need to point to the correct JARs and JRE within the
project properties in Eclipse. right click on the project >
properties > Java Build Path > libraries. You did start with a Java
project in Eclipse, correct?
DK
On 9/8/05, Claude Schneegans <[EMAIL PROTECTED]> wrote:
> >>You're
>>You're using the Java 1.5 JDK, CF uses the 1.4 JVM. You need to tell the
compiler to target Java 1.4.
Ok, I was suspecting something like that, although the message "version
49.0" doesn't really make it
particularily limpid ;-))
--
___
REUSE CODE! Use cu
%1
>C:AAA.txt
-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED]
Sent: Thursday, 8 September 2005 3:04 p.m.
To: CF-Talk
Subject: Re: Compiling Java ?%$/%??
>>So I'm trying to define a command in a custom button in CF Studio, and I
have problem to get the
>>So I'm trying to define a command in a custom button in CF Studio, and I
have problem to get the stdout to be piped to a file.
Ok, I managed to define a custom button in the Tools menu in CF Studio.
This button calls the bat file below and passes the file name as first
parameter
(gee, DOS is r
>>If you run the Java compiler from the command line, it should send all
errors to STDOUT and you should see them right there in your command prompt
window.
Yeah, but it has been so long before I used a command prompt, it looks
like stone age.
So I'm trying to define a command in a custom button
> Now what if you get no error message and no tag compiled
> and no cab library updated, NO NOTHING? When I run the compiler,
> I see some black window open a fraction of a second, then POUF!
> it is gone! Where are my error messages?
If you run the Java compiler from the command line, it
Hi,
In the CFMX docs about "Writing a Java CFX tag", it looks so simple:
>>Compile the java source file into a class file using the Java
compiler. If you are using the command-line tools bundled with the JDK,
use the following command line, which you execute from within the
classes directory:
38 matches
Mail list logo