Re: Developers/Programmers Needed! Let's create a stopmotion program!

"testing" I don't think so, can you post the output from the output window?

Re: Developers/Programmers Needed! Let's create a stopmotion program!

Here's the output when I try to build the project in NetBeans:

javac: invalid target release: 1.7
Usage: javac <options> <source files>
where possible options include:
  -g                         Generate all debugging info
  -g:none                    Generate no debugging info
  -g:{lines,vars,source}     Generate only some debugging info
  -nowarn                    Generate no warnings
  -verbose                   Output messages about what the compiler is doing
  -deprecation               Output source locations where deprecated APIs are used
  -classpath <path>          Specify where to find user class files
  -cp <path>                 Specify where to find user class files
  -sourcepath <path>         Specify where to find input source files
  -bootclasspath <path>      Override location of bootstrap class files
  -extdirs <dirs>            Override location of installed extensions
  -endorseddirs <dirs>       Override location of endorsed standards path
  -d <directory>             Specify where to place generated class files
  -encoding <encoding>       Specify character encoding used by source files
  -source <release>          Provide source compatibility with specified release
  -target <release>          Generate class files for specific VM version
  -version                   Version information
  -help                      Print a synopsis of standard options
  -X                         Print a synopsis of nonstandard options
  -J<flag>                   Pass <flag> directly to the runtime system

However, the main problem is this:

Problem: The project uses a class library called "testng", but this class library was not found.
Solution: Click Resolve to open the Library Manager and create a new class library called "testng".

Re: Developers/Programmers Needed! Let's create a stopmotion program!

I'm still trying to figure out the problem. I think I need to test if Java and NetBeans is working, but I am have a little trouble doing that.

Re: Developers/Programmers Needed! Let's create a stopmotion program!

I don't know what could be the problem.

Last edited by cwstudios (March 6, 2013 (03:32pm))

Re: Developers/Programmers Needed! Let's create a stopmotion program!

I think I'll just make a library called testing and see what it does.

Re: Developers/Programmers Needed! Let's create a stopmotion program!

Let me know if it works my best conclusion, javac is a command line/terminal command for runnning java projects.

javac: invalid target release: 1.7

So are you using java 1.6 or 1.7?

Re: Developers/Programmers Needed! Let's create a stopmotion program!

I am, from what I can tell, using Java SE 6, but I am not sure whether that means 1.6 or not.

Re: Developers/Programmers Needed! Let's create a stopmotion program!

You can go here to see. I think that is 1.6.

Re: Developers/Programmers Needed! Let's create a stopmotion program!

I'm using Java 1.6 apparently

Re: Developers/Programmers Needed! Let's create a stopmotion program!

Alright all you need to do is recompile using -target=1.6 option when compiling or you could try recreating all the .class files.

Re: Developers/Programmers Needed! Let's create a stopmotion program!

I'm working on copying all the source files (not class files) into a new project right now.

Re: Developers/Programmers Needed! Let's create a stopmotion program!

alright.

Re: Developers/Programmers Needed! Let's create a stopmotion program!

I found a major problem. Each package that starts with "com" does not exist according to NetBeans. I wonder why that is...

Re: Developers/Programmers Needed! Let's create a stopmotion program!

Do you have the javacv jar in the library, all necessary jars are in the lib folder.

In netbeans go to Library in the projects right clicked, then click add jar/folders navigate to the libs folder and add all of them.

0:56

Last edited by cwstudios (March 6, 2013 (04:09pm))

Re: Developers/Programmers Needed! Let's create a stopmotion program!

Ok, the com package is now recognized, but now NetBeans is complaining that the class Pointer(long) is not a public class in com.sun.jna.Pointer. I will look into it some more...

Re: Developers/Programmers Needed! Let's create a stopmotion program!

What file is Pointer(long) being used in.

Last edited by cwstudios (March 6, 2013 (04:25pm))

Re: Developers/Programmers Needed! Let's create a stopmotion program!

edsdk.utils.CanonCamera.java and edsdk.utils.CanonUtils.java

It says class file has bad version. It is 50.0 but it has to be 49.0.

Re: Developers/Programmers Needed! Let's create a stopmotion program!

tenny1028 wrote:

It says class file has bad version. It is 50.0 but it has to be 49.0.

Where did you get that? Not sure what it means.

Re: Developers/Programmers Needed! Let's create a stopmotion program!

It was the output.

/Users/j*****/Desktop/Developer/StopMotionApp/src/edsdk/a/EdSdkLibrary.java:5: cannot access com.sun.jna.Pointer
bad class file: /Users/jasper/Desktop/Developer/StopMotionApp/lib/jnaerator-0.9.5.jar(com/sun/jna/Pointer.class)
class file has wrong version 50.0, should be 49.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
import com.sun.jna.Pointer;
1 error
BUILD FAILED (total time: 5 seconds)

Last edited by jasper (March 7, 2013 (09:57am))

Re: Developers/Programmers Needed! Let's create a stopmotion program!

Alright try going to where netbeans is storing compiled .class files under "/Users/jasper/Desktop/Developer/StopMotionApp/build/classes/" delete everything and rebuild.