 |
Author |
Topic: P5 vs Eclipse (Read 30327 times) |
|
eskimoblood

|
Re: P5 vs Eclipse
« Reply #60 on: Mar 16th, 2005, 2:06pm » |
|
Do you have a space on the begin or end of the name or value? That was a problem with me at the beginning.
|
|
|
|
michelle
|
Re: P5 vs Eclipse
« Reply #61 on: Mar 16th, 2005, 3:21pm » |
|
Hi, I deleted the space behind the value, now I'm getting a different message, and it still doesn't work: Buildfile: D:\Daten_allgemein\eclipse_space\helloP5\build.xml init: [delete] Deleting directory D:\Daten_allgemein\eclipse_space\helloP5\build [mkdir] Created dir: D:\Daten_allgemein\eclipse_space\helloP5\build compile: [javac] Compiling 2 source files to D:\Daten_allgemein\eclipse_space\helloP5\build BUILD FAILED: D:\Daten_allgemein\eclipse_space\helloP5\build.xml:40: Error running javac.exe compiler Can you give me an other hit on Mar 16th, 2005, 2:06pm, eskimoblood wrote:Do you have a space on the begin or end of the name or value That was a problem with me at the beginning. |
|
|
|
|
|
eskimoblood

|
Re: P5 vs Eclipse
« Reply #62 on: Mar 16th, 2005, 3:43pm » |
|
Change the line <property name="JAVA_HOME" location="C:\j2sdk1.4.2_04"/> in the build xml to the location of your java installation.
|
|
|
|
michelle
|
Re: P5 vs Eclipse
« Reply #63 on: Mar 17th, 2005, 9:39am » |
|
hi, still the same problem. BUILD FAILED: D:\Daten_allgemein\eclipse_space\helloP5\build.xml:40: Error running javac.exe compiler it seems to be this line in the buid.xml: <javac fork="true" target="1.1" srcdir="${src}" destdir="${build}"/> on Mar 16th, 2005, 3:43pm, eskimoblood wrote:Change the line <property name="JAVA_HOME" location="C:\j2sdk1.4.2_04"/> in the build xml to the location of your java installation. |
|
|
|
|
|
eskimoblood

|
Re: P5 vs Eclipse
« Reply #64 on: Mar 17th, 2005, 11:01am » |
|
Have set the Environment Variables JAVA_HOME to your java folder on your machine? Windows NT: Right-click on My Computer > Properties > Environment tab Windows 2000/2003: Right-click on My Computer > Properties > Advanced tab > Environment Variables Windows XP: Choose Start > My Computer > Systems Task > View System Information > Advanced tab > Environment Variables
|
|
|
|
michelle
|
Re: P5 vs Eclipse
« Reply #65 on: Mar 17th, 2005, 12:09pm » |
|
hi, I tried everything from C:\Programme\j2sdk1.4.2_07\bin C:\Programme\j2sdk1.4.2_07\ C:\Programme\Java\j2re1.4.2_07\bin C:\Programme\Java\j2re1.4.2_07 with semi-colon or quotes at the beginning and the end. nothing helped, is it because I installed Java not on C:\ direktly on Mar 17th, 2005, 11:01am, eskimoblood wrote:Have set the Environment Variables JAVA_HOME to your java folder on your machine Windows NT: Right-click on My Computer > Properties > Environment tab Windows 2000/2003: Right-click on My Computer > Properties > Advanced tab > Environment Variables Windows XP: Choose Start > My Computer > Systems Task > View System Information > Advanced tab > Environment Variables |
|
|
|
|
|
eskimoblood

|
Re: P5 vs Eclipse
« Reply #66 on: Mar 18th, 2005, 9:32am » |
|
Mhhm. What happens when you type javac in your command prompt
|
|
|
|
michelle
|
Re: P5 vs Eclipse
« Reply #67 on: Mar 18th, 2005, 10:58am » |
|
I got it now, the reason why it didn't worked was a wrong Java version. Max/msp (espatially the mxj Object)doesn't work with a Java smaler then j2sdk1.4.2_0 and bigger than j2sdk1.4.2_05. And my installed Processing didn't like the new Java as well, because I used the Standard version with Java and not the expert version. on Mar 18th, 2005, 9:32am, eskimoblood wrote:Mhhm. What happens when you type javac in your command prompt |
|
|
« Last Edit: Mar 20th, 2005, 2:33pm by michelle » |
|
|
|
|
eskimoblood

|
Re: P5 vs Eclipse
« Reply #68 on: Mar 22nd, 2005, 1:15pm » |
|
Two new questions: 1. When I run an applet in ecllipse the priority of the task is set to high. So that all other task like itunes will run to slow. I 've test it on another machine and there the priority is set to normal and every think is fine. Is there a way to set this in ecllipse? 2. I've use some external jars like nanoxml or sonia when I try to compile the applet with toxis buildXML I've got the message that the objects relates to the external jars could not be found. Where should I placed the external thinks?
|
|
|
|
eskimoblood

|
Re: P5 vs Eclipse
« Reply #69 on: Mar 23rd, 2005, 12:55pm » |
|
on Mar 17th, 2005, 9:39am, michelle wrote:hi, still the same problem. BUILD FAILED: D:\Daten_allgemein\eclipse_space\helloP5\build.xml:40: Error running javac.exe compiler it seems to be this line in the buid.xml: <javac fork="true" target="1.1" srcdir="${src}" destdir="${build}"/> |
| I had the same problem today on another maschine and I had to do the following: add JAVA_HOME like you do AND add ;%JAVA_HOME%\bin to the end of the "Path" systemvariable. Dont forget the ; By the way I can't got it work cause the following errors appears: Code: [javac] Compiling 4 source files to C:\Programme\eclipse\eclipse\workspace\FlickrMap\build [javac] C:\Programme\eclipse\eclipse\workspace\FlickrMap\src\FlickrMap.java:15: package nanoxml does not exist [javac] import nanoxml.*; import java.util.*; ^ |
| In eclipse everythink works. The nanoxml package is in the src folder.
|
« Last Edit: Mar 23rd, 2005, 5:42pm by eskimoblood » |
|
|
|
|
kateto
|
Re: P5 vs Eclipse-----
« Reply #70 on: Apr 14th, 2005, 10:07am » |
|
----------------- 3) download this ant build file and copy it into your eclipse project folder. ----------------- I followed the steps but at the end I got an error msg: Variable references non-existent resource : ${workspace_loc:/Program/build.xml} What can I do?
|
|
|
|
|