We need more details. What is the command invoked to "build" the JAR file? Which version of Java do you have on the Linux box? This error normally comes up when you try to compile code containing generics using pre 1.5 source level.
to build the jar file I'm invoking those commands :
javac compute/Compute.java compute/Task.java ( after invoking this the error appears because I used in the code the template <T> )
jar cvf compute.jar compute/*.class
the version .. when I run sudo update-alternatives --config java
it says : java-6-openjdk
Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...