Questions tagged [incompatibility]

302 questions
1718
votes
51 answers

How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor version

I am trying to use Notepad++ as my all-in-one tool edit, run, compile, etc. I have JRE installed, and I have setup my path variable to the .../bin directory. When I run my "Hello world" in Notepad++, I get this…
ERJAN
  • 23,696
  • 23
  • 72
  • 146
84
votes
12 answers

Lombok's access to jdk.compiler's internal packages incompatible with Java-16

Simply upgrading one of my projects from Java-15 to 16 (using the latest build here). On compiling the project which uses lombok such as: org.projectlombok lombok
Naman
  • 27,789
  • 26
  • 218
  • 353
43
votes
1 answer

All jupyter contrib nbextensions are marked as possibly incompatible

I have just installed jupyter_contrib_nbextensions by: pip install jupyter_contrib_nbextensions jupyter contrib nbextension install --user When I open a jupyter notebook and navigate to Edit -> nbextensions config, I see the below screen: All…
pgmank
  • 5,303
  • 5
  • 36
  • 52
38
votes
3 answers

visual studio 2012 incompatiblity and editor package not loading correctly?

I used to use vs 2012 for some month without any problem, today when I want to open my c# project , I got this error message: This program has known compatibility issues Visual Studio 2012 Express for Windows Desktop is incompatible with this…
Narges
  • 1,345
  • 6
  • 14
  • 29
31
votes
10 answers

iPhone SDK on Windows (alternative solutions)

I know there is no official SDK for Windows, which is very annoying. Is there any way to develop applications on a Windows computer, other than somehow running a Mac OS in VMware? I know you can do it with Xcode, but that is also only for Mac OS X.…
Cyclone
  • 17,939
  • 45
  • 124
  • 193
21
votes
2 answers

Why should cocos2d-iphone users avoid using the @2x file extension?

Cocos2d-iphone uses the -hd extension for Retina images (and other assets). The cocos2d Retina guide speaks only vaguely of "some incompatibilities" regarding @2x: Apple uses the ”@2x” suffix, but cocos2d doesn't use that extension because of…
CodeSmile
  • 64,284
  • 20
  • 132
  • 217
20
votes
4 answers

Javascript getters/setters in IE?

For whatever reason, Javascript getters/setters for custom objects seem to work with any browser but IE. Does IE have any other non-standard mechanism for this? (As with many other features) If not, are there any workarounds to achieve the same…
OB OB
  • 3,289
  • 6
  • 21
  • 16
17
votes
3 answers

Incompatibility between C and C++ code

The given C code #include int x = 14; size_t check() { struct x {}; return sizeof(x); // which x } int main() { printf("%zu",check()); return 0; } gives 4 as output in C on my 32 bit implementation whereas in C++ the…
Mohit Khullar
  • 245
  • 2
  • 6
15
votes
1 answer

Why source command doesn't work with process substitution in bash 3.2?

I've the following shell script: cat <(echo foo) source <(echo bar=bar) echo $bar However it works differently in GNU bash 3.2 and 4.3 as shown below: $ /bin/bash foo.sh foo 3.2.53(1)-release $ /usr/local/bin/bash foo.sh…
kenorb
  • 155,785
  • 88
  • 678
  • 743
14
votes
7 answers

Java method works in 1.5 but not 1.6

I have an application which has been running happily under Java 1.5 for around a year. We've just had the boxes updated and had Java 1.6 installed. After deploying the app to the new server we've found the application is throwing an exception when…
James Camfield
  • 1,636
  • 3
  • 16
  • 24
13
votes
3 answers

Unsupported class file major version 61

I am trying to integrate Glowroot into my Java application. Unfortunately, I get the following error: 2022-05-13 09:25:57.777 ERROR o.g.a.w.PointcutClassFileTransformer - Unsupported class file major version 61 java.lang.IllegalArgumentException:…
Moritz
  • 307
  • 1
  • 4
  • 10
13
votes
3 answers

Incompatible pointer types sending 'Class' to parameter of type 'id'

I am receiving the warning Incompatible pointer types sending 'Class' to parameter of type 'id' in the line "delegate:self" below: + (SHKActionSheet *)actionSheetForType:(SHKShareType)type { SHKActionSheet *as = [[SHKActionSheet alloc]…
SimplyKiwi
  • 12,376
  • 22
  • 105
  • 191
10
votes
2 answers

How do I achieve sprintf-style formatting for bytes objects in python 3?

I want to do sprintf on python3 but with raw bytes objects, without having to do any manual conversions for the %s to work. So, take a bytes object as a 'template', plus any number of objects of any type and return a rendered bytes object. This is…
parity3
  • 643
  • 9
  • 18
9
votes
2 answers

Implications of Old version of Java.exe (7.1) using new version of runtime(8.x)

We have a situation where our application embeds a JRE. The application, by mistake, ships with a mashup (7.x version of java.exe and 8.x version of the rest of JRE). I can confirm that the process running the v. 1.7 java.exe uses the v. 1.8 java…
anjanb
  • 12,999
  • 18
  • 77
  • 106
9
votes
4 answers

Why are multiple increments/decrements valid in C++ but not in C?

test.(c/cpp) #include int main(int argc, char** argv) { int a = 0, b = 0; printf("a = %d, b = %d\n", a, b); b = (++a)--; printf("a = %d, b = %d\n", a, b); return 0; } If I save the above as a .cpp file, it compiles and outputs…
mkosler
  • 322
  • 2
  • 7
1
2 3
20 21