You can use Pointer.nullPointer() method. -Sundar On 18/02/19, 8:09 AM, Giuseppe Barbieri wrote: > Hi, > > I'm looking for a way to convert this: > > (void*)0 > > in Java. > > I tried to allocate a pointer and set its value to 0, but it didnt work > > Any ideas, guys? > > Thanks in advance